Value Line Evaluation Board Cec Demonstration; Cec Demonstration Overview - ST STM32F100 Series Application Note

Hide thumbs Also See for STM32F100 Series:
Table of Contents

Advertisement

AN3127
4

Value line evaluation board CEC demonstration

The demonstration delivered with this application note is intended to run on the Value line
evaluation boards (STM32100B-EVAL or STM32100E-EVAL) and it shows how to configure
the HDMI-CEC peripheral and how to create a CEC network providing high-level
communication between different devices using CEC protocol messages.
4.1

CEC demonstration overview

The CEC demonstration contains 2 different configurations:
1.
Use the joystick push-buttons and display the CEC demonstration messages on the
LCD of the Value line evaluation boards (STM32100B-EVAL or STM32100E-EVAL).
2.
Use the keyboard keys (r: right, l: left, u: up, d: down and s: select) and display the CEC
demonstration messages on HyperTerminal.
Note:
To use the second configuration, you have to comment the following defines in the
cec_display.c file:
#define LCD_DISPLAY
#define USE_JOYSTICK
In the following sections, the SEL, RIGHT, LEFT, UP and DOWN buttons mean the SEL,
RIGHT, LEFT, UP and DOWN joystick push-buttons or the "s", "r", "l", "u" and "d" keyboard
keys, respectively, depending on the selected configuration.
Figure 17: CEC demonstration flowchart
demonstration. After system reset, you should use the UP, DOWN, RIGHT, LEFT and SEL
buttons to select the device type of the CEC device. Then you should press the SEL button
to enter the CEC menu.
The LEFT and RIGHT buttons should be used to navigate between the available follower
addresses and CEC commands. The SEL button should be used to select the follower
address or command to be sent.
To run the CEC demonstration:
1.
Load the CEC demonstration and reset the device
2.
Select the device type of the CEC device using the joystick push-buttons or the
keyboard keys (see
3.
If the selected device type is not available, the following message is displayed:
"Unregistered Device".
In this case you have to reset the device and select another device type.
4.
The physical and logical addresses are displayed on the selected display module (LCD
or HyperTerminal).
5.
Use the SEL button to enter the CEC menu
6.
Use the LEFT and RIGHT buttons to navigate between the follower addresses. Use the
SEL button to select the desired follower address (see
Value line evaluation board CEC demonstration
shows the menu system of the CEC
Section 4.2: Device type
Doc ID 16896 Rev 2
selection)
Figure 20: CEC
menu)
27/36

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F100 Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents