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.
CC3200的串口波特率怎么设置?
使用官方提供的库函数就可以了。
MAP_UARTConfigSetExpClk( UARTA0_BASE,MAP_PRCMPeripheralClockGet(PRCM_UARTA0), 115200, (UART_CONFIG_WLEN_8 | UART_CONFIG_STOP_ONE | UART_CONFIG_PAR_NONE));
参照uart_demo例子中的InitTerm()函数,里面的参数UART_BAUD_RATE宏就是定义波特率的,默认定义是115200.