TLE5012B trouble with data

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User16416
Level 1
Level 1
Hallo,

I'm trying out the TLE5012B. My problem is, every time I make a 360° turn I get values between 0 an 16383 (0x3FFF). Normaly I should get values from +16383 to -16383.
The MOD-2 - AND_RANGE is 0x080. The bit-14 is every time 0, so I get never a negetiv number.
Does anyone have an idea what the mistake is?
0 Likes
3 Replies
User270
Level 5
Level 5
5 solutions authored First solution authored
You may consult the manual section "6.1.3 Signed registers and Two’s complement" where it is explained how to interpret the 15bit ANG_VAL register value and calculate the angle. By the way, which interface setting you are using, SPC or SSC?
0 Likes
User16416
Level 1
Level 1
I'm using the SSC interface. The problem is, that the Bit (b_MSB) for a negative number always zero is. Normally i would expect a negative number in a range from -180° to 0°. But I get from the range from 0° to 359.9° an ANG_VAL from 0 to 0x3FFF.
0 Likes
User270
Level 5
Level 5
5 solutions authored First solution authored
How about Interface Mode2 Register, are you using autocalibration? Asking this as activated autocalibration forces 360° angle range regardless of ANG_RANGE setting. Refer to page 88/89 of the manual.
0 Likes