Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8013

Compute Module • Re: Need Help: CM5 Lacks Composite Video Pin for Drone Project

$
0
0
Composite over GPIO: I just tested it on a Raspberry Pi 5 and it does work. It should work on CM5 too.
First, you need to make the driver change I mentioned above, to set the VIDEO_OUT_CFG_SEL_PAD_MUX flag in rp1_vec_cfg.c.
Then enable composite output, e.g. with:

Code:

dtoverlay=vc4-kms-v3d,composite
and configure the GPIO pins for DPI using Device Tree; or for a quick test, remotely log in and type:

Code:

pinctrl set 4-11 a1
My rough-and-ready test circuit, which will win no prizes for image quality or EMC, was:

Code:

GPIO11 ----[ 330R ]----+                       |GPIO10 ----[ 680R ]----+                       +------> VideoGPIO9  ----[ 1.2K ]----+                       |      (75R load)GPIO8  ----[ 2.2K ]----+GND --------------------------> GND

Statistics: Posted by njh — Thu Jul 24, 2025 3:00 pm



Viewing all articles
Browse latest Browse all 8013

Trending Articles