AN3127
Figure 16. Firmware architecture
●
The Value line evaluation board (STM32100B-EVAL or STM32100E-EVAL) is designed
as a complete development platform for STMicroelectronics' ARM™ Cortex®-M3 core-
based Value line microcontroller.
●
STM32F10x_StdPeriph_Driver: STM32F10x standard peripheral library
●
User application: Value line boards (STM32100B-EVAL or STM32100E-EVAL) CEC
demonstration
●
Display module: It can be an LCD or Terminal programs. It is used to display the CEC
demonstration messages.
●
CEC driver (stm32100b_eval_cec or stm32100e_eval_cec): the application may
interface CEC devices directly through the driver application layer. The driver functions
are summarized in
High-level functions
These are the functions that can simply be called by the final application to execute all
needed configurations and perform high-end functionalities (like sending and receiving
messages).
Table 4.
HDMI_CEC_Init
HDMI_CEC_TransmitMessage
HDMI_CEC_GetErrorStatus
HDMI_CEC_ProcessIRQSrc
PhysicalAddressDiscovery
LogicalAddressAllocation
Table 4: High-level
High-level functions
Function name
Doc ID 16896 Rev 2
functions.
Initializes the HDMI-CEC controller:
●
Enables the CEC and GPIOx clocks
●
Configures the CEC line
●
Calls the PhysicalAddressDiscovery function
●
Calls the LogicalAddressAllocation function
●
Calls the HDMI_ReportPhysicalAddress function
Transmits messages (Header, opcode and operands)
Gets the error status register (ESR) register status
Processes all the interrupts (RBTF, RERR, TBTRF, TERR)
that are high
Algorithm used to discover the physical address
Allocates the device's logical address based on the logical
address allocation algorithm
Firmware description
Description
25/36
Need help?
Do you have a question about the STM32F100 Series and is the answer not in the manual?
Questions and answers