Jump to content

IStar

Members
  • Posts

    10
  • Joined

  • Last visited

Everything posted by IStar

  1. Hi How I can enable driver for ads7846 in MUX3 mode while booting? Try many times - change bin and another files, but no successfully
  2. 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.
  3. Try use it but no success:( Can you explain step by step what I must do for use it?
  4. For now - armbian is best OS for Orange Pi Plus 2. I try connect touchscreen Waveshare 5" LCD Ver.2 trough GPIO but no success:( If it possible, please, add driver for ADS7843 Touchscreen in next patch. Sorry, cant do it himself:(
  5. You can get any resolution trough edit script.bin. Must decode it to script.fex then edit and then coded it back to script.bin. I can got any resolutions but still cant enable touchscreen on it If you know how enable touchscreen - help me please!
  6. thx, a lot info for programmers, but not for preparing system
  7. I want do it trough changing orangepiplus.fex in [gpio_para] gpio_used = 1 gpio_num = 19 gpio_pin_1 = port:PA06<1><default><default><0> gpio_pin_2 = port:PA13<1><default><default><0>.... and then back to *.bin
  8. 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!!!!
  9. Someone can help me with detail instruction: how I can enable touchscreen trough gpio on OrangePi Plus 2. Screen setup to 800x480 but cant enable touch, because I am beginner.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines