i use flexio_i2c_s32k144 demo code to test.
but find the read value is not matched with I2C wave.
What may be the reason? Thanks
Is the master reading only one byte or more?
What is the status returned by the receive function?
Could you please share the project?
If you don't want to post it here, you may create a ticket.
How to submit a new question for NXP Support
Dear Daniel ,
Thanks very much for your reply.
In this code, the master reading only one byte, although the read funtion "mpu6050_read_reg()" can read more byte.
My project attached.
Please help check.
I really confused.
Thanks very much.https://pan.wps.cn/l/s0lcLKzIx [文件] flexio_i2c_test.zip
Sorry for the delay and thanks for the project.
I don't see anything wrong in it though.
I will try to test it with a slave device on my side.
Do you have any update?
I have tested your code with a slave device, I could reproduce the issue at 400kb/s.
It reads correct value at 100kb/s. Could you try decreasing the baud rate as well.
What pull-up resistors are you using?