AnsweredAssumed Answered

ADV7611 CEC

Question asked by elena.liu on Jan 20, 2015
Latest reply on Jan 26, 2015 by mattp

hi ,
   在调试ADV7611 CEC的时候遇到如下两个问题,麻烦给指点下,或者提供cec配置的相关用例,谢谢!

1、ADV7611 RX
AP发送数据:0x40,0x47,0x52.... ,示波器量到CEC管脚的信号如图1,并提示未收到ACK,从时序图上可看到,发

送的数据0x40是正确的,EOM是低电平,ACK是高电平;

  
ADV7611配置:
    {0x98, 0xFF, 0x80}, // I2C reset
    {0x98, 0xF4, 0x80}, // CEC  ----
    {0x80, 0x28, 0xf0},
    {0x80, 0x27, 0x10}, //设置有ACK的模式等
    {0x98, 0x95, 0x3f},
    {0x98, 0x96, 0x3f},

wait (0x98,0x93)寄存器接收完中断查询,始终数据为0

2、ADV7611 TX
   启动发送后,CEC_TX_READY_ST 为1,即发送成功,但是在CEC管脚上未量到正确的数据,波形如图2

ADV7611配置:
    {0x98, 0xFF, 0x80}, // I2C reset
    {0x98, 0xF4, 0x80}, // CEC  ----
    {0x98, 0x95, 0x3f}, //INT2 Enable
    {0x98, 0x96, 0x3f},//INT1 Enable
    //CEC config
    {0x80, 0x10, 0x03}, //Message size of the transmitted frame. This is the number of byte in the

outgoing message including the header.
    {0x80, 0x00, 0x40}, //data0
    {0x80, 0x01, 0x47}, //data1
    {0x80, 0x02, 0x33}, //data2
    {0x80, 0x12, 0x43},//CEC_TX_RETRY  - Try to retransmit the message 4 time if an error occurs
    {0x80, 0x11, 0x01},//CEC_TX_ENABLE

Outcomes