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.

TDA4VH-Q1: How to using the WAKEUP Domain GPIO?

Part Number: TDA4VH-Q1

Hi Ti

I want to setting the GPIO0_35 to output low in MCU2_0, I have tried to add some GPIO code, but it was not working.

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/utils/board/src/j784s4/board_j784s4_evm.c b/utils/board/src/j784s4/board_j784s4_evm.c
old mode 100644
new mode 100755
index a6f846d..aac5374
--- a/utils/board/src/j784s4/board_j784s4_evm.c
+++ b/utils/board/src/j784s4/board_j784s4_evm.c
@@ -47,6 +47,9 @@
#include <ti/drv/enet/enet.h>
#include <ti/drv/enet/examples/utils/include/enet_apputils.h>
+#include <ti/drv/gpio/GPIO.h>
+#include <ti/drv/gpio/soc/GPIO_soc.h>
+
#include <ti/board/board.h>
#include <ti/board/src/j784s4_evm/include/board_cfg.h>
#include <ti/board/src/j784s4_evm/include/board_pinmux.h>
@@ -170,6 +173,29 @@ static EthFwBoard_Obj gEthFwBoard;
extern pinmuxBoardCfg_t gEthFwPinmuxData[];
+/* GPIO Driver board specific pin configuration structure */
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX