Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PWM driver support for SiLabs Gecko type MCUs as used in the Arduino Nano Matter
Currently supports:
Not yet implemented:
6 PWM support will be added, this MCU can support hardware 6 PWM with DTI for any pin combination :-)
In theory, 5 motors can be supported, in practice the MCU won't have enough pins or CPU muscle for so many, but maybe 2 could run ok.
In theory, current sensing should be possible, also low side sensing, based on DMA support and the peripheral reflex system (inter-peripheral events). I'll leave that as an exercise for another time :-)
Performance tests in closed loop mode to follow.