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.

Compiler/CC2541: UART recieve function is crashing the code

Part Number: CC2541


Tool/software: TI C/C++ Compiler

Hi,

I am a newbie, We are working on CC2541 module and taking help from document swrc257 to interface UART with our BLE module.
We are appending our code in keyfobdemo file.

we have initialized our UART in USART0 ALT1 with 9600 baud rate, and defined symbols in code as

HAL_UART=TRUE

HAL_UART_ISR=1
HAL_UART_DMA=2
chip=2541

we got function in that document uart0Receive and added it in our code, but when this function is got called in periodic function we are unable to connect to BLE, if we comment this function call then it's getting connected.

what could be the issue?
KIndly help