Jump to content

Nuha Arina Rafiuddin

Members
  • Posts

    12
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Nuha Arina Rafiuddin got a reaction from XFer012 in fbtft with device tree overlay on mainline   
    Finally I got my lcd (some of them) to work with armbian on mainline kernel (5.4) using device tree overlay. It should be working on 4.19 kernel too.
    I test mine on orange pi zero. The one I am able to get working is ili9341 and st7735 based lcd.
    I'll add more detail later but for now I'd like to get this out.
     
    edit 1 :
    Adding ssd1306 and nokia 5110 overlay to the repo
     
    device tree overlay
  2. Like
    Nuha Arina Rafiuddin got a reaction from XFer012 in fbtft with device tree overlay on mainline   
    Hi @spender, looking at your configuration, I dont see anything obviously wrong, I check your wiring at it seem correct . There is some difference with my setting (like I disable spidev on the dts and not enable spidev on armbienEnv.txt) but I am not sure it is the problem since based on your dmesg, look like the kernel driver still successfully loaded. Unfortunately it seem you have to dig at the hardware level to troubleshoot.
     
    Here is my suggestion , not in particular order :
    - Use older kernel in which fbtft_device still exist (I think 4.19, I am sure there is armbian image with that kernel) to test the lcd. It easier using fbtft_device because you dont need to restart to test it. If you can make it work here great, that mean the wiring actually correct and your lcd work, then its a matter of making the mainline kernel work.
    - Test with logic analyzer, cheap saleae clone and sigrok goes really far. Make sure the signal is actually generated and WITH correct POLARITY.  I found out that I have to reverse the reset signal polarity in the dts by doing this. If correct signal is generated but your lcd doesnt display anything, I am afraid your lcd is toast.
    - Make sure the lcd and driver are in same mode. Ili9341 can work with 8 bit or 9 bit spi, your module might only work with either setting or provide jumper to change the mode. However ili9341 kernel driver only work with 9 bit spi mode, so if you can't make the lcd work in 9 bit mode, I am afraid you cant use it with kernel driver.
  3. Like
    Nuha Arina Rafiuddin got a reaction from Igor in fbtft with device tree overlay on mainline   
    add readme on how to adjust the pin control
  4. Like
    Nuha Arina Rafiuddin got a reaction from Werner in fbtft with device tree overlay on mainline   
    Finally I got my lcd (some of them) to work with armbian on mainline kernel (5.4) using device tree overlay. It should be working on 4.19 kernel too.
    I test mine on orange pi zero. The one I am able to get working is ili9341 and st7735 based lcd.
    I'll add more detail later but for now I'd like to get this out.
     
    edit 1 :
    Adding ssd1306 and nokia 5110 overlay to the repo
     
    device tree overlay
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines