Jump to content

IStar

Members
  • Posts

    10
  • Joined

  • Last visited

Posts posted by IStar

  1. 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 you help me with it:
    Monitor got interface

     

    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 = port:PC00<3><default><default><default>
    spi_miso = port:PC01<3><default><default><default>
    spi_sclk = port:PC02<3><default><default><default>
    spi_cs0 = port:PA21<1><1><default><default>

    [spi1]
    spi_used = 0
    spi_cs_bitmap = 1
    spi_cs0 = port:PA13<2><1><default><default>
    spi_sclk = port:PA14<2><default><default><default>
    spi_mosi = port:PA15<2><default><default><default>
    spi_miso = port:PA16<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 = port:PA00<2><1><default><default>
    uart_rx = port:PA01<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.
     

  2. Hi XWalter!

    I got Orange Pi Plus 2 and Waveshare 5inch LCD. I found how I can chnge resolution to 800x480 but I still cant enable touchscreen:( I wiil be glad if you can help me with it! I see that you are profi with GPIO. OS:armbian

    Interface LCD:

     

    PIN NO.

    SYMBOL

    DESCRIPTION

    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

     

    now when I ask - ls /sys/class/gpio_sw/ I got:

    PA1   PA13   PA2   PA3   PA7   PA9   PC7   PG6   PG8

    PA10 PA13   PA21 PA6   PA8   PC4   PD14 PG7   PG9

     

    Please help me!!!!

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines