While sending multiple data (repeating bytes 0, 0, 8, 5) over SPI and without MISO connected, the SPDR of an AVR shows sometimes the value 128 in the MCU monitor. I had assumed that SPDR is continously equal to 0.
Source:
https://wiki.mexle.org/_media/spibuffer.zip
Source:
https://wiki.mexle.org/_media/spibuffer.zip
Last edited by arcachofo on Thu Jun 30, 2022 9:43 am; edited 1 time in total (Reason for editing : Mark as solved (green color))