I would like to know how to use the USART2 on my board (integrating the STM32L052k8 mcu) to communicate in SPI with an external slave.
Is it possible? How can I do it? Is there an example or a snippet which I can use as starting point?
Finally: my first target is to build a transparent bridge USB - SPI (over the pins PA1 PA2 PA3 PA4). Is there an example or a guideline which I can follow?
Thanks in advance,