Re: [PATCH qemu v2] Fixing the basic functionality of STM32 timers

2023-12-02 Thread Lucjan Bryndza
Hi Alistair Sorry for the delay in response and thank you for a response. The previous STM32 timer implementation did not work properly. Incorrect calculation of time to next interrupt caused interrupts not to be reported correctly. For example, programming the timer-counter circuit with an

Re: [PATCH qemu v2] Fixing the basic functionality of STM32 timers

2023-11-21 Thread Alistair Francis
On Tue, Oct 31, 2023 at 6:35 AM ~lbryndza wrote: > > From: Lucjan Bryndza > > The current implementation of timers does not work properly > even in basic functionality. A counter configured to report > an interrupt every 10ms reports the first interrupts after a > few seconds. There are also no

[PATCH qemu v2] Fixing the basic functionality of STM32 timers

2023-10-30 Thread ~lbryndza
From: Lucjan Bryndza The current implementation of timers does not work properly even in basic functionality. A counter configured to report an interrupt every 10ms reports the first interrupts after a few seconds. There are also no properly implemented count up and count down modes. This commit