Quantcast
Viewing all articles
Browse latest Browse all 4895

Graphics, sound and multimedia • Re: Raspberry Pi5 and VGA666

Is RGB565 (mode 4) working/available in Pi5? I'm testing with a proto hardware and custom DPI bridge using MEDIA_BUS_FMT_RGB565_1X24_CPADHI and the picture is basically green.
The hardware can certainly do it, but I'll need to check what the overlay and driver are doing...
One problem is that Linux provides no good way to distinguish modes 3 and 4 -- there's no "media bus format" corresponding to mode 4.
EDIT: Hmm, it looks like a driver bug. It's selecting the pinout for mode 3 but the bit mapping for mode 4. That won't work with either.

A possible workaround for now is to use "mode 6" (RGB666_1X24_CPADHI). But that will assign 2 extra pins (GPIO4,20).

(BTW a general announcement: please avoid "mode 5" (RGB666_1x18) in new designs, as its effective colour depth is limited to RGB444.)

Statistics: Posted by njh — Mon Apr 29, 2024 9:32 am



Viewing all articles
Browse latest Browse all 4895

Trending Articles