juj / fbcp-ili9341

A blazing fast display driver for SPI-based LCD displays for Raspberry Pi A, B, 2, 3, 4 and Zero
MIT License
1.59k stars 265 forks source link

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

Open Rowan-Bird opened 1 year ago

Rowan-Bird commented 1 year ago

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