Hi Christian,
If you want some inspiration for a timer driver you could take a look
at the Kinetis periph/timer driver which wraps two different timer
hardware modules underneath, one for high frequency and precise
control (PIT, always clocked by the CPU bus clock), and the other for
low power
Hi Bas,
thanks for your quick response!
On Mon, Nov 12, 2018 at 05:54:09PM +0100, Bas Stottelaar wrote:
> The newer chips have an additional 32-bit timer with the same problem, but
> this frees up timers for PWM.
That unfortunately won't help with the hardware I have here right now :-/
> The
Hi Chrysn,
The two timers are needed, because they run in cascade mode. Only that way,
I can generate values for XTIMER_HZ that have sufficient resolution. I
don't recall the details, but I haven't found another way. The recommended
MCU oscillators are typically 38.4 or 40 MHz, and the prescaler
Hello RIOT developers,
working with the EFM32 port trying to use some PWM pins, I found that of
the four TIMER peripherals (each of which is tied to particular sets of
PWM pins it can drive), two adjacent[1] ones are in use
for a combined RIOT timer peripheral that them forms also the
XTIMER_DEV.