SPI MISO

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hello,

   

I want to read exactly what is on the MISO line right after it is transmitted. What is the method for doing this? For example I send 0x9700 over MOSI and then the MISO that comes back should be 0x0C04. I want to capture this 0x0C04 right when it comes in

0 Likes
1 Solution
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

You have two choices: You can poll for data in the Rx buffer available or you can use a "callback macro" to get informed at the end of a Rx interrupt. Look into Creator Help and into SPIM datasheet for that term.

   

 

   

Bob

View solution in original post

0 Likes
1 Reply
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

You have two choices: You can poll for data in the Rx buffer available or you can use a "callback macro" to get informed at the end of a Rx interrupt. Look into Creator Help and into SPIM datasheet for that term.

   

 

   

Bob

0 Likes