-
Notifications
You must be signed in to change notification settings - Fork 7.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[4.0.1] MCPWM fault not work (IDFGH-3473) #5433
Comments
Thanks for reporting, we will look into. |
Some conclusions? |
Hi, @Wielebny666 I would suggest that you configure IO in this way:
|
This is strange. #doesn't work
#work
|
Hi, @Wielebny666
|
I know.
|
hi, Here is a program that i used to test your code. It seems to run correctly on my board. I suspect you didn't call mcpwm_fault_set_cyc_mode to specify the bahavior when a fault is detected, in which the default is MCPWM_ACTION_NO_CHANGE.
|
@Wielebny666 Would you please help share if any updates for this issue? Thanks. |
Hi,
Seriously? my code:
I changed nothing in the code except gpio initiation and it started working. Difference between my and your code is in the order of calls mcpwm_fault_init and mcpwm_fault_set_cyc_mode. I will check it again today... |
OK, i admit mea culpa. This work
but, not work
and also not work:
when init via mcpwm_gpio_init |
This problem is in all ver from 2.1 to master |
Why nobody approved pull requests? |
fixed in master branch, will be backported to 4.0 soon. |
are you sure? |
20 days have passed and there is still no patch in branch 4.0 |
Please reopen. |
Thanks for reporting, and reopened the ticket, will update once the fix on release/4.0 is available on GitHub. Thanks. |
Thanks for reporting and sorry for slow turnaround. Fix on release/4.0 is available at fcb0206, feel free to reopen if the issue still happens. |
Reopen, please check other versions. |
Relase v4.1 stable have this same problem. |
Hi, @Wielebny666 |
Fix on release/4.0 is fcb0206, feel free to reopen. Thanks. |
Environment
Problem Description
Changing the fault signal has no effect on outputs A and B.
Code to reproduce this issue
I tried with mcpwm_basic_config_example.c and also not work.
The text was updated successfully, but these errors were encountered: