Re: [riot-devel] EFM32 timers, PWM and xtimer

2018-11-12 Thread chrysn
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

Re: [riot-devel] EFM32 timers, PWM and xtimer

2018-11-12 Thread Bas Stottelaar
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

[riot-devel] EFM32 timers, PWM and xtimer

2018-11-12 Thread chrysn
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.