Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
STM32L4 TRNG clock configuration #11679
In some cases, mainly STM32L4, STM targets that have TRNG will use RCC_RNGCLKSOURCE_PLL even if the CLOCK_SOURCE is defined to be USE_PLL_MSI and TRNG should use RCC_RNGCLKSOURCE_MSI instead.
Pull request type
jarlamsa left a comment
This addition fixes the seen issues. Will the USE_PLL_MSI be 0x1 with all the future boards as well? If there are going to be changes to the TRNG-initialisation (adding more different possibilities for RNG clock selections), there might be a need to make modifications here, and could be good to document.