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.

CC2640R2F: 关于CC2640R2DK_4XS SPI的问题,同样的硬件配置,IAR能正确读出正确信息,而CCS却一直陷入了死循环

Part Number: CC2640R2F

使用CCS,版本为V12,新建了文件夹,将官方SDK的导入了工程,创建了串口和SPI硬件驱动文件。单步调试时,串口能输出信息,而SPI却一直在write卡死。错误如下:

当暂停运行时,出现这样的错误:

驱动如下:在IAR中能正常运行,在CCS里面就出现了上述问题。