Jump to content

WDR_s

Members
  • Posts

    21
  • Joined

  • Last visited

Everything posted by WDR_s

  1. I also felt that xinput_calibration didn't change anything. I was configuring it here, because the touch didn't reach the corner of the LCD and it was stable, but now it's shaking too, but now the touch reaches the corner of the screen. So it's probably just the settings, I'll see if I can sort it out.
  2. i installed xfce to test the touch, the touch is stable when dragging the window there is a noise, but i think it's because of the frequency. maybe I can help you.
  3. running directly on the board, the LCD and Touch, in this dts:
  4. LCD and Touch working 😊 All that's left is to calibrate it, but it's working normally. Thank you, robertoj, for helping me so far. Updated DTS
  5. Before trying the touch, I wanted to test something else and it worked. Now connected directly to the orange pi zero 3. The ones above were with dupont wires, but I'm not sure if the touch will work. I had to change the CS, RESET and DC. Before After
  6. LCD working, modifying it to work on the ili9341 drriver, with this DTS. Now it's time to get the touch working too.
  7. I'm making progress with the dts I've modified: I got this image, but I have to modify it a bit more.
  8. Hi, I'm back, now I'm trying once again to connect the screen to the orange pi zero 3. I was looking at this link, panel-mipi-dbi-spi, it doesn't work on the ili9486, but it works on the ili9341, so I would have to modify the ili9486 to the ili9341. I'll try that now . I now have the dupont wires.
  9. Hello Try this one, it might work on your screen.
  10. Did you get it to work?
  11. hi, sorry for the delay in replying, I've been feeling unwell these days. robertoj, I've already checked that the chipset is the same ili9486, because I also thought it was ili9488 but it gave me an error. This is my screen http://www.lcdwiki.com/3.5inch_RPi_Display
  12. I know that, I was just giving an example. it should be like this: <&pio 2 N N>: I'm currently using this one:
  13. Hello. On this screen you need CS, when connected directly to the board, using dupont I'm not sure because I don't have it. The driver will only load if reset and dc are set to 2. At the moment that's all I've found, but it still gives an error when it loads the driver, so I'm trying to solve it.
  14. I used your dts, I just changed the drivers: i knew it wouldn't work, but it starts the driver on your dts.
  15. Every time I change the pins, the driver doesn't load correctly, it always shows me the same driver message. this error is the wrong pins, but I haven't found a way to solve it yet. Do you have any suggestions?
  16. Thanks for asking! I'm using this dts: Come on, even if I change the pins I still get the same thing. And when I change the driver compatibility from “compatible = ‘ilitek,ili9486’;” to “compatible = ‘waveshare,rpi-lcd-35’;”, it shows this:
  17. I changed a few pins and the dts looked like this: the screen still doesn't give an image, but I get this: do i have to add anything to /boot/armbianEnv.txt ? i'm in doubt!
  18. The LCD schematic is this: http://wiki.sunfounder.cc/index.php?title=File:3.5inchdisplay.jpg
  19. I used your DTS and modified the driver and some other things and it looked like this: root@orangepizero3:~/testopiz3# cat ili9486-ads7846-spi1.dts /dts-v1/; /plugin/; / { compatible = "allwinner,sun50i-h616"; fragment@0 { target = <&spi1>; __overlay__ { status = "okay"; cs-gpios = <&pio 7 9 0>,<&pio 2 15 0>; /*PH9=CS0 for lcd, PC15=CS1 for touch*/ ili9486: ili9486@0 { compatible = "ilitek,ili9486"; reg = <0>; pinctrl-names = "default"; spi-max-frequency = <24000000>; rotate = <270>; bgr = <0>; fps = <30>; buswidth = <8>; reset-gpios = <&pio 2 14 1>; /* PC14 */ dc-gpios = <&pio 2 7 0>; /* PHC7 */ debug = <3>; }; ads7846: ads7846@1 { compatible = "ti,ads7846"; reg = <1>; pinctrl-names = "default"; spi-max-frequency = <1000000>; interrupt-parent = <&pio>; interrupts = <2 10 2>; /* PC10 - IRQ */ pendown-gpio = <&pio 2 10 1>; /* PC10 */ /* OPTIONS */ ti,x-min = /bits/ 16 <0>; ti,y-min = /bits/ 16 <0>; ti,x-max = /bits/ 16 <0xFFF>; ti,y-max = /bits/ 16 <0xFFF>; ti,pressure-min = /bits/ 16 <0>; ti,pressure-max = /bits/ 16 <0xFFF>; ti,x-plate-ohms = /bits/ 16 <400>; ti,swap-xy = <1>; }; }; }; the screen didn't turn on and I get this: root@orangepizero3:~/testopiz3# dmesg|grep spi [ 1.336361] sun50i-h616-pinctrl 300b000.pinctrl: pin-64 (5010000.spi) status -517 [ 1.336380] sun6i-spi 5010000.spi: Error applying setting, reverse things back [ 1.336625] sun50i-h616-pinctrl 300b000.pinctrl: pin-230 (5011000.spi) status -517 [ 1.336642] sun6i-spi 5011000.spi: Error applying setting, reverse things back [ 1.344519] sun50i-h616-pinctrl 300b000.pinctrl: pin-64 (5010000.spi) status -517 [ 1.344537] sun6i-spi 5010000.spi: Error applying setting, reverse things back [ 1.344790] sun50i-h616-pinctrl 300b000.pinctrl: pin-230 (5011000.spi) status -517 [ 1.344807] sun6i-spi 5011000.spi: Error applying setting, reverse things back [ 1.353376] spi-nor spi0.0: supply vdd not found, using dummy regulator [ 1.368687] spi-nor spi0.0: spi-nor-generic (16384 Kbytes) [ 5.756110] ads7846 spi1.1: supply vcc not found, using dummy regulator [ 5.774274] ads7846 spi1.1: touchscreen, irq 72 [ 5.778306] [drm] Initialized ili9486 1.0.0 20200118 for spi1.0 on minor 2 [ 5.791888] spi_master spi1: noqueue transfer failed [ 5.791896] ili9486 spi1.0: [drm] *ERROR* Failed to update display -5 [ 5.806250] input: ADS7846 Touchscreen as /devices/platform/soc/5011000.spi/spi_master/spi1/spi1.1/input/input4 [ 6.332084] spi_master spi1: noqueue transfer failed [ 6.341922] spi_master spi1: noqueue transfer failed [ 6.343037] ili9486 spi1.0: [drm] fb0: ili9486drmfb frame buffer device [ 6.376583] SPI driver fb_ili9486 has no spi_device_id for ilitek,ili9486 [ 6.392717] spi_master spi1: noqueue transfer failed [ 6.484766] spi_master spi1: noqueue transfer failed [ 6.496428] spi_master spi1: noqueue transfer failed [ 6.507222] spi_master spi1: noqueue transfer failed [ 6.524186] spi_master spi1: noqueue transfer failed [ 6.583772] spi_master spi1: noqueue transfer failed [ 6.665947] spi_master spi1: noqueue transfer failed [ 6.683600] spi_master spi1: noqueue transfer failed [ 8.071086] spi_master spi1: noqueue transfer failed [ 8.225788] spi_master spi1: noqueue transfer failed [ 8.260765] spi_master spi1: noqueue transfer failed [ 8.423577] spi_master spi1: noqueue transfer failed [ 8.455263] spi_master spi1: noqueue transfer failed [ 8.522713] spi_master spi1: noqueue transfer failed [ 8.564872] spi_master spi1: noqueue transfer failed [ 8.575518] spi_master spi1: noqueue transfer failed [ 9.074598] spi_master spi1: noqueue transfer failed [ 9.084348] spi_master spi1: noqueue transfer failed [ 9.116925] spi_master spi1: noqueue transfer failed [ 9.131941] spi_master spi1: noqueue transfer failed [ 9.144523] spi_master spi1: noqueue transfer failed [ 9.155518] spi_master spi1: noqueue transfer failed [ 9.363656] spi_master spi1: noqueue transfer failed [ 9.378223] spi_master spi1: noqueue transfer failed [ 9.391305] spi_master spi1: noqueue transfer failed [ 9.402360] spi_master spi1: noqueue transfer failed [ 9.536236] spi_master spi1: noqueue transfer failed [ 9.644439] spi_master spi1: noqueue transfer failed [ 10.144929] spi_master spi1: noqueue transfer failed [ 10.268524] spi_master spi1: noqueue transfer failed [ 10.285998] spi_master spi1: noqueue transfer failed [ 10.295763] spi_master spi1: noqueue transfer failed [ 10.610540] spi_master spi1: noqueue transfer failed [ 10.778565] spi_master spi1: noqueue transfer failed [ 11.373986] spi_master spi1: noqueue transfer failed [ 11.536724] spi_master spi1: noqueue transfer failed [ 11.615775] spi_master spi1: noqueue transfer failed [ 11.630380] spi_master spi1: noqueue transfer failed [ 11.641227] spi_master spi1: noqueue transfer failed [ 11.691254] spi_master spi1: noqueue transfer failed [ 11.727754] spi_master spi1: noqueue transfer failed [ 11.738178] spi_master spi1: noqueue transfer failed [ 12.109599] spi_master spi1: noqueue transfer failed [ 12.305293] spi_master spi1: noqueue transfer failed [ 12.664486] spi_master spi1: noqueue transfer failed [ 12.674529] spi_master spi1: noqueue transfer failed [ 13.020004] spi_master spi1: noqueue transfer failed [ 13.032088] spi_master spi1: noqueue transfer failed [ 13.042854] spi_master spi1: noqueue transfer failed [ 13.074828] spi_master spi1: noqueue transfer failed [ 13.203632] spi_master spi1: noqueue transfer failed [ 13.315447] spi_master spi1: noqueue transfer failed [ 57.093748] spi_master spi1: noqueue transfer failed
  20. I have this screen here ili9486 : https://pt.aliexpress.com/item/32805704334.html?src=google&pdp_npi=4%40dis!BRL!43.31!38.51!!!!!%40!12000019014148570!ppc!!!&src=google&albch=shopping&acnt=768-202-3196&isdl=y&slnk=&plac=&mtctp=&albbt=Google_7_shopping&aff_platform=google&aff_short_key=UneMJZVf&gclsrc=aw.ds&&albagn=888888&&ds_e_adid=&ds_e_matchtype=&ds_e_device=c&ds_e_network=x&ds_e_product_group_id=&ds_e_product_id=pt32805704334&ds_e_product_merchant_id=107713925&ds_e_product_country=BR&ds_e_product_language=pt&ds_e_product_channel=online&ds_e_product_store_id=&ds_url_v=2&albcp=21106536414&albag=&isSmbAutoCall=false&needSmbHouyi=false&gad_source=1&gclid=EAIaIQobChMI14GV5um3iQMVK2BIAB0KwQPmEAYYASABEgJc4fD_BwE I would like to know if i can connect to my orange pi zero 3 I have already tried to connect but without success, as I am new to this I would like you to help me if possible. Thanks! Sorry for my English I'm on google.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines