Skip to content

docs(boards): Add PWM Outputs section#26818

Open
hamishwillee wants to merge 1 commit intomainfrom
pwm_outputs_fcs
Open

docs(boards): Add PWM Outputs section#26818
hamishwillee wants to merge 1 commit intomainfrom
pwm_outputs_fcs

Conversation

@hamishwillee
Copy link
Copy Markdown
Contributor

This adds a section PWM Outputs to all FC docs for which one can be generated.

This is generated from a Claude-created script. It looks at timers etc to determine the output. It generates some JSON in the file first.
parse_pwm_outputs.py
pwm_outputs_1.md

@dakejahl This all looks pretty sensible and I've had happy results with Claude, but I am not sure how to verify that it hasn't gone off the rails. Could you spot check this - for example look at a few of the Ark and Pixhawk cases?
There are also 4 cases which already had entries, and these have changed. I am presuming as a resutl of your Dhot changes.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 19, 2026

/en/flight_controller/corvon_743v1.md

| UART8 | /dev/ttyS7 | GPS2 |

## PWM Output
## PWM Outputs
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one needs to be fixed up manually - the labeling of the ports was lost, and there is also electrical data that was replaced.

| UART8 | /dev/ttyS5 | SERIAL4 |

## PWM Output
## PWM Outputs
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be updated manually. The data might be correct but we want to capture the labelling.

@hamishwillee hamishwillee force-pushed the pwm_outputs_fcs branch 2 times, most recently from f54a170 to 35a734d Compare April 2, 2026 00:00
The remaining 6 PWM ports are still being adapted (so it is not compatible with VOLT at time of writing).
:::

## PWM Outputs {#pwm_outputs}
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cuav-chen2 When you have a moment, can you please check the information on the CUAV boards for PWM outputs? This is script generated, and has been updated following the information you provided in #26882 (comment)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No errors in the description.

Comment on lines +43 to +54
## PWM Outputs {#pwm_outputs}

This flight controller supports up to 6 FMU PWM outputs (AUX) and 8 IO PWM outputs (MAIN).

All FMU outputs support [DShot](../peripherals/dshot.md) and [Bidirectional DShot](../peripherals/dshot.md#bidirectional-dshot-telemetry).

The 6 outputs are in 2 groups:

- Outputs 1-4 in group1 (Timer1)
- Outputs 5-6 in group2 (Timer4)

All outputs within the same group must use the same output protocol and rate.
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@julianoes Do you think you could sanity check the cubepilot information for PWM outputs?

Claude wrote me a script to generate this based on information in timers and so on. It's been valided against a number of boards that already documented this stuff, but I don't deeply understand it.

No great urgency, but if you can't please let me know.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, that's correct.

@dakejahl
Copy link
Copy Markdown
Contributor

dakejahl commented Apr 2, 2026

Sorry I missed this. I will review it tomorrow.

Copy link
Copy Markdown
Contributor

@dakejahl dakejahl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ARK docs are correct. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants