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.

Understanding Wakeup Configuraiton of GPIO

Other Parts Discussed in Thread: DM3730

Hi,

Processor: DM3730

Requirement1:

We are using GPIO_162 as Wakeup GPIO when the system is in suspend.

The configuration of GPIO signal is as CONTROL_PADCONF_MCBSP1_CLKX = 0x0000731c.

Shouldn't we need to configure the GPIO to wake the system either on Falling edge or Rising Edge or on both edges?

How does it know on which edge to wake the system?

Requirement2:

The system shall enter into active state when there is a active high tranistion on GPIO_10 signal.

CTRL PadConf SysClkOut1 set to 0x00004704

In PM_WKEN_WKUP BIT 3,8 and 16 are set to 1.

Please let me know your suggestions.

Thanks for your time.

Regards,

GSR

  • Hi GSR,

    I recommend you to look at the DM37x Technical reference manual chapter 3.5.4 PRCM Idle and Wake-Up Management at:

    http://www.ti.com/lit/ug/sprugn4r/sprugn4r.pdf

    There should be find useful information.

    BR

    Tsvetolin Shulev

  • Hi,

    Thanks for your reply and time.

    As of now we are able to wake up the system using GPIO_162.

    We have the register settings as follows before the system enters into suspend, to wakeup the system from suspend using GPIO_10

    For GPIO Bank1:

    GIO_OE:0xFFFFFFFF
    GIO_RISDET=0x00000400
    GIO_SYSCFG=0x00000005
    GIO_WKEN=0x00000400
    GIO_SETIRQEN1=0x00000400
    IraSts:0x00000010, PM_WKST_WKUP=0x00000000
    pmWkenPer:0x00020000
    CTRL PadConf SysClkOut1=0x00004704 
    PM_MPUGRPSEL_WKUP=0x000003CB
    PM_WKEN_WKUP [3:8:16] = [1:1:1] BIT 3,8 and 16 set to 1.

    In PRM_IRQENABLE_MPU BIT 9 is set.

    Let me know if I miss anything else.

    Regards,

    GSR