Other Parts Discussed in Thread: CC2540
Champs,
When using the CC2540, can I use the USB ports and the 2 UART ports for HAL simultaneously?
Looking at the hardware diagram, Figure 1.2, in the TI document, SWRU191E, (January 2014) the CC253x/CC254x User’s Guide, it appears there are no issues. However, there is a definition HAL_UART_PORT_MAX, which is set to 2, in hal_uart.h and you can only define HAL_UART_PORT_0 and HAL_UART_PORT_1 in hal_uart.h. Does the HAL layer only allow the use of up to 2 ports?
If I cannot use the USB port and 2 UART ports simultaneously, can I use USB and one UART port?
If so how would I set the following constants (used by the HAL layer)...
#define HAL_UART_DMA ??
#define HAL_UART_ISR ??
#define HAL_UART_USB ??
Finally, does the USB port make use of the DMA engine?
Thanks!