HOW TO TRANSFER MULTIPLE BYTES BETWEEN TWO 1769 MCUs USING SPI PROTOCOL

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

HOW TO TRANSFER MULTIPLE BYTES BETWEEN TWO 1769 MCUs USING SPI PROTOCOL

1,195 Views
abhinavdubey
Contributor II

Hi,

 

I've established SPI communication between two 1769 MCUs, I send one char and slave sends back some other character. Now I want to transmit multiple bytes, when I send two characters or more at a time, at slave side I received random characters some times garbage values received, when I defined an array of chars and send it no character received at slave side.

 

SPI setting

clock at 500Khz

data bit 16

 

what would be the issue??? 

Labels (1)
Tags (3)
0 Kudos
2 Replies

855 Views
soledad
NXP Employee
NXP Employee

Hello,

Please find the answers in the following thread: Trasfering 100 bytes of data through SPI between two 1769 MCUs


Have a great day,
Sol

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

855 Views
abhinavdubey
Contributor II

Hi,

thanks for your suggestion, but I'm the same person who asked both the question and my transfer 100 bytes question is not resolved yet, when I sent multiple byte as I explained in that question, I get garbage, random sequences. pls let me know how it could be done.

thanks

Abhinav

0 Kudos