Skip to main content
Associate
Dec 14, 2023 8:50 PM UTC
Question

ADS1219 not responding to I2C

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?

 

This topic has been closed for replies.

4 replies

Pavel A.
Dec 14, 2023 9:33 PM UTC

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
Super User
Dec 14, 2023 9:40 PM UTC

did you set adress pins ?

AScha3_0-1702589987843.png

 

If you feel a post has answered your question, please click on " Best Answer ".
sgtaylorAuthor
Associate
Jan 2, 2024 10:47 PM UTC

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.
Jan 3, 2024 12:07 AM UTC

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