Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/28/05 14:18
Read: times


 
#88622 - interfacing with LM628
Hello,

This is the first time , I am posting a message .

I am using LM628 with an 8051 device and been following all the instructions provided in the LM628 user's guide.

The very first problem I would like to share is .
1) After giving hardware reset , we have to check for 0xC4 as status byte.
and then we have to give RSTI command ,
chkbusy,
send 0x00
send 0x00
chkbusy


after sending the above code , the guide ask us to check for 0xC0 or 0x80, if we dont get 0xC0 or 0x80 we have to repeat the above procedure all again.


I repeated the whole thing for almost 4 hours.
I always used to get 0x00 instead of 0xC0 or 0x80.

I find 0x00 logical because After sending RSTI command i am sending 0x00,0x00 which resetting all int.


if I continue like this i am even able to read the encoder counts from LM628.

The real problem now is when ever I give STT command I always get an trajectory complete command immediately . even if the encoder doesnot change position.

If any body among you people have successfully used LM628 , then I think i may get out of this problem . I am continiously trying from last one week day in day out.

I hope somebody will help me with some suggestions

waiting eagerly for early reply

Regards
K.Ganesh


No replies in thread

Back to Subject List