cancel
Showing results for 
Search instead for 
Did you mean: 

How to control on board ADC with SPI bus (STM32F051)

PNood
Associate

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.

0 REPLIES 0