CEC
CEC copied to clipboard
Cannot send CEC command to TV
Dear Floe,
I have questions regarding your sample code.
Here is the setting of my testing environment,
- I built the simple circuit following your suggestion in CEC_Electrical.png
- 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.
- Since I don’t use Keyboard, I commented all Keyboard related codes.
- 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.
- I built your sample code and uploaded to Arduino board.
- 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
- 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
- after then, I repeatedly got the following message,
report PhysAddr Transmit failed, max retries reached. Transmit: 0
- When I tried ‘v’ to run “request vendor ID” cmd, I got the following error message,
Transmit failed, max retries reached. Transmit: 0
- 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
Hi Mike & Floe
I have the same issue, I do receive packets from my Pioneer AV Receiver, but when I send command 'v' or custom commands I get the same error as you Mike.
21:58:08.989 -> Packet received at 92421: 05 -> 15: 5F:80:30:00:20:00 21:58:11.701 -> Packet received at 95142: 05 -> 15: 5F:80:20:00:30:00 21:58:15.722 -> Command: v 21:58:15.756 -> Command: 21:58:15.756 -> 21:58:15.891 -> Transmit failed, max retries reached. 21:58:15.891 -> Transmit: 0
Did anyone of you found what the solution is to this in the mean time?
Regards
Steph
Have you placed all the parts according to the circuit (with the circuit sketch) in the fzz extension in this archive path? I haven't used this source yet, but I will try it soon.
FWIW you may consider this approach: https://github.com/SzymonSlupik/CEC-Tiny-Pro, it simplifies the hardware part to the minimum.