by mike | Mar 12, 2019 | EFM32, Electrical Engineering, Embedded Development
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...
by mike | Mar 12, 2019 | Electrical Engineering, Embedded Development
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...
by mike | Mar 12, 2019 | Embedded Development
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...
by mike | Mar 12, 2019 | EFM32, Embedded Development
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) */...
by mike | Mar 12, 2019 | EFM32, Embedded Development
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...