iMX6SX: VADC: force video standard

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

iMX6SX: VADC: force video standard

807 次查看
JohnDoe1z
Contributor III

Hi,

I'm using the integrated video-adc of the iMX6 SoloX. In both U-Boot and Linux Kernel the VADC performs an auto-detection of the video-standard (PAL/NTSC). I would like to have that pre-configured to save time and to handle weak/noisy signals better. How can I do that? I checked the documentation and found the "Manual Override (VDEC_MANOVR)" register, but the documentation is very minimalistic. I guess the "pal_override" and "pal_manual" flags are supposed to do that but I don't fully understand how. Unfortunately both UBoot and linux-kernel don't use this register at all so there is also no way to look it up.

Long story short: how do I force the VADC to use PAL or NTSC?

Thanks.

标签 (3)
1 回复

504 次查看
davidtrinh
Contributor II

Hi,

I did not try this yet, but if you look at the vadc driver, it has a dev_init function. This function initializes almost every parameters for the block to work. If you don't want it to automatically sense the signal format/mode, then you can disable those codes and force the module to work in you desired mode with appropriate parameters for that mode. Not try yet but must be working, I guess.

Good luck.

0 项奖励
回复