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?
2023-12-14 01: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.
2023-12-14 01:40 PM
did you set adress pins ?
2024-01-02 02:47 PM
I had them configured to default and followed the steps outlined in the pseudo code.
2024-01-02 04:07 PM
@sgtaylor The question was, are the address pins A0, A1 set correctly? Not about the configuration register.