login | sign up | forgot password?

LM

Back to questions' list

How to move motor using LM629

by swakit, posted on June 2, 2009

I am using atmega128 lm629-6 and optical encoder without index o/p i have connected control signals of lm629 ie cs ps rd wr etc to portA of mega128 data port is connected to portC m operating lm629 at freq of 1.7MHz till now i could successfully reset lm629 i also could reset its interrupts by RSTI and got status byte as CO hex problem is after this i tried to load filter parameters i got no command error intrrupt then i loaded trajectory neither the motor moved nor could i read back parameters i loaded. in filter i loaded jst Kp=10; in trajectory i loaded velocity n position as 0x346E and 0x1F40 i also took care of loading higher siginificant word as0x0000 in both cases but when i read desired position through RDDP i get all zeros wat can b the error M i making mistake while writin or while reading? ; i checked out status byte at evry point and i learned following things. 1. Load filter coefficient command goes well. 2. While executing LTRJ all goes well but when i execute STT command i get a break point interrupt. 3. Also when i unmasked all interrupts using MSKI command LM629 pulled its HI low permanently n status byte said it was a break point interrupt. (This happens irrespective of execution of LTRJ command) 4. I get PWM as well as SIGN o/p but my motor does not move. I am using LM18200 motor driver. Everything is in stand still. Please help me !! I am waiting...


Please login to reply.

You must log in or register to rate documents!

Forgot your password? click here


close this window