Skip to content

PWM freq not correct on all pins. #18

@fpistm

Description

@fpistm

PWM frequencies is not the same on all pins.
Depending of the timer used, clock source is not the same (APB1/APB2) so the prescaler also.
timHandle.Init.Prescaler = (uint32_t)(SystemCoreClock / clock_freq) - 1

Metadata

Metadata

Assignees

Labels

bug 🐛Something isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions