⚠️ Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
这已经实现了in our SDK. The trng library, collect random noise from the bluetooth antenna in order to generate true random numbers, so I would suggest you to have a look into this librady. Define and follow the USE_TRNG macro. The initialization happens in system_init() by calling the init_rand_seed_from_trng() function. This function calls the trng_acquire() which acquires random noise from the bluetooth antenna for generating true random numbers. Please try to not duplicate the threads on the forum, the other one has been deleted.
Hi ddustin,
这已经实现了in our SDK. The trng library, collect random noise from the bluetooth antenna in order to generate true random numbers, so I would suggest you to have a look into this librady. Define and follow the USE_TRNG macro. The initialization happens in system_init() by calling the init_rand_seed_from_trng() function. This function calls the trng_acquire() which acquires random noise from the bluetooth antenna for generating true random numbers. Please try to not duplicate the threads on the forum, the other one has been deleted.
Thanks, PM_Dialog
What example project demonstrates this and / or what header files implement this?
I have searched the entire example projects directory for any reference to USE_TRNG, init_rand_seed_from_trng, trng_acquire and found no matches.
Ah I believe I found it by #including "sys_trng.h". Thanks for the the help!
Hi ddustin,
Glad that you figured your issue out and thanks for accepting my answer.
Thanks, PM_Dialog