This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:iot-open:embeddedcommunicationprotocols2:spi [2023/11/21 23:37] – pczekalski | en:iot-open:embeddedcommunicationprotocols2:spi [2024/05/27 10:16] (current) – [QSPI] ktokarz | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== SPI ====== | ====== SPI ====== | ||
+ | {{: | ||
One of the most popular interfaces to connect different external devices is SPI (Serial Peripheral Interface). It is a synchronous serial interface and protocol that can transmit data with speeds up to 20 Mbps. SPI is used to communicate microcontrollers with one or more peripheral devices over short distances – usually internally in the device. High transmission speed enables SPI to be suitable even for sending animated video data to colourful displays. In SPI connection, there is always one master device, in most cases the microcontroller (μC) that controls the transmission, | One of the most popular interfaces to connect different external devices is SPI (Serial Peripheral Interface). It is a synchronous serial interface and protocol that can transmit data with speeds up to 20 Mbps. SPI is used to communicate microcontrollers with one or more peripheral devices over short distances – usually internally in the device. High transmission speed enables SPI to be suitable even for sending animated video data to colourful displays. In SPI connection, there is always one master device, in most cases the microcontroller (μC) that controls the transmission, | ||
<table RefTabSPI1> | <table RefTabSPI1> | ||
Line 12: | Line 13: | ||
Every SPI-compatible device has the SS (Slave Select) input that enables communication in this specific device. Master is responsible for generating this enable signal – separately for every slave in the system, as present in figure {{ref> | Every SPI-compatible device has the SS (Slave Select) input that enables communication in this specific device. Master is responsible for generating this enable signal – separately for every slave in the system, as present in figure {{ref> | ||
<figure RefSPIPic1> | <figure RefSPIPic1> | ||
- | {{ : | + | {{ : |
< | < | ||
</ | </ | ||
Line 36: | Line 37: | ||
<figure RefSPIPic2> | <figure RefSPIPic2> | ||
- | {{ : | + | {{ : |
< | < | ||
</ | </ | ||
Line 44: | Line 45: | ||
<figure RefSPIPic3> | <figure RefSPIPic3> | ||
- | {{ : | + | {{ : |
< | < | ||
</ | </ | ||