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 da...