Internal I2C single Byte Read

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Internal I2C single Byte Read

1,259 Views
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

0 Kudos
Reply
1 Reply

1,057 Views
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 Kudos
Reply