cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F103C8T6 enables SPI1, but does not use MISO pin (PA6), can this pin reuse other functions? For

112233
Associate II

STM32F103C8T6 enables SPI1, but does not use MISO pin (PA6), can this pin reuse other functions? For example, timer function.

5 REPLIES 5
STTwo-32
ST Employee

Hello @112233 

If you are using the SPI1 without MISO (PA6) (in Half-Duplex Master), you can configure the PA6 on any of the modes mentioned on the screenshot:

STTwo32_0-1711103101926.png

Best regards.

STTwo-32

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

The PWM output of the timer channel is reused. After SPI is enabled, the PWM output is not displayed.

Hello,How to configure CR register?

What I suggest you is to generate your project using CubeMX (peripherals and pinout initialization and configurations). Then, do the codding part. 

Best Regards.

STTwo-32 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

It still doesn't work. Is it a BUG inside the chip?