Hi,
I have a question about configuration of GPIO120,121,126,127 on DM3730. According to DM37xx documentation I have to configure PBIAS cells before using those GPIOs. I am doing the following configuration steps:
1. HW setup
VDDS_X voltage rail is powered to 1V8, VDDS_MMC1 voltage rail is powered to 1V8
2. SW configuration (pseudocode)
I am configuring PBIAS0 cell for GPIO120,121:
CONTROL.CONTROL_PBIAS_LITE &= ~PBIASLITEPWRDNZ0;
CONTROL.CONTROL_PBIAS_LITE &= ~PBIASLITEVMODE0;
msleep(100);
CONTROL.CONTROL_PBIAS_LITE |= PBIASLITEPWRDNZ0;
Then I am doing similar configuration for PBIAS1 cell. It it almost the same: there is just one additional step for GPIO_IO_PWRDNZ bit in CONTROL_WKUP_CTRL register:
CONTROL.CONTROL_WKUP_CTRL &= ~GPIO_IO_PWRDNZ;
CONTROL.CONTROL_PBIAS_LITE &= ~PBIASLITEPWRDNZ1;
CONTROL.CONTROL_PBIAS_LITE &= ~PBIASLITEVMODE1;
msleep(100);
CONTROL.CONTROL_WKUP_CTRL |= GPIO_IO_PWRDNZ;
CONTROL.CONTROL_PBIAS_LITE |= PBIASLITEPWRDNZ1;
As a result I have working GPIO120,121, but I don't get any output on GPIO126,127.
Do I miss something ?
Thanks,
Sergey