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.

CC2541如何同时两个UART工作?

Other Parts Discussed in Thread: CC2541

我们打算的CC2541上UART1挂一个指纹模块,UART0打算用来串口输出调试用,请问TI的工作人员,软件上需要怎么配置?

我目前是这样配置的:

HAL_UART=TRUE
HAL_DMA=TRUE
HAL_UART_DMA=1
HAL_UART_ISR=2

但是会有一个重复定义的警告:
typedef uint8 rxIdx_t;

Warning[Pe301]: typedef name has already been declared (with same type) C:\Texas Instruments\BLE-CC254x-1.4.0\Components\hal\target\CC2540EB\_hal_uart_isr.c 204