2025-09-15 7:35 AM
Dear ST Support Team,
I am using STM32WB55 with firmware stm32wb5x_BLE_Thread_dynamic_fw.bin release V1.23 and application based on samples in STM32CubeFW. I flashed two devices and set both devices:
and coap capabilities.
I noticed the following behaviour:
Device1:
Device2:
Both devices have the same extAddr and same IPv6! (eui-64 read thanks otLinkGetExtendedAddress(...) ).
If I use otLinkSetExtendedAddress(...) with extAdrr coming from reading at @UID64_BASE (according to user manual Flash 64 section) I've got:
Device1:
Device2:
They still have the same IP address: fdeb:6e2:6135:d326:23d4:335f:27aa:3a48!
Any idea where I have to look for to avoid such behaviour? Because right now devices are only able to react on put/post multicast coap messages.
Thanks in advance.
Kind regards.
Philippe.
Solved! Go to Solution.
2025-10-31 3:37 AM
Hi @philippeL,
This case has been solved.
Please find the answer below :
Ipv6 adresses are generated on CPU2 using the RNG Hardware peripheral based on noise source, the generation is done at the initialisation phase of Openthread.
The problem occurs when the application also uses this peripheral. In that case, it must be initialized after OT init, Otherwise, it may cause a misconfiguration of the peripheral on CPU2 side.
MX_RNG_Init() should be placed after APP_THREAD_Init_Dyn_2() to ensure a proper generation of IPV6 adresses.
Regards,
Ouadi
2025-09-22 6:00 AM
Hello @philippeL
Thank you for coming to the ST Community. This behavior is under investigation (under internal ticket number 218031). We will be back to you ASAP.
Best Regards
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-10-31 3:37 AM
Hi @philippeL,
This case has been solved.
Please find the answer below :
Ipv6 adresses are generated on CPU2 using the RNG Hardware peripheral based on noise source, the generation is done at the initialisation phase of Openthread.
The problem occurs when the application also uses this peripheral. In that case, it must be initialized after OT init, Otherwise, it may cause a misconfiguration of the peripheral on CPU2 side.
MX_RNG_Init() should be placed after APP_THREAD_Init_Dyn_2() to ensure a proper generation of IPV6 adresses.
Regards,
Ouadi