Hey Thank you for all the help you are providing !Last comment from me on that topic here:
1. Follow the steps described here viewtopic.php?p=2165638&hilit=4in.bin#p2165638
2. make sure you've changed your config.txt accordingly
3. make sure your display is attached as per your config.txt pin assignment
Without you showing what you have prepared, what is in your config.txt this is just useless effort!don't have a display so can't test the binary. Simply used what's there in the file I've stated, followed the process described in the link posted --> Pi comes up with a screen size of 320x172Code:
Screen 0: minimum 16 x 16, current 320 x 172, maximum 32767 x 32767XWAYLAND0 connected 320x172+0+0 (0x23) normal (normal left inverted right x axis y axis) 33mm x 18mmIdentifier: 0x21Timestamp: 136183Subpixel: unknownGamma: 1.0:1.0:1.0Brightness: 0.0Clones: CRTC: 0CRTCs: 0Transform: 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 filter: RANDR Emulation: 1 non-desktop: 0 supported: 0, 1 320x172 (0x23) 4.250MHz -HSync +VSync *current +preferred h: width 320 start 336 end 360 total 400 skew 0 clock 10.62KHz v: height 172 start 175 end 185 total 188 clock 56.52Hz
1in47.pngCode:
pi@Pi5-4-SN530:~ $ dmesg | grep mipi[ 2.463668] panel-mipi-dbi-spi spi0.0: supply power not found, using dummy regulator[ 2.463751] panel-mipi-dbi-spi spi0.0: supply io not found, using dummy regulator[ 2.464946] [drm] Initialized panel-mipi-dbi 1.0.0 20220103 for spi0.0 on minor 2[ 2.951063] panel-mipi-dbi-spi spi0.0: [drm] fb0: panel-mipi-dbid frame buffer devicepi@Pi5-4-SN530:~ $
This is my config.txt
Code:
# For more options and information see# http://rptl.io/configtxt# Some settings may impact device functionality. See link above for details# Uncomment some or all of these to enable the optional hardware interfaces#dtparam=i2c_arm=off#dtparam=i2s=ondtparam=spi=on# Enable audio (loads snd_bcm2835)dtparam=audio=on# Additional overlays and parameters are documented# /boot/firmware/overlays/README# Automatically load overlays for detected camerascamera_auto_detect=1# Automatically load overlays for detected DSI displaysdisplay_auto_detect=1# Automatically load initramfs files, if foundauto_initramfs=1# Enable DRM VC4 V3D driverdtoverlay=vc4-kms-v3dmax_framebuffers=2# Don't have the firmware create an initial video= setting in cmdline.txt.# Use the kernel's default instead.disable_fw_kms_setup=1# Run in 64-bit modearm_64bit=1# Disable compensation for displays with overscandisable_overscan=1# Run as fast as firmware / board allowsarm_boost=1dtoverlay=mipi-dbi-spi,speed=40000000dtparam=compatible=1inch47v3\0panel-mipi-dbi-spidtparam=write-only,cpha,cpoldtparam=width=172,height=320,width-mm=17,height-mm=32dtparam=reset-gpio=27,dc-gpio=22,backlight-gpio=12dtparam=backlight-pwm[cm4]# Enable host mode on the 2711 built-in XHCI USB controller.# This line should be removed if the legacy DWC2 controller is required# (e.g. for USB device mode) or if USB support is not required.otg_mode=1[cm5]dtoverlay=dwc2,dr_mode=host[all]
Code:
# 1.47in.txtcommand 0x11delay 120command 0x3A 0x05command 0xB2 0x0c 0x0c 0x00 0x33 0x33command 0xB7 0x35command 0xBB 0x35command 0xC0 0x2Ccommand 0xC2 0x01command 0xC3 0x13command 0xC4 0x20command 0xC6 0x0Fcommand 0xD0 0xA4 0xA1command 0xD6 0xA1command 0xE0 0xF0 0x00 0x04 0x04 0x04 0x05 0x29 0x33 0x3E 0x38 0x12 0x12 0x28 0x30command 0xE1 0xF0 0x07 0x0A 0x0D 0x0B 0x07 0x28 0x33 0x3E 0x36 0x14 0x14 0x29 0x32command 0x21 command 0x11delay 120command 0x29delay 100
Thank You once again.
Statistics: Posted by dostmalone — Fri Aug 02, 2024 3:23 pm