Other Parts Discussed in Thread: SYSCONFIG, CC3220SF
Hello,
I am attempting to park a pin high during LPDS mode, but it is not working. I have filled in the park structure for that pin as follows:
PowerCC32XX_ParkInfo parkInfo[] = { ... {PowerCC32XX_PIN18, PowerCC32XX_DRIVE_HIGH}, /* GPIO28 */ ... };
The power configuration is as follows:
const PowerCC32XX_ConfigV1 PowerCC32XX_config = { .policyInitFxn = &PowerCC32XX_initPolicy, .policyFxn = &PowerCC32XX_sleepPolicy, .enterLPDSHookFxn = NULL, .resumeLPDSHookFxn = NULL, .enablePolicy = false, .enableGPIOWakeupLPDS = true, .enableGPIOWakeupShutdown = true, .enableNetworkWakeupLPDS = true, .wakeupGPIOSourceLPDS = PRCM_LPDS_GPIO24, .wakeupGPIOTypeLPDS = PRCM_LPDS_RISE_EDGE, .wakeupGPIOFxnLPDS = NULL, .wakeupGPIOFxnLPDSArg = 0, .wakeupGPIOSourceShutdown = PRCM_HIB_GPIO13, .wakeupGPIOTypeShutdown = PRCM_HIB_RISE_EDGE, .ramRetentionMaskLPDS = PRCM_SRAM_COL_1 | PRCM_SRAM_COL_2 | PRCM_SRAM_COL_3 | PRCM_SRAM_COL_4, .keepDebugActiveDuringLPDS = false, .ioRetentionShutdown = PRCM_IO_RET_GRP_1 | PRCM_IO_RET_GRP_0, .pinParkDefs = parkInfo, .numPins = sizeof(parkInfo) / sizeof(PowerCC32XX_ParkInfo) };
We are going to LPDS, but I can see that GPIO 28 is NOT staying high.
I'm able to step into the parkPins() function, but the debugger disconnects before I can verify that we're actually getting to the call to MAP_PinLockLevelSet that sets it high.
Are there any secret tricks besides setting the above structures that I could be missing?
Thanks,
Katie