Using the SDK 2.16 with MCUXpresso V11.10, the master_read_sensor_icm42688p is not working. When run is attempted, in the terminal window, only the following is shown:
I3C master read sensor data example.
I3C master do dynamic address assignment to the sensor slave.
In the i3c_master_read_sensor_icm42688p.c, the line 228 is causing the main() to jump to an infinite loop due to result having the value of 0x1EDE (7902)
if (result != kStatus_Success)
Tracing back up, it would appear the line is the generating the bad value:
result = I3C_WriteSensor(0x7E, 0x06, NULL, 0);
Is there something special that need to be done on the LCPXpresso860MAX board or some special configuration that need to be set within MCUXpresso?
Hi @tinmancp
If you use the LCPXpresso860MAX board,
There is no ICM-42688-P (DNP)on the board.
The schematic shows ICM-42688-P as DNP.
So I3C demo for ICM-42688 not working on LCPXpresso860MAX.
Hope this will help you.
BR
Hang
Fair enough.
It may be a good idea to either update the readme.md or C file stating the ICM42688P needs to be populated for the demo to work. Or better yet, provide a different SKU where the ICM42688P is populated.