谢谢大神,毕业设计要用到adxl345与5509a的mcbsp进行spi通信,但是小弟不才,不知道怎么写,有没有人能否提供一段代码参考下?或者是将mcbsp2配置成spi模式的程序也行!!!万分感谢
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.
谢谢大神,毕业设计要用到adxl345与5509a的mcbsp进行spi通信,但是小弟不才,不知道怎么写,有没有人能否提供一段代码参考下?或者是将mcbsp2配置成spi模式的程序也行!!!万分感谢
哥们,有没有配置过MCBSP2的spi模式啊,有这个程序也行,我研究下
McBSP文档里有配成SPI模式时,需要配哪些寄存器位,按照那个表配就可以了。
Table 6−3. Bit Values Required to Configure the McBSP as an SPI Master
Table 6−4. Bit Values Required to Configure the McBSP as an SPI Slave
http://www.ti.com/lit/ug/spru592e/spru592e.pdf