... | ... | @@ -16,7 +16,8 @@ Those GPIOs are: |
|
|
- **MISO**: communication from slave to master (Master Input Slave Output)
|
|
|
- **MOSI**: communication master to slave (Master Output Slave Input)
|
|
|
|
|
|
> :warning: **The SPI is a _syncronous bus_: while the master is writing to `MOSI`, the slave is writing to `MISO`.**
|
|
|
> :warning: **The SPI is a _synchronous bus_: while the master is writing to `MOSI`, the slave is writing to `MISO`.**
|
|
|
> 
|
|
|
|
|
|
Consider that the GPIOs associated to the SPI bus (`SPI1` in this example) can vary according to the microcontroller you are using. For the STM32F407VG, the needed GPIOs are
|
|
|
`PA5`, `PA6` and `PA7`.
|
... | ... | |