S32K3 Padkeeping function during standby mode testing

cancel
Showing results for 
Search instead for 
Did you mean: 

S32K3 Padkeeping function during standby mode testing

100% helpful (1/1)

S32K3 Padkeeping function during standby mode testing

Testing result:

When pad keeping function disabled, If set a GPIO OUT pin high before going to standby mode, this pin will retain high during standby mode. But will reset to floating mode once waking up. Usually, software will call port_init function to reconfigure the pin.

When pad keeping function enabled, If set a GPIO OUT pin high before going to standby mode, this pin will retain high during standby mode. And will retain high after waking up until software disables padkeeping(write DCM_GPR->DCMRWF1[STANDBY_IO_CONFIG]=1) . Then software calls port_init function to reconfigure this pin.

 

Conclusion:

The pad keeping function is used to keep the pad/pin status during startup until the software reconfiguration takes over. It will be useful for some applications which need to put the executor control pin to a constant voltage level as long as possible.

Note:

If you enable padkeeping before going to standby mode(write DCM_GPR->DCMRWF1[STANDBY_IO_CONFIG]=0. Which is the default register value). But you did not disable it after wakeup, the SIUL2 module can not be initialized again. This is tricky since our chip design enabled this padkeeping feature by default. If you don’t need the padkeeping function but the MCU needs to go to standby mode and wakeup, you need to write 1 to this bit anywhere and leave it alone.

For the test code and test results please see the attachment code and PPT.

The project is built by S32DS3.4 and RTD 0.9.0 beta.

Best wishes.

Jeremy

Attachments
Version history
Revision #:
1 of 1
Last update:
2 weeks ago
Updated by: