Hej!
I am building my project based on CC2430 running Z-satck 1.4.3 inside. It communicates with sensor by UART periodicly. The application template is SerailApp.c.
Now I low the power mode to PM2 and keep sending uart message by timer interrupt. But what happens now is that only message sent out can be tested by oscillograph, the return sensor value can not be received. Or can I say that the uart interrupt is blocked?? Anyway, RX event handling function is never called.
Since the module I use is of version E, while DMA setting in board configuration file of DB is according to Version D, I change DMA on USART2 and define HAL_UART_ISR to TRUE as below:
#if HAL_DMA
#if !defined( HAL_UART_DMA )
#define HAL_UART_DMA 2
#endif
#else
#undef HAL_UART_DMA
#define HAL_UART_DMA 0
#endif
#if !defined( HAL_UART_ISR )
#define HAL_UART_ISR TRUE
#endif
I am not sure whether it is set correctly or what else I need to do??????
Please help me!
Thanks!