Internal I2C single Byte Read

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Internal I2C single Byte Read

1,706 次查看
sarvraj_5
Contributor I

I am trying to communicate with FXLS8962 accelerator with S12ZVL32 starter kit. 

For drivers i am using the InternalI2C with processor expert. 

In order to do operations :

pastedImage_1.png

However I am not able to read WHO AM I register 13. 

The slave address is 18 whrn SA0 = GND. 

As on can see, I send the start, device address with write, receive ACK. then the register to read, THen repeated start and device address with read bit , then i dont receive anything in the I2C bus. 

pastedImage_3.png

标记 (3)
0 项奖励
回复
1 回复

1,504 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

I don't see the clock of the read byte. 

If you disconnect the master from the bus, is the bus hold by the slave low?

Can you share your code? 

Anyway, you can use the attached example, the S12ZVC MCU has the same IICV3 module.

Regards,

Daniel   

0 项奖励
回复