hjdev
Posts: 1
Joined: Fri Jan 12, 2018 1:26 pm

Color incorrect problems with rpi zero with DPI display

Fri Jan 12, 2018 1:34 pm

Hello, I've got probelms with pi zero with DPI display.
Please forget underscan problem.
All lines are connected correctly.

The problem is:
The Pi logo on top-left on screen shows invalid color of pi logo.

I ussed TM035KDH03 display.
http://datasheet.octopart.com/TM035KDH0 ... 047836.pdf

And here is my config.txt:

Code: Select all

# not sure dtoverlay
dtoverlay=dpi24

# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
overscan_left=100
overscan_right=-100
overscan_top=0
overscan_bottom=0

framebuffer_width=320
framebuffer_height=240

dtparam=spi=off
dtparam=i2c_arm=off


enable_dpi_lcd=1

dpi_group=2
dpi_mode=87

display_default_lcd=1

dpi_output_format=57367
KakaoTalk_Photo_2018-01-12-22-28-13_97.jpeg
KakaoTalk_Photo_2018-01-12-22-28-13_97.jpeg (128.79 KiB) Viewed 328 times
KakaoTalk_Photo_2018-01-12-22-28-15_14.jpeg
KakaoTalk_Photo_2018-01-12-22-28-15_14.jpeg (137.42 KiB) Viewed 328 times
Thanks for your help. :D

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5947
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: Color incorrect problems with rpi zero with DPI display

Fri Jan 12, 2018 3:36 pm

Based on your colour bars gif thumbnail, normally they are:
grey, yellow, cyan, green, magenta, red, blue.
whereas you've got blue then red at the right hand end.
For a first test, try setting dpi_output_format to 57383 which is changing the rgb order from DPI_RGB_ORDER_RGB to DPI_RGB_ORDER_BGR (see https://www.raspberrypi.org/documentati ... /README.md).
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
Please don't send PMs asking for support - use the forum.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

Return to “Interfacing (DSI, CSI, I2C, etc.)”