2024-12-20 07:36 AM - edited 2024-12-20 07: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?
2024-12-20 08:01 AM - edited 2024-12-20 08: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
2024-12-20 09: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?