This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
的确,一个USART模块不能同时工作在UART和SPI模式,同一时间只能工作在其中一种模式。如果楼主同时需要UART和SPI,可以选择有多个USART模块的器件,或者也可以用普通GPIO来仿。