Hi,
I got a projet that working fine using UART with DMA on a CC2540, when i recieve datas on Rx, a RX_TIMEOUT event occur when the frame is finished, everything is okay and i'm working on the 1.2 stack .
Now i want to port this project on the 1.3 stack trying to make it work similar as in the 1.2 stack, but now rx_timeout events doesn't occur, if i set the HAL_UART_DMA_IDLE to 0, there is rx_timeout events but several times in one frame, and I want it just one time when the frame is finished.
hal_uart_dma are completely different in the two stacks.
Here is some informations about the config.
preprocessor:
INT_HEAP_LEN=3072
HALNODEBUG
OSAL_CBTIMER_NUM_TASKS=1
HAL_AES_DMA=FALSE
HAL_DMA=TRUE
xPLUS_BROADCASTER
HAL_LED=TRUE
HAL_UART=TRUE
HAL_UART_DMA=2
HAL_UART_ISR=0
HAL_KEY
uart_cfg:
my_uart_cfg.baudRate = HAL_UART_BR_9600;
my_uart_cfg.flowControl = HAL_UART_FLOW_OFF;
my_uart_cfg.callBackFunc = sbpSerialPacketParser;
I hope to be clear in my explications. If some one can give me some help.
I apologize for my English.
Thank you.