Hello, I am trying to use a timer 15 in PWM mode to drive the DMA of a DAC. I need the PWM to generate N number of update events for M number of pulses. For example, generated an update event 10 times every 200 pulses. I'm just trying to get t...
I've installed the latest Cube, 1.16.0, and configured a DAC and PWM. The code generated fine but I wanted to add FreeRTOS. So I added it under the Middleware dropdown and it does appear to install. However, when I generate code I do not get a...
Yes, but it should do that indefinitely. Not generate 3-4 update events, do nothing for 20ms, then generate 3-4 again. And as I mentioned, just changing the frequency from 10kHz to 1kHz changes the behavior, which is a clue, but I don't know what...
I measured the timing on an analyzer.It's not interrupts or lack of optimization. This is bare bones test code with nothing more than gpio, PWM and DAC.The timing interrupt callback is a bare metal gpio toggle, again no delays. I've got infinity mo...
Hello, I figured it out this morning. You have to select FreeRTOS and CMSIS, then under CMSIS you must configure Core and Heap. The previous version I was using, 1.14.0, had some defaults when FreeRTOS was selected. In 1.16.0 there are no defa...