Search found 3 matches

by Lou79
Sun Sep 10, 2023 12:02 am
Forum: Projects
Topic: SoftPwmSTM32 [Libray]
Replies: 16
Views: 24557

Re: SoftPwmSTM32 [Libray]

Thank you, dannyf. And very well explained. I really appreciate your help and I'm sure others will find this useful too.

It would be funny if I end up with a slave STM32F1 just for the extra hardware PWM channels, as this one is already one of 16 identical slaves to a master controller STM32F1 ...
by Lou79
Thu Sep 07, 2023 12:28 pm
Forum: Projects
Topic: SoftPwmSTM32 [Libray]
Replies: 16
Views: 24557

Re: SoftPwmSTM32 [Libray]

dannyf, please share a link to your code.

I need to output 15 control voltages to an analog board as PWM signals and the duty cycles have to be updated in the loop. I have TIM2, TIM3 and TIM4 unavailable for this, they are fully occupied with outputting even more CVs at much higher PWM frequencies ...
by Lou79
Mon Sep 04, 2023 11:46 pm
Forum: Projects
Topic: SoftPwmSTM32 [Libray]
Replies: 16
Views: 24557

Re: SoftPwmSTM32 [Libray]

I hope this reply reaches you. I understand it's been about two and a half years now since your announcement.

Can you please provide a multi channel example?

On Blue Pill this code makes PA4 work as expected, but PA5 remains low:

#include "softPwmStm32.h"

void setup() {
pinMode(PA4, OUTPUT ...

Go to advanced search