2019-07-24 08:01 PM
I connected a particle photon micro controller to STM32F0 discovery board using SPI bus. The photon acts as the master and STM32 acts as the slave. I understand how to code on the STM32 directly though IDE to use ADC but how to do this by sending data with commands using SPI bus?
I would really appreciate it if someone can give me a simple example on how to control other pins on STM32F0 using SPI.