PINIO Behavior in 4.5 #13613
Labels
Inactive
Automatically detected and labeled, will be closed after another week of inactivity.
Template: Bug
Set by auto_close_issue.
Describe the bug
Has the PINIO behavior changed in 4.5? It seems some targets with PINIO switched VTX power are not working now without additional configuration, where they were working in 4.4 with the same config.
Example: betaflight/config#412
Is the PINIO not active if a box is not defined in the config?
In the above example, PINIO2 is used to toggle the VTX power. In 4.4, without additional configuration, the PINIO settings have PINIO2 config set to 1 (Output-Push-Pull), and PINIO2 box set to 255 (BOXID_NONE). Thus you would expect the default value to be PINIO2 high, which should mean the VTX power is always on.
This seems to work in 4.4, but not in 4.5.
To Reproduce
Flash BF 4.5.0 to a FC that uses PINIO, eg for VTX power control.
Expected behavior
Without specific PINIO configuration set, the PINIO_CONFIG and PINIO_BOX parameters should apply. e.g all PINIO pins should be set to high in the default case:
Support ID
Flight controller
MAMBAH743_2022B
Other components
No response
How are the different components wired up (including port information)
No response
Add any other context about the problem that you think might be relevant here
Discord troubleshooting thread: https://discord.com/channels/868013470023548938/1234851582181638296
The text was updated successfully, but these errors were encountered: