SPI0是主模式情况。查询4000页手册得知,spi0_d0默认配置为MISO,spi0_d1默认配置为MOSI。我的板子刚好和默认配置画反了,我想交换一下。
请问我该怎么修改寄存器配置或程序来实现这两个引脚的功能互换。
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.
SPI0是主模式情况。查询4000页手册得知,spi0_d0默认配置为MISO,spi0_d1默认配置为MOSI。我的板子刚好和默认配置画反了,我想交换一下。
请问我该怎么修改寄存器配置或程序来实现这两个引脚的功能互换。
这个pin脚的功能是可以互换的。
请查下 MCSPI_CH0CONF
以及control module中的 conf_spi0_d0等寄存器