Hi...
I am using RT685 to interact with my IMU device in I3C. I see there is an example in this link and is able to use it now. https://community.nxp.com/t5/i-MX-RT/NXP-MIMXRT685-EVK-i-MX-RT600-SDK-2-8-2-control-ST-LSMDSOX-by/m-...
However, I am looking for IBI support and ENTDAA process, which the example project doesn't have it. Could you provide example for me? Thanks.
Hello,
Unfortunately, there is no more code for it. Sorry for the inconvenience may cause.
Have a nice day.
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-----------------------------------------------------------------------------
Hi...
Could you consider assigning resource for this matter? It is an important feature of my project and could be same for NXP as new example project.
Thanks.
Hi Daniel,
No I didn't get support from NXP.
Here is my own implementation for your reference, works on my IMU, not sure if works on LSM. You may also want to cross reference AN12796 from this link.
Hi Hichen,
thanks for your well working code.
I have a question though: i have tried to "cancel" the IBI reception in the loop (e.g. because no IBI came and I want to do something different). Seems however like once kI3C_RequestAutoIbi in MCTRL, there is no way to do something else on the bus than receiving an IBI.
Have you maybe tried/experienced the same?
Cheers, David
Thanks for your reply hichen,
well what is the IMU that you are using?( i am using LSM6DSOX)
and have you encountered getting mandatory bytes while reading data?
could you please instruct me the programming sequence or algorithm for getting data using IBI ?
I am not using NXP board , i am working with other FPGA board that has i3c driver.
So a common logic for performing IBI operation is required.
i have the data sheet of lsm6dsox , and in the BCR register, bit [ 2 ]is set to 1 hence it will send the mandatory byte, the datasheet doesn't tells about mandatory data, got to know through i3c specification.
Thanks