Hello,
I am facing a problem while trying to operate UART0 Alt2 (Port#1) on CC2541 using a modified version of this serial interface project: http://processors.wiki.ti.com/index.php/SimpleBLEPeripheral_SerialInterface
I am using the following pre-processor defs:
INT_HEAP_LEN=3072
HALNODEBUG
OSAL_CBTIMER_NUM_TASKS=1
HAL_AES_DMA=TRUE
HAL_DMA=TRUE
POWER_SAVING
xPLUS_BROADCASTER
HAL_LCD=FALSE
HAL_LED=FALSE
SERIAL_INTERFACE
HAL_UART
HAL_UART_DMA=3
HAL_UART_ISR=0
HCI_UART_BR=4
HAL_KEY=FALSE
Where "HAL_UART_DMA=3" is a new option I added to select UART0 Alt2, and set Port1 priority to UART0 ahead of UART1 and Timer1.
The problem is that, when I start debugging the code, it gets stuck on the line:
SimpleProfile_SetParameter( SIMPLEPROFILE_CHAR5, SIMPLEPROFILE_CHAR5_LEN, charValue5 );
inside the function: "SimpleBLEPeripheral_Init( taskID );"
While the dis-assembly log gets stuck at: "HalUARTOpen::?relay:"
So I was wondering if there is any interference with the UART DMA process and the SimpleBLE functions.
Any ideas what could be the problem?
Thank you in advance,