Skip to content

Fix incomplete PWM initialization for 8th slice.#1

Merged
runger1101001 merged 1 commit intorunger1101001:devfrom
Twisted-Fields:dev
Sep 16, 2022
Merged

Fix incomplete PWM initialization for 8th slice.#1
runger1101001 merged 1 commit intorunger1101001:devfrom
Twisted-Fields:dev

Conversation

@sequoia-hope
Copy link

This fixes our second channel. I found with an oscilloscope that pins 14 and 15 never had any PWM output, and found with a debugger that the associated PWM channel was never enabled. I found this line which intends to enable all channels at once, but uses a mask that misses that last channel. I confirmed the motor now calibrates and works with this fix.

@runger1101001
Copy link
Owner

Excellent find. Will merge and the fix will make its way into the next release!

@runger1101001 runger1101001 merged commit e5f2cdf into runger1101001:dev Sep 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants