-
Notifications
You must be signed in to change notification settings - Fork 268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Screen only works with -DUSE_DMA_TRANSFERS=OFF
#125
Comments
Running into the same issue on Pi Zero w https://learn.adafruit.com/2-0-inch-320-x-240-color-ips-tft-display |
I didn't dig too far, but I noticed with the Pi Zero & Zero W, |
I also using pizero and nope doesn't work if ALL_TASKS_SHOULD_DMA enabled. |
That 'fixed' my problem but did it actually turn it off? |
Line 116 in 7c4a05a
IIRC, it seemed like some of the code that Edit: this is the hand-written optimized asm I'm referring to: Line 400 in 7c4a05a
It seems the |
Setup
/boot/config.txt
Build Command
When compiling with DMA transfers OFF the screen works great for about 30 seconds, then, very suddently, it suddenly turns into static.
When compiling with the option turned on, there's just a black screen (the backlight is on though). There are no errors from running
sudo ./fbcp-ili9341
I've tried playing around with RX and TX channels, but I'm not really sure what those are, so I tried different numbers for both. Always had the black screen. I've also played around with clock divisor testing numbers from 8 to 50 all with exactly the same results in both cases above.
The text was updated successfully, but these errors were encountered: