I'm developing on a STM32L073-Nucleo64 board with a STM32L073RZT6 on it.
For my purpose i need to use the SPI driver. The problem is that i need to use the following pins setup:
- PA1 = Chip Select
PA2 = MOSI
PA3 = MISO
PA4 = Serial Clock
I noticed that these pins can be used with the following setup:
- PA2 = USART2_TX
PA3 = USART2_RX
PA4 = USART2_CK
There is any example or any tips for understand, if it's possible, what i should do for use the SPI over the USART ?