Skip to content
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

Generic ILI9341 not showing nothing after init #303

Open
TonMoshi opened this issue Jun 27, 2023 · 1 comment
Open

Generic ILI9341 not showing nothing after init #303

TonMoshi opened this issue Jun 27, 2023 · 1 comment

Comments

@TonMoshi
Copy link

TonMoshi commented Jun 27, 2023

First thing first, thank you for your work :) This repo has an amazing doc. I'm pretty new with raspberry pi, so if I need to share some other info, please tell me 👍🏼

I'm building a GBA mod with this screen and a Raspberry Pi Zero w and retropie 5.10.

I have used this params:
cmake -DSPI_BUS_CLOCK_DIVISOR=30 -DILI9341=ON -DGPIO_TFT_DATA_CONTROL=25 -DGPIO_TFT_RESET_PIN=10 -DSTATISTICS=2 ..

And this is the result when I execute the drivers:

bcm_host_get_peripheral_address: 0x20000000, bcm_host_get_peripheral_size: 33554432, bcm_host_get_sdram_address: 0x40000000
BCM core speed: current: 400000000hz, max turbo: 400000000hz. SPI CDIV: 30, SPI max frequency: 13333333hz
Allocated DMA channel 7
Allocated DMA channel 1
Enabling DMA channels Tx:7 and Rx:1
DMA hardware register file is at ptr: 0xb4b29000, using DMA TX channel: 7 and DMA RX channel: 1
DMA hardware TX channel register file is at ptr: 0xb4b29700, DMA RX channel register file is at ptr: 0xb4b29100
Resetting DMA channels for use
DMA all set up
Initializing display
Resetting display at reset GPIO pin 10
InitSPI done
Relevant source display area size with overscan cropped away: 720x480.
Source GPU display is 720x480. Output SPI display is 320x240 with a drawable area of 320x240. Applying scaling factor horiz=0.44x & vert=0.44x, xOffset: 0, yOffset: 13, scaledWidth: 320, scaledHeight: 213
Creating dispmanX resource of size 320x213 (aspect ratio=1.502347).
GPU grab rectangle is offset x=0,y=0, size w=320xh=213, aspect ratio=1.502347
All initialized, now running main loop...

screen.mp4

By what I understood reading the doc, the screen pass the init and the first reset, but then it stays blank (Only backlight?)

@FurkanDemirhan
Copy link

FurkanDemirhan commented May 10, 2024

any updates ?
because i am having the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants