|
Got Orange Pi Plus 2 and LCD 5"monitor Waveshare.
Use armbian OS 5.14 on Debian Jessie 3.4.112.
All good with 800x480 resolution, but still cant use touchscreen.
Will be happy if someone help me with it:
Monitor got interface
Interface LCD
1, 17 3.3V Power positive (3.3V power input)
2, 4 5V Power positive (5V power input)
3, 5, 7, 8, 10, 11, 12, 13, 15, 16, 18, 24 NC NC
6, 9, 14, 20, 25 GND Ground
19 TP_SI SPI data input of Touch Panel
21 TP_SO SPI data output of Touch Panel
22 TP_IRQ Touch Panel interrupt, low level while the Touch Panel detects touching
23 TP_SCK SPI clock of Touch Panel
26 TP_CS Touch Panel chip selection, low active
Connect it to
PIN LCD PIN OpiPlus2
1 1
17 17
2 2
4 4
6 6
9 9
14 14
20 20
25 25
19 19
21 21
22 22
23 23
26 26
Make next changes to script.bin:
[spi0]
spi_used = 1
spi_cs_bitmap = 1
spi_mosi = portC00<3><default><default><default>
spi_miso = portC01<3><default><default><default>
spi_sclk = portC02<3><default><default><default>
spi_cs0 = portA21<1><1><default><default>
[spi1]
spi_used = 0
spi_cs_bitmap = 1
spi_cs0 = portA13<2><1><default><default>
spi_sclk = portA14<2><default><default><default>
spi_mosi = portA15<2><default><default><default>
spi_miso = portA16<2><default><default><default>
[spi_devices]
spi_dev_num = 1
[spi_board0]
modalias = "ads7846"
max_speed_hz = 1500000
bus_num = 0
chip_select = 0
mode = 0
full_duplex = 1
manual_cs = 0
[uart2]
uart_used = 0
uart_port = 2
uart_type = 4
uart_tx = portA00<2><1><default><default>
uart_rx = portA01<2><1><default><default>
uart_rts = port:PA02<2><1><default><default>
uart_cts = port:PA03<2><1><default><default>
BUT TOUCHSCREEN STILL DONT WORK !!!
Please help me.
|
|