Posts: 529
Registered: ‎08-07-2012

What does the CHIP_Init function do?


In the examples for the EFM32, there is a CHIP_Init() function. What does this do?


There are some differences in the reset values of some registers between different revisions of the EFM32 devices. To align such differences, the CHIP_Init() function is run at the beginning of every program to ensure that all reset values are according to the latest revision. In addition, the CHIP_Init() function applies workarounds for some errata, in revisions where these are found.