2020-05-27 06:17 AM
1. I am using Stm8s003f3.In it a slave SPI device is connected, which only inputs data, it dont output any data so MOSI is only used.
2. My question is can I use remianing MISO pin as GPIO? since MOSI is used after configuring SPI, will it automatcially configure MISO also?
Or i can use it as independent GPIO?
2020-06-11 02:16 PM
You would need to configure the SPI in "simplex" mode. See 20.3.4 on page 268 in RM0016.