Tool/software: TI-RTOS
Hi,
I am confused about register retention in standby mode, please comment on my understanding and test result, Thanks.
From "Table 6-5. Power Modes as Defined in TI-RTOS" from RTM, the "Register retention" is "Partial", and says "See Figure 6-3 for modules with retention."
In "Figure 6-3. Digital Power Partitioning in CC26x0 and CC13x0", UART module is colored in orange which means "Module no retention"
In "6.6.4 Standby Mode", it says "All parts in MCU_VD with retention, as shown in Figure 6-3, are retained in standby mode. All other logic in MCU_VD must be reconfigured after wake up from Standby mode."
Based on above information, i think the UART module should be re-initialized after wake up from standby mode.
But, my test result does not support the claim, below is my test method.
I use uartecho example from SDK, and make below modification in echoFxn function
while (1) {
// UART_read(uart, &input, 1);
// UART_write(uart, &input, 1);
UART_write(uart, echoPrompt, sizeof(echoPrompt));
Task_sleep(200000);
}
System will go to standby mode after calling Task_sleep(), then go back to active after the timeout.
Based on my understanding, the register is not retained in standby mode, and it should be re-initialized to work after wake up from standby
But, in my test, i just call UART_write() without re-initialization, and i still can see the output in TeraTerm