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

Adafruit STMPE610 + ILI9341 on Raspberry Pi 1 B gives no changes. #305

Open
Rowan-Bird opened this issue Jul 24, 2023 · 0 comments
Open

Comments

@Rowan-Bird
Copy link

As soon as the Pi is booted up, the display takes on a white colour. After starting the driver from the command line, nothing changes.
pi@raspberrypi:~/fbcp-ili9341/build $ sudo ./fbcp-ili9341 bcm_host_get_peripheral_address: 0x20000000, bcm_host_get_peripheral_size: 33554432, bcm_host_get_sdram_address: 0x40000000 BCM core speed: current: 250000000hz, max turbo: 250000000hz. SPI CDIV: 4, SPI max frequency: 62500000hz Allocated DMA channel 7 Allocated DMA channel 1 Enabling DMA channels Tx:7 and Rx:1 DMA hardware register file is at ptr: 0xb4ab7000, using DMA TX channel: 7 and DMA RX channel: 1 DMA hardware TX channel register file is at ptr: 0xb4ab7700, DMA RX channel register file is at ptr: 0xb4ab7100 Resetting DMA channels for use DMA all set up Initializing display InitSPI done Relevant source display area size with overscan cropped away: 640x480. Source GPU display is 640x480. Output SPI display is 320x240 with a drawable area of 320x240. Applying scaling factor horiz=0.50x & vert=0.50x, xOffset: 0, yOffset: 0, scaledWidth: 320, scaledHeight: 240 Creating dispmanX resource of size 320x240 (aspect ratio=1.333333). GPU grab rectangle is offset x=0,y=0, size w=320xh=240, aspect ratio=1.333333 All initialized, now running main loop...
Above is the command output that I get when starting the driver.
Here's my CMake command line
cmake -DSPI_BUS_CLOCK_DIVISOR=6 -DADAFRUIT_ILI9341_PITFT=ON -DSINGLE_CORE_BOARD=ON ..

Thank you

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

1 participant