This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

如何通过DM365的TVOUT输出PAL信号?



专家,您好!

我想通过DM365的TVOUT输出PAL信号,设置如下:

1、uboot启动参数设置如下:

setenv bootargs console=ttyS0,115200n8 rw mem=54M video=davincifb:vid0=0,768K:vid1=0,768K:osd0=800x480x16,4050K dm365_imp.oper_mode=0 davinci_capture.device_type=5 davinci_enc_mngr.ch0_mode=pal davinci_enc_mngr.ch0_output=COMPOSITE  noinitrd root=/dev/mtdblock3 rw rootfstype=yaffs2 ip=off;

2、在davinci_enc_set_pal.c中设置寄存器:

VENC_VMOD = 0x43;

VENC_CLKCTL = 0x1;

DM3XX_VDAC_CONFIG = 0x081141CC;

VENC_DACSEL= 0x0;

设置完后,启动系统,启动过程中,TV MONITOR的背光亮了,表示有信号从TVOUT出来,用示波器测量,TVOUT输出的信号不是PAL信号,

请问我哪里做设置错了,如何通过TVOUT输出PAL信号?

还有一点,更改decode的显示属性如下:

const Display_Attrs Display_Attrs_DEFAULT = {

.numBufs = 3,

.displayStd = Display_Std_V4L2,

.videoStd = VideoStd_D1_PAL,

.videoOutput = Display_Output_COMPOSITE,

.displayDevice = "/dev/video2",

.rotation = 0,

.colorSpace = ColorSpace_YUV420PSEMI,

.width = -1,

.height = -1,

.delayStreamon = FALSE,//TRUE,

.forceFrameRateNum = 0,

.forceFrameRateDen = 0,

.streamonDisable = FALSE,

};

请问这显示属性是否符合通过PAL方式输出的要求?