cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with 2 bits ABS_POS

JRost
Associate

Hi,

I'm using two L6472 with kinetis processor.

Everything seems to be ok, except for ABS_POS ( absolute position register). When i read value with getparam(abs_pos) 2 bits stay all times at 0 and obviously data are corrupt.

In first time, I think It's my code but i made some tests to check.

I used the command GoTo_DIR (DIR, ABS_POS).

I said to my driver with this command to go to 0xF5F5.

And after that, i made a GetParam(ABS_POS) and i read 0x7575.

I used an oscilloscope to check spi value and same problème, the l6472 answer me 0x7575.

We have 3bytes (abs_pos use 22/24bits) for answer, so with this example we have :

The "question" :

=> XX00 0000 1111 0101 1111 0101

And the anwser :

=> XX00 0000 0111 0101 0111 0101

I found something with other tests, the bit 8 and 16 (P) stay all time at 0.

=> XX00 0000 P111 0101 P111 0101

Any idea ?

Thanks in advance,

Regards Josh.

0 REPLIES 0