Hello people,Here some info about clocks in EFM32.I’ll show you code snippet, for EFM32 that make work HF timers, LF timers, HF USART and LF USART.I will not explain why those definitions work – you can read it in datasheet.Simply, shortly, I’ll save your time by...
Hello all, We continue to speak about timers, and the next victim is LETIMER0 – low energy timer! The next example shows how to run this timer and how to move the MCU to EM2 mode (energy save) . When the MCU receives the LETIMER0 interrupt, it wakes up automatically...
Hello friends, Before publishing my EFM32 timer drivers, I want explane a little the WatchDog timer – it’s purpose and how to use it. Watchdog timer’s purpose is to restart the MCU in case of some errors, that occurred in MCU and “froze” it.On power, you have to...
Hello people! I’ll show you how to use timers for event generation.Let’s say we want to use one of the chip timers to toggle one of the pins. /* 1. Divide source clock by 1: writes 0 in 25-th bit of the register (counting of the bits starts from the 0) */...
Hi friends!!After a some period of using the EFM32 boards, I changed my work and moved to another interesting things.So it’s my last article about the EFM32. ADC (Analog-to-Digital Converter) converts voltage on the one or more of its input pins and return the...