ADS1219 not responding to I2C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-14 12:50 PM
ADS1219 Data Sheet
Hello, I am attempting to communicate with TI's ADS1219 via I2C from a STM32WL55JCI, I know the I2C works becuase I can use the same line to write/read from a FRAM chip. Unfortunately, the ADS1219 communication always results in a HAL_FAIL status.
No matter if I send a reset command
HAL_I2C_Master_Transmit(&hi2c2, 0x80, 0x06, 2, 10);
Or if I probe the device.
HAL_I2C_IsDeviceReady(&hi2c2, 0x08, 10, 20)
Can anyone offer any insight?
- Labels:
-
STM32WL series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-14 1:33 PM
If HAL_I2C_IsDeviceReady fails, most probably you have not guessed the device address (0x08? 0x80?) or the parameters of I2C initialization are not suitable for the device. Try the standard "fast" mode 400 KHz. Use a logic or scope to see the signals.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-14 1:40 PM
did you set adress pins ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-01-02 2:47 PM
I had them configured to default and followed the steps outlined in the pseudo code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-01-02 4:07 PM
@sgtaylor The question was, are the address pins A0, A1 set correctly? Not about the configuration register.
