Skip to content

Commit c49c5a4

Browse files
OUNAVCONmysterywolf
authored andcommitted
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.
1 parent e61d05c commit c49c5a4

File tree

1 file changed

+13
-0
lines changed
  • bsp/imxrt/imxrt1060-nxp-evk/board

1 file changed

+13
-0
lines changed

bsp/imxrt/imxrt1060-nxp-evk/board/board.c

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,9 @@ static void imxrt_lcd_pins_init(void)
449449
IOMUXC_SetPinMux(
450450
IOMUXC_GPIO_AD_B0_02_GPIO1_IO02, /* GPIO_AD_B0_02 is configured as GPIO1_IO02 */
451451
0U); /* Software Input On Field: Input Path is determined by functionality */
452+
IOMUXC_SetPinMux(
453+
IOMUXC_GPIO_AD_B0_11_GPIO1_IO11, /* GPIO_AD_B0_11 is configured as GPIO1_IO11 */
454+
0U); /* Software Input On Field: Input Path is determined by functionality */
452455
IOMUXC_SetPinMux(
453456
IOMUXC_GPIO_B1_15_GPIO2_IO31, /* GPIO_B1_15 is configured as GPIO2_IO31 */
454457
0U); /* Software Input On Field: Input Path is determined by functionality */
@@ -522,6 +525,16 @@ static void imxrt_lcd_pins_init(void)
522525
Pull / Keep Select Field: Keeper
523526
Pull Up / Down Config. Field: 100K Ohm Pull Down
524527
Hyst. Enable Field: Hysteresis Disabled */
528+
IOMUXC_SetPinConfig(
529+
IOMUXC_GPIO_AD_B0_11_GPIO1_IO11, /* GPIO_AD_B0_11 PAD functional properties : */
530+
0x10B0u); /* Slew Rate Field: Slow Slew Rate
531+
Drive Strength Field: R0/6
532+
Speed Field: medium(100MHz)
533+
Open Drain Enable Field: Open Drain Disabled
534+
Pull / Keep Enable Field: Pull/Keeper Enabled
535+
Pull / Keep Select Field: Keeper
536+
Pull Up / Down Config. Field: 100K Ohm Pull Down
537+
Hyst. Enable Field: Hysteresis Disabled */
525538
IOMUXC_SetPinConfig(
526539
IOMUXC_GPIO_B1_15_GPIO2_IO31, /* GPIO_B1_15 PAD functional properties : */
527540
0x10B0u); /* Slew Rate Field: Slow Slew Rate

0 commit comments

Comments
 (0)