cancel
Showing results for 
Search instead for 
Did you mean: 

ADS1219 not responding to I2C

sgtaylor
Associate

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?

 

4 REPLIES 4
Pavel A.
Evangelist III

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.

 

AScha.3
Chief

did you set adress pins ?

AScha3_0-1702589987843.png

 

If you feel a post has answered your question, please click "Accept as Solution".

sgtaylor_0-1704235534897.png

sgtaylor_1-1704235668397.png

 

I had them configured to default and followed the steps outlined in the pseudo code.

Pavel A.
Evangelist III

@sgtaylor The question was, are the address pins A0, A1 set correctly? Not about the configuration register.