CEC TV emulate with STM32, how id setup?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-20 7:36 AM - edited ‎2024-12-20 7:37 AM
We for testing CEC client device require emulate master. In normal device code we set
hcec.Init.OwnAddress = CEC_OWN_ADDRESS_x
but for TV master how is right choice?
hcec.Init.OwnAddress = CEC_OWN_ADDRESS_NONE;
or
hcec.Init.OwnAddress = CEC_OWN_ADDRESS_0;
exist some example?
Solved! Go to Solution.
- Labels:
-
STM32F0 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-23 5:00 AM
Hello,
You can refer to the AN3127 "CEC networking using STM32F100xx value line microcontrollers".
I think chapters 1.4.6 Logical addressing / 1.4.7 Logical address allocation may answer your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-20 8:01 AM - edited ‎2024-12-20 8:03 AM
Hello,
To my knowledge, there is no master slave architecture but there are initiators and destinations and each of them has its own physical address. So if you need to send something to another device, you need to know its address (destination address).
Look at the CEC examples in CubeHAL: https://github.com/STMicroelectronics/STM32CubeF0/tree/master/Projects/STM32072B_EVAL/Examples/CEC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-20 9:59 AM
Yes i check all this examples and have working real CEC . Then i need some testing device as Initiator i name it master. In AV normal TV have logical address 0 and logical addr is used to communicate. But define for address 0 in STM headers set 01 and addr_none set 00, then i ask how is right?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-23 5:00 AM
Hello,
You can refer to the AN3127 "CEC networking using STM32F100xx value line microcontrollers".
I think chapters 1.4.6 Logical addressing / 1.4.7 Logical address allocation may answer your question.
