My project configuration is following:
1. HW Module: CC2541
2. BLE SW Stack Version: BLE-CC254x-1.3.2
Project Configuration:
-Power Save Mode, CC2541 wakes up by IO pin (P0_1) when it is pulled low
-UART 9600, No Flow Control, Transfer by DMA
-Defined Symbols listed as follows:
INT_HEAP_LEN=2900
HALNODEBUG
OSAL_CBTIMER_NUM_TASKS=1
HAL_AES_DMA=FALSE
HAL_DMA=TRUE
POWER_SAVING
xPLUS_BROADCASTER
HAL_LCD=FALSE
HAL_LED=TRUE
HAL_UART=TRUE
HAL_UART_DMA=2
xCC2540_MINIDK
DC_DC_P0_7
[Problem Description]
In Power Save mode, the UART communication is not workable. From our oscilloscope, we checked the UART Tx was no any signal. However, if disable Power Save funciton (xPOWER_SAVING), the UART communication (Tx/Rx) is workable.
We has tried to use power management functions, but the testing result was still failed.
(void)osal_pwrmgr_task_state(_uart_int_taskid, PWRMGR_HOLD);
(void)osal_pwrmgr_task_state(_uart_int_taskid, PWRMGR_CONSERVE);
If possible, please give us your experience or any idea about this issue.
Thank you very much.