Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

SPI frame format

$
0
0

I have 16 bits of data . I have to send it to slave device . First i have to select slave signal and pull clock line low to start transmission . After that depending upon mode bit will transferred ouit and received on master . MY doubt is SPI send only 8 bit data after sending 8 bit data do we need to pull SSEL line high and then low or we can send any number of data continously?

In slave mode, if the
SS line is not deasserted between the successive transmissions then the content of the
SPI Data Register is not transmitted, instead the last received byte is transmitted. If the
SS line is
deasserted for at least minimum idle time ( half SCK cycle)  between successive transmissions then the
content of the SPI Data Register is transmitted.
In master mode, with slave select output enabled the
SS line is always deasserted and reasserted between
successive transfers for at least minimum idle time.

Bolded part was found in SPI motorola spec . So if i have to send 16 bits of data i have to deassert  (pull SS to high then to low?) then transfer another 8 bits?


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>