How to get EFM32 EUI48 number for EFM32PG/JG and EFR32 device?
The device unique identifier (EUI48L/EUI48H) is a 48-bit unique number which is programmed into the Device information page of the flash during the production of the device.
It is possible to read out the number electronically by reading this value from the Device Information page with routine like as below:
__STATIC_INLINE uint64_t SYSTEM_GetEUI(void)
uint32_t tmp = DEVINFO->EUI48L;
return (uint64_t)((uint64_t)(DEVINFO->EUI48H & 0x00FF) << 32) | tmp;