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.

TDA4VM: How to set the GPIO level to high in vision_apps

Part Number: TDA4VM

Dear TI,

I would like to set the "PIN_PRG1_PRU0_GPO6(AD22)"  level to high.

"PIN_PRG1_PRU0_GPO6(AD22)"  will be used for Camera PDB pin in custom board.

So I changed the "vision_apps/utils/misc/src/app_pinmux.c" as below:

diff --git a/vision_apps/utils/misc/src/app_pinmux.c b/vision_apps/utils/misc/src/app_pinmux.c
index 94c723c..65ba783 100755
--- a/vision_apps/utils/misc/src/app_pinmux.c
+++ b/vision_apps/utils/misc/src/app_pinmux.c
@@ -238,6 +238,13 @@ static pinmuxPerCfg_t gVout0PinCfg[] =
((PIN_PULL_DISABLE) & (~PIN_PULL_DIRECTION & ~PIN_INPUT_ENABLE))
},

+
+ /* MyVOUT1 -> J7_CAM_PDB1 -> AD22 */
+ {
+ PIN_PRG1_PRU0_GPO6, PIN_MODE(7) | \
+ ((PIN_PULL_DISABLE) & (~PIN_PULL_DIRECTION & ~PIN_INPUT_ENABLE))
+ },
+
{PINMUX_END}
};

But the "PIN_PRG1_PRU0_GPO6(AD22)" level is low still.

Could you let me know how to set the default gpio level to high in vision_apps?

Best Regards,

Jaewook