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.
Tool/software:
Hi Team,
I using LAUNCHXL-CC3235S EVK to test PRCMIORetentionEnable function.
My test code as below:
void mainThread(void *pvParameters) { GPIO_init(); InitTerm(); int sysIdleCount = 5; while (0 != sysIdleCount) { sysIdleCount--; Sleep(1000); } PRINTF("Prepare ENTERING_SHUTDOWN\n\r"); GPIO_write(CONFIG_PIN08, 1); GPIO_write(CONFIG_PIN64, 1); GPIO_write(CONFIG_PIN50, 1); PRCMIORetentionEnable(PRCM_IO_RET_GRP_0); Power_NotifyObj hibSignal; Power_registerNotify(&hibSignal, PowerCC32XX_ENTERING_SHUTDOWN, preHibConfig, (uintptr_t)NULL); Power_shutdown(0, 10000); }
The PIN50 always low level in the hibernate mode, but PIN64 and PIN08 it can be retention high level.
In CC3235S datasheet define the PIN50 should be contrl Hi-Z, Pull, Drive.
How can I config PIN50 to keep high level in the hibernate mode?
Thank you in advance.