Internal I2C single Byte Read

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Internal I2C single Byte Read

1,280件の閲覧回数
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,078件の閲覧回数
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 件の賞賛
返信