UM1011
Running the demonstration
Doc ID 18064 Rev 1
41/49
The feature CEC device also allows the user to command and control multiple audiovisual
devices with one infrared remote control. After selecting the address, the user presses on
the remote control and a command is sent by the CEC device. The message is displayed in
the receiver field.
To change the address selected, press on the KEY button and the message in
Figure 58
will
be shown.
Note:
1
Only the protocol Philips RC5 was integrated in the HDMI-CEC application. Each RC5
command has a corresponding HDMI-CEC User Control Code.
2
For more details, refer to application note AN3174 Implementing an RC5 infrared remote
control receiver with the STM32F10xx microcontrollers. This application note provides a full
description of IR decoding.
You can select again a new follower address and a new command.
Figure 59.
Select CEC command
When receiving a new message, the following information can be displayed on the LCD:
●
Receive status
●
Sender address
●
Number of bytes (including the sender’s address)
●
Opcode message
●
Data (operands)
Figure 60
shows that the device has correctly received the frame from the sender with
address: 0x5, number of bytes received: 0x3 ( data), message opcode:
0x44 and data: 0x41.
Figure 60.
Receive subscreen information
CEC device is confi-
enter CEC menu
Receive:
Send Status:
Select CEC Command
Get CEC VERSION
CEC device is confi-
enter CEC menu
Receive:
Send Status:
TV
Select Follower ADDR
Sender Address = 05
Number of bytes:03
Message Opcode:44
Data:41
Succeeded