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 simplelink_cc2640r2_sdk_3_20_00_21 添加串口uart 没有反应

Other Parts Discussed in Thread: CC2640

基于最新的协议栈sdk_3_20_00_21,添加串口的功能,

C:\ti\simplelink_cc2640r2_sdk_3_20_00_21\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral

添加代码

NPITLUART_initializeTransport(uart_rxbuf, uart_txbuf, npi_uart_cb);

sprintf(uart_txbuf, "NPITLUART_initialize");
NPITLUART_writeTransport(strlen(uart_txbuf));

添加宏

NPI_USE_UART
BOARD_DISPLAY_USE_UART=0
BOARD_DISPLAY_USE_UART_ANSI=0
xPOWER_SAVING

串口一点反应都没有,

程序是可以正常运行的,还需要修改什么?