XT32037 LCD - matianfu/survivor GitHub Wiki

Signals

SIGNAL      LCD     BB         MPU
BL_CTRL     n/a     P9_12      1_28
LCD_RST     8       P8_3       1_6
LCD_CSX     37      P8_4       1_7
LCD_DCX     34      P8_5       1_2
LCD_SCL     33      P8_6       1_3
LCD_SDI     36      P8_11      1_13
LCD_SDO     35      P8_12      1_12

GPIO

Backlight

First, implement BL_CTRL in beaglebone gpioLEDBlink project. Add function GPIO1Pin28PinMuxSetup() in include/armv7a/am335x/beaglebone.h as well as platform/beaglebone/gpio.c

Then add code along with original LED push high/low.

LCD 4-line SPI

implement GPIO1Pin(x)PinMuxSetup in gpio.c x=6,7,2,3,13,12

add all function def into beaglebone.h.

dont forget to rebuild platform.lib