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.

TVP5146的驱动问题

Other Parts Discussed in Thread: TVP5146

用DM365来配置5146,在linux下找到了驱动TVP514x.c文件,但是

/* tvp514x_setinput:
 * Function to set the input
 */

input_sel = tvp514x_configuration[ch_id].input[*index].input_type;

err = tvp514x_i2c_write_reg(&tvp514x_channel_info[ch_id].i2c_dev.
        client, TVP514X_INPUT_SEL, input_sel);

有这么一段程序,其他的寄存器配置都是有实际的数值,而输入引脚的寄存器TVP514X_INPUT_SEL,没有,请问这个tvp5146的驱动文件,引脚输入是任意的吗?

我看合众达和瑞泰的原理图,都是VI_2_B 复合视频,VI_1_C   VI_2_C接s端子,不知道这个驱动文件是任意输入引脚吗

  • 你好;

           你可以查一下这个手册 http://www.ti.com/lit/gpn/tvp5146

           关于TVP514X_INPUT_SEL 的配置可以看:

                 2.11 Register Definitions
                    2.11.1 Input Select Register