Skip to content

Modified the "do_hfi" condition : mcpwm_foc.c - #997

Open
secupol wants to merge 1 commit into
vedderb:masterfrom
secupol:patch-3
Open

secupol wants to merge 1 commit into
vedderb:masterfrom
secupol:patch-3

Conversation

@secupol

@secupol secupol commented Dec 6, 2026

Copy link
Copy Markdown
Contributor

Change: Updated the do_hfi evaluation logic to apply the current brake and minimum current checks across all HFI modes, not just FOC_SENSOR_MODE_HFI_START.

Reason: Previously, if any other HFI mode (V1–V5) was used, braking could cause unstable motor behavior. This ensures consistent and stable operation during braking regardless of the selected HFI mode.

Change: Updated the do_hfi evaluation logic to apply the current brake and minimum current checks across all HFI modes, not just FOC_SENSOR_MODE_HFI_START.

Reason: Previously, if any other HFI mode (V1–V5) was used, braking could cause unstable motor behavior. This ensures consistent and stable operation during braking regardless of the selected HFI mode.
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.

1 participant