Hi
I resume the mimxrt685audevk_i3c_bus_master_read_icm42688p from SDK- RT685AUD on the RT685.
but failed to initialize ICM-42688.
result = ICM42688P_Init(&icmp42688p_handle, &sensorConfig);
Could you shre some demo of I3C?
已解决! 转到解答。
Hi @melanie ,
地址待会我私信你。
因为我们现在讨论的很多东西不便在公众论坛,我建议你到官网建一个case,这样我们可以一对一邮件形式去讨论比较好,最后问题解决了,方案贴这个帖子就可以了。
你到这个链接:
https://www.nxp.com/support/support:SUPPORTHOME
create a ticket.
然后问题简单描述下,内容里面写@kerry zhou
case号在这个帖子也告诉我下。
Best Regards,
Kerry
Hi @kerryzhou
thanks for you reply
Now I use MIMXRT685-EVK board and ICM-42688.
Master( MIMXRT685-EVK) can assign dynamic address successsfully.
the code is written with reference to AN12796, not use I3Cdemo from directly.
I want use some codes related with ICM42688 from the demo. but ICM42688 is initialized failed.
you need to check the code used pins, whether it matches your board
which pins are cheked?is the master connected to the sensor pins?
I think I am right. becasue I can read who_am_i of ICM-42688.
Could you give me more ideas?
Hi @melanie ,
mimxrt685-aud-evk sdk contains the :master_read_sensor_icm42688p, which can do the 42688 operation directly.
Do you use that demo, from your description, you use your own demo.
I think you can use the RT685aud demo directly, just need to do the modification, eg, xip FCB, copy it with the EVK sdk, then you can check, whether the pin is the same as the EVK in the code, I mean, I3C, in my memory, it is the same.
So, please tell me your used code detail situation.
If you are convenient, you even can share your project.
Please also share your printf log.
I think, it's better to use the RT685AUD SDK code directly.
Now, your icm42688 is externally connected? Can you also share the hardware connection photo?
Best Regards,
Kerry
Hi @kerryzhou ,
I use demo master_read_sensor_icm42688p from mimxrt685-aud-evk sdk first.
but the master can't assign dynamic address successfully.
from the above pictures, we can find the code fail when the code runs to the position of the red circle.
I use the logic analyzer to capture the timing sequence.
sorry I can't share hardware connection photo, but I think it is right. VDDIO=VDD=1.8v
Hi @melanie ,
Which I3C pin you are using in the EVK? I will try the EVK to connect the AUD-EVK sensor.
Will give you updated information after I finished the testing.
Best Regards,
Kerry