MIMXRT685-EVK_How to generate the repeated start via "i3c_master_transfer_t".

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

MIMXRT685-EVK_How to generate the repeated start via "i3c_master_transfer_t".

Jump to solution
4,247 Views
Jin_Tien
Contributor II

Hi everyone,

I have captured an I3C waveform as below picture:

IMG_5280.JPG

The byte reading in this waveform as below:

Start, 0x7E (address, Write), [Repeated Start Bit], 0x31, .... , Stop

 

And I wish to reproduce the below I3C waveform via function "i3c_master_transfer_t". 

The function I wrote as below: 

Jin_Tien_0-1679901583211.png

However, the [Repeated Start Bit] is not appeared in this waveform:

IMG_5282.JPG

In this case, I have a question wish to have brainstorm with you:

Can I add a [Repeated Start Bit] between "Slave address bit" and "Sub Address bit"?

0 Kudos
Reply
1 Solution
3,748 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hello @Jin_Tien ,

  Thanks for your updated information.

  To your new questions, could you please help to create the new case, then we can spend more time for the testing.

  Normally, Write is used for write the code, Read, just sendout the clock, then the data is from slave side.

So, your read following data, should not from Write master side, should from slave.

  If you think it still from the master, please help to create the new case, and let me know, and also attach your test code.

Best Regards,

kerry

View solution in original post

0 Kudos
Reply
21 Replies
3,749 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hello @Jin_Tien ,

  Thanks for your updated information.

  To your new questions, could you please help to create the new case, then we can spend more time for the testing.

  Normally, Write is used for write the code, Read, just sendout the clock, then the data is from slave side.

So, your read following data, should not from Write master side, should from slave.

  If you think it still from the master, please help to create the new case, and let me know, and also attach your test code.

Best Regards,

kerry

0 Kudos
Reply