2020-04-17 01:44 AM
I have been working on a motor control project for a three phase BLDC motor. So far I have implemented the center aligned PWM output over Timer1 of STM32F303CB. I want to add a current limiting feature such that the PWM gets halted when a current beyond threshold is read.
I came across the ETR functionality through ADC remap of the MCU. I have configured the clearing source to be ETR and clear channels enabled. Questions I have:-
Thanks in advance
Attached is the STMCube configuration and snippets of material I found from reference manuals.
2020-09-11 02:51 AM
Dear Svish.2
Do you have still this problem to solve?
Best regards
Laurent Ca...
2020-09-11 02:10 PM
Assume yes. What can go wrong of you provide an "unsolicited" answer?
JW
2020-09-17 12:04 AM
Dear @Laurent Ca... ,
Thank you for the concern on the problem that I HAD.
Yes the issue is resolved.
Regards
Shwetank Vishnu.
2020-09-23 05:45 PM
Dear @Community member
We have just decided to try to satisfy as many as possible all the contributors of this forum (the tag "STM32 Motor Control").
Best regards
Laurent Ca...
2020-09-24 02:28 PM
Hi Laurent,
> We have just decided to try to satisfy as many as possible all the contributors of this forum (the tag "STM32 Motor Control").
I've noticed, and I invite that.
As you've seen, many posts are initially wrongly formulated, of the "it does not work" type, with insufficient details given, and ultimately abandoned.
However, this one is different, Even if Shwetank Vishnu said he does not have the problem anymore, it is ultimately a case of inadequate documentation, and as such, it deserves a concise answer for others who may come across this thread in search for answer for a similar question.
Ultimately, it boils down to two items:
While both these questions deserve to be answered in the RM - and the latter in *all* RMs (except the ancient 'F1 perhaps), I also recommend to describe the particular issue of timers "safeguarding" using other modules' signals, in a separate Application Note - of course accompanied by concise and comprehensive examples in clean C.
You may have heard of my call for "dozens of appnotes"...
Jan
To:
@Laurent Ca...
and
@Imen DAHMEN as "Documentation Moderator In Charge"
2020-09-25 12:35 AM
Dear @Community member
Please open new posts for any issues you have.
Adding new issues in an existing one is not the strategy I intend to impulse to the forum "STM32 Motor Control".
But I am not going to use "double talk" (means "langue de bois") to avoid answering you although I will do it in a very general way.
Advanced functions in motor control applications are relatively recent in ST.
Now due to the results obtained, improving the support for our customers becomes a priority in order to become the best in class with a big leadership.
Therefore, I hope you will see in the coming weeks big improvements in all of the areas you mentioned.
Best regards
Laurent Ca...