summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsaac Rose <[email protected]>2022-08-07 23:22:36 -0400
committerMan, Jianting (Meco) <[email protected]>2022-08-08 01:30:39 -0400
commitc49c5a4d06598325015954623ff495dd7a4c56c9 (patch)
tree50d54517337f781609a5efe0c39218c671a04fef
parente61d05ca1a9e6b8a83c928ab1f893246629bbd2f (diff)
Added LCD Touch Int pin to ioconfig. During testing GT911 would not come out of reset because INT pin could not be driven low or high.
-rw-r--r--bsp/imxrt/imxrt1060-nxp-evk/board/board.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/bsp/imxrt/imxrt1060-nxp-evk/board/board.c b/bsp/imxrt/imxrt1060-nxp-evk/board/board.c
index 59eb64e3e7..2b0e6ee7a5 100644
--- a/bsp/imxrt/imxrt1060-nxp-evk/board/board.c
+++ b/bsp/imxrt/imxrt1060-nxp-evk/board/board.c
@@ -450,6 +450,9 @@ static void imxrt_lcd_pins_init(void)
IOMUXC_GPIO_AD_B0_02_GPIO1_IO02, /* GPIO_AD_B0_02 is configured as GPIO1_IO02 */
0U); /* Software Input On Field: Input Path is determined by functionality */
IOMUXC_SetPinMux(
+ IOMUXC_GPIO_AD_B0_11_GPIO1_IO11, /* GPIO_AD_B0_11 is configured as GPIO1_IO11 */
+ 0U); /* Software Input On Field: Input Path is determined by functionality */
+ IOMUXC_SetPinMux(
IOMUXC_GPIO_B1_15_GPIO2_IO31, /* GPIO_B1_15 is configured as GPIO2_IO31 */
0U); /* Software Input On Field: Input Path is determined by functionality */
IOMUXC_SetPinMux(
@@ -523,6 +526,16 @@ static void imxrt_lcd_pins_init(void)
Pull Up / Down Config. Field: 100K Ohm Pull Down
Hyst. Enable Field: Hysteresis Disabled */
IOMUXC_SetPinConfig(
+ IOMUXC_GPIO_AD_B0_11_GPIO1_IO11, /* GPIO_AD_B0_11 PAD functional properties : */
+ 0x10B0u); /* Slew Rate Field: Slow Slew Rate
+ Drive Strength Field: R0/6
+ Speed Field: medium(100MHz)
+ Open Drain Enable Field: Open Drain Disabled
+ Pull / Keep Enable Field: Pull/Keeper Enabled
+ Pull / Keep Select Field: Keeper
+ Pull Up / Down Config. Field: 100K Ohm Pull Down
+ Hyst. Enable Field: Hysteresis Disabled */
+ IOMUXC_SetPinConfig(
IOMUXC_GPIO_B1_15_GPIO2_IO31, /* GPIO_B1_15 PAD functional properties : */
0x10B0u); /* Slew Rate Field: Slow Slew Rate
Drive Strength Field: R0/6