How to count reading data bytes with I3C_MasterTransferBlocking

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

How to count reading data bytes with I3C_MasterTransferBlocking

589 Views
Bruce_Teng
Contributor II

Hello
I use function "I3C_MasterTransferBlocking" to read data, but I want to know the number of bytes.

Besides, my MCU is mcxn236.

Thanks.

Labels (1)
Tags (1)
0 Kudos
Reply
1 Reply

568 Views
Harry_Zhang
NXP Employee
NXP Employee

Hi @Bruce_Teng 

I think  you can refer to frdmmcxn236_i3c_polling_b2b_transfer_master SDK demo.

If you want to read data, you need to pass the number of bytes to the parameter of the function I3C_MasterTransferBlocking.

Harry_Zhang_0-1767868510522.png

BR

Harry

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2290109%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHow%20to%20count%20reading%20data%20bytes%20with%20I3C_MasterTransferBlocking%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2290109%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%3CBR%20%2F%3EI%20use%20function%20%22I3C_MasterTransferBlocking%22%20to%20read%20data%2C%20but%20I%20want%20to%20know%20the%20number%20of%20bytes.%3C%2FP%3E%3CP%3EBesides%2C%20my%26nbsp%3BMCU%20is%20mcxn236.%3C%2FP%3E%3CP%3EThanks.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2290109%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EMCXN%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2290197%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20How%20to%20count%20reading%20data%20bytes%20with%20I3C_MasterTransferBlocking%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2290197%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F256544%22%20target%3D%22_blank%22%3E%40Bruce_Teng%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20think%26nbsp%3B%20you%20can%20refer%20to%26nbsp%3Bfrdmmcxn236_i3c_polling_b2b_transfer_master%20SDK%20demo.%3C%2FP%3E%0A%3CP%3EIf%20you%20want%20to%20read%20data%2C%20you%20need%20to%20pass%20the%20number%20of%20bytes%20to%20the%20parameter%20of%20the%20function%26nbsp%3BI3C_MasterTransferBlocking.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Harry_Zhang_0-1767868510522.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Harry_Zhang_0-1767868510522.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F372161iD40C8C2F60B85446%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Harry_Zhang_0-1767868510522.png%22%20alt%3D%22Harry_Zhang_0-1767868510522.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3EHarry%3C%2FP%3E%3C%2FLINGO-BODY%3E