Trng_init enter to infinite loop

Hallo All ,
I Have custome board based on Nuvoton_PFM_M2351 that used M2351 Microcontroller that have TRNG device . The problem is When try to connect with AWS using TLS the applictaion is stuck in trng_init(&trng_obj); and enetr to infinit loop … Although the same code is work fine on Nuvoton_PFM_M2351 …
so What’s the meaning of stucking in trng_init ???
Thanks .