Part Number: ADS131A02
Other Parts Discussed in Thread: ADS131A04
Hi TI support team,
I'm working with ADS131A02 and have some problems:
For your information: M0,M1, and M2 are set to 1. (I'm working with 32bits format).
1) After reset, I get the ready word 0xFF02 after several interrupts. Why not after the first one ?
Note that I read 4 bytes each time and get 0xFF|Ox02|0x00|0xBA. I don't know what [ 0x0 | 0xBA ] means.
2) After that, I send NULL (on 4 bytes, with LSB set to 0), and I get 0xFF|0x02|0x00|0xBA. What does that mean ?
See page 50 in datasheet, it is explained that I need to get "Status response, and channel data (???)" during the transfer.
It also happens with 2 bytes format read/write ( then I get only 0xFF|0x02 of course).
3) After that I send UNLOCK command on 4 bytes (0x06|0x55|0x00|0x00) and I get the same thing (0xFF|Ox02|0x00|0xBA).
I should see "ACK(STAT_1)". What does ACK(STAT_1) mean ? Why I don't get it ?
4) Immediately after that I send a read register command on reg 0x0D like:
uint8_t w_byte[4] = {0};
uint8_t r_byte[4] = {0};
w_byte[0] = 0x20;
w_byte[0] |= address;
w_byte[1] = 0;//0; /* number of register minus 1 */
_ads_write_bytes(w_byte, r_byte, 4, 0 /*stay_active*/, 1 /*is_blocking*/);
but I get again: 0xFF|0x02|0x00|0xBA. (according to page 51 in the datasheet I should get the UNLOCK acknoledge ....)
During all of those operations the interrupts dont stop to fire, I don't understand why.
Please help.
Thanks.