AnsweredAssumed Answered

IIC read/write component ADS1015 issue

Question asked by XW QI on Apr 17, 2019
Latest reply on Apr 19, 2019 by Alina Banica

At first, I should let you know chip is S32K144, and it's a master. ADS1015 is slave address.  Slave address is 0x4A.

 

I send four bytes to the IIC bus, first byte is slave address, second is register pointer. third and fourth are the parameters about the register in ADS. 

But I use oscilloscope to get the wave form.it only send slave addr. Please see the following picture.

 

I find it receive the ACK signal. But In the default ISR, it shows that receive NACK.

 

But it can execute write operation. See the following picture.

 

The function I use is LPI2C_DRV_MasterSendData();

 

Can you give me some suggestions for this issue?

Thanks for your support firstly.

Best regards,

Xiaowei.

 

Outcomes