Software SPI
Hello friends,
I need to connect thirdparty accelerometer SENSOR to STM32F4 series MCU via SPI.
The Sensor Data sheet says:
1) Designed to support any MCU that used software implemented SPI. It is not designed to support any particular hardware implemented SPI.
2) MISO: data bits are shifted out on falling edge of SCK
3) MOSI: each bit is sampled on the rising edge of SCK.
4) Sensor supports full duplex communication
___________________________________________________________________
Please suggest how to implement. Can I use SPI peripheral of MCU? If yes, I am not sure about what should be CPHA for CPOL = 0.
I need full duplex communication.
