cancel
Showing results for 
Search instead for 
Did you mean: 

Stm8s003f3 Pin as SPI MOSI and use MISO as GPIO

vindhyachal
Associate II

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?

1 REPLY 1
RKong.1
Associate II

You would need to configure the SPI in "simplex" mode. See 20.3.4 on page 268 in RM0016.