Black Lives Matter - Action and Equality.
0

Receive bytes over SPI on Arduino based system
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Receive bytes over SPI on Arduino based system

by akki0075 on Thu May 21, 2020 2:11 pm

Hi,

I am developing a code to receive pixels from a thermal sensor over SPI communication. But i have a question..Can we receive multiple bytes over SPI at a same time like if i want to receive 500-1000 bytes at a same time or it has to be one byte at a time using SPI.transfer(val)??
I know I can run a loop until i receive all the bytes one at a time. but that is really a slow approach. Instead it would be a lot better if i can just receive multiple bytes at a same time. If there is any approach, please do let me know.

Thanks a lot!!

akki0075
 
Posts: 31
Joined: Fri Jan 17, 2020 6:51 pm

Please be positive and constructive with your questions and comments.