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.

DM368 SPI SPIPC2寄存器MOSI MISO电平设置问题



如题,在使用spi接口时,无数据传输状态下,想把MOSI MISO设置为高电平,但SPIPC2寄存器设置不成功,文档中描述写1可以使相应的管脚状态为1,但是寄存默认值是0xFC,想设置为0xefc或0xe03,但是设置后读取出来为0x2fd,文档中的描述也很简单。时钟设置为高电平,这个在SPIFMT中设置成功,CS也正常。请大家帮忙分析下如何解决。谢谢。