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.
网上关于SPI的FIFO例程很多,但基本型却很少。谁有基本配置型SPI例程?
例程请下载安装controlSUITE,有两个SPI的简单例程,路径是:
C:\ti\controlSUITE\device_support\f2806x\v136\F2806x_examples_ccsv5
首先谢谢您的回答!
电脑中安装有controlSUITE,正如您所说,C:\ti\controlSUITE\device_support\f2806x\v136\F2806x_examples_ccsv5中有两个简单例程:一个是“Both interrupts and the SPI FIFOs are used”,另一个则是“Interrupts are not used”。
我的需求是:包含中断的非FIFO型SPI程序,该怎么改? 除了修改初始化配置函数void spi_fifo_init(),例程中的中断函数__interrupt void spiTxFifoIsr(void)和__interrupt void spiRxFifoIsr(void)怎么改?