Files
charge-controller-firmware/include
Martin JägerandClaude Opus 5.5 4debb311b2 drivers: half_bridge: drive outputs low when stopped
The advtim and gptim drivers left the outputs floating while the half
bridge was stopped, so the state of the MOSFETs only depended on the
pull-down resistors at the gate driver inputs.

- advtim: Enable the off-state selection for idle mode (OSSI), so that
  both outputs are driven to their idle level (low) while the main
  output is disabled.
- gptim: Keep the output channels enabled and switch between PWM mode
  and forced output levels to start and stop. The forced low-side
  state uses forced output levels as well.

The HRTIM driver already drives the idle level of disabled outputs.

The requirement is added to the API documentation. External pull-down
resistors are still required for the time during reset and before the
driver is initialized.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 00:04:23 +02:00
..