Skip to content

Cannot send CEC command to TV #1

@mikexzhao

Description

@mikexzhao

Dear Floe,

I have questions regarding your sample code.

Here is the setting of my testing environment,

  1. I built the simple circuit following your suggestion in CEC_Electrical.png
  2. I connected simple circuit with Arduino UNO board. As what you suggested, Pin-2 on Arduino uno board as IN_LINE, while Pin-3 as OUT_LINE. I didn’t connect anything on HPD_LINE.
  3. Since I don’t use Keyboard, I commented all Keyboard related codes.
  4. I connected CEC pin to Pin-13 of HDMI connector. Connect GND and +5V from Arduino Uno board to HDMI connector(Pin 17 and Pin 18). Connect HDMI cable between HDMI connector and sony-BRAVIA TV. CEC feature is enabled on sony TV, by the way.
  5. I built your sample code and uploaded to Arduino board.
  6. When I turned off TV, I got the following message,

standby
Packet received at 17468: 00 -> 15: 0F:A0:08:00:46:00:09:00:01


  1. When I turn on TV, I got the following message,

Packet received at 12810: 00 -> 15: 0F:A0:08:00:46:00:04:00:01
Packet received at 13103: 00 -> 15: 0F:A0:08:00:46:00:08:00:00
Packet received at 13924: 00 -> 15: 0F:80:00:00:20:00


  1. after then, I repeatedly got the following message,

report PhysAddr
Transmit failed, max retries reached.
Transmit: 0


  1. When I tried ‘v’ to run “request vendor ID” cmd, I got the following error message,

Transmit failed, max retries reached.
Transmit: 0


  1. I tried other CEC cmds with same error result.
    It seems that the code is able to receive the CEC msg, but is not able to send proper cmd. I checked the signal on the oscilloscope. The signal was sent out when I run “v” cmd. It seems that the circuit self has no problem.

Do you have any idea on the error while I sent the CEC cmd to TV?

Thanks

Mike

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions