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.

CC2630使用TIMAC(CC2650)的例子,SPI、UART通信出现问题

SPI

更改

1、Board.h:修改引脚(其他未修改)

2、board.c:修改BoardGpioInitTable【】

3、添加头文件:SPI.h

4、首先在main()函数中添加代码’

SPI_Handle handle;
SPI_Params params;
SPI_Transaction spiTransaction;
SPI_Params_init(&params);
params.bitRate = someNewBitRate;
handle = SPI_open(someSPI_configIndexValue, &params);
SPI_Transaction spiTransaction;
spiTransaction.count = someIntegerValue;
spiTransaction.txBuf = transmitBufferPointer;
spiTransaction.rxBuf = receiveBufferPointer;
SPI_transfer(handle, &spiTransaction);
我的问题是,SPI和UDMA相关的寄存器修改不了,出现错误