AnsweredAssumed Answered

Cube MX configures MISO and MOSI as outputs in SPI Full Duplex Master

Question asked by ihouses ihouses on Feb 26, 2018
Latest reply on Feb 26, 2018 by waclawek.jan

I am using an STM32L031K6 and I configure SP1 as Full Duplex Master, I expect that MOSI is an output and MISO an input but Cube MX configures SPI1_MISO as a Alternate Function Push Pull and can not be changed.

 

If I short MISO and MOSI of course doesn't work because both are outputs.

 

Why is it like that?

 

 

Thanks.

Outcomes