Skip to main content
vindhyachal
Associate III
Question

Stm8s003f3 Pin as SPI MOSI and use MISO as GPIO

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?

    This topic has been closed for replies.

    1 reply

    RKong.1
    Associate

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