Jan 24, 2019
01:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 24, 2019
01:25 AM
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?
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?
3 Replies
Jan 25, 2019
01:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 25, 2019
01:57 AM
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?
Jan 25, 2019
03:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 25, 2019
03:00 AM
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.
Jan 28, 2019
11:40 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 28, 2019
11:40 PM
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.