Skip to content

Portenta: PWM on HRTIM has inverted corner case values #352

Open
@facchinm

Description

@facchinm

On Portenta H7, writing analogWrite(3, 255) results in a signal with 0% duty cycle, while analogWrite(3, 0) is 100%

analogWrite(3, n) , on the other hand, has exactly the expected duty (n/256)

See #351 (comment)

Metadata

Metadata

Assignees

Labels

PortentabugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions