2024-08-12 01:18 AM
Hi, i have configured BKIN pin to detect fault for my overcurrent
So for my motor driver if this pin sense BKIN input.
How much time it be will taken by my microcontroller to sense and to act to shutdown my PWM gate signals
Is it hardware glued logic that can work independently fast without existing code running
Please give any value in micro or nano seconds how much fast it can operate.
Also any effect of maximum temperature which can cause delay in to it like ambient 125 deg C as device's \max temp range, is it temperature dependent.
Below are details
Solved! Go to Solution.
2024-08-15 02:58 AM
"This feature is not available for all timers."
So I guess each timer has it's own break inputs, and you can probably stop only that specific PWM.
2024-08-12 02:34 AM
Hello @sag,
1/ The BKIN is designed to act asynchronously, meaning it can disable the PWM outputs immediately upon detecting a fault, the exact response time is not explicit but given the high-speed nature of the STM32G4, I it's in the order of nanoseconds
2/ yes, it is hardware-implemented
3/ given that the STM32G4 microcontrollers are designed to operate within a specified temperature range, the break input functionality should remain reliable within this range
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-08-12 08:40 PM - edited 2024-08-12 08:42 PM
Sarra Thanks for your kind reply.
Your inputs are useful for me.
Can you please let us know the rationale for this like is or mentioned anywhere in datasheet or in ref manual.
please guide
2024-08-12 08:43 PM
Also whenever you are saying PWM,
is it related to any PWM which is controlling my motor gates drives or power supplies?
2024-08-13 02:34 AM
Sarra Thanks for your kind reply.
Your inputs are useful for me.
Can you please let us know the rationale for this like is or is it mentioned anywhere in datasheet or in ref manual.
please guide
2024-08-14 10:30 PM
Your inputs are useful for me.
Please check on this
Can you please let us know the rationale for this like is or is it mentioned anywhere in datasheet or in ref manual.
please guide.
Or route me to any another member who will be support on this.
2024-08-15 02:58 AM
"This feature is not available for all timers."
So I guess each timer has it's own break inputs, and you can probably stop only that specific PWM.
2024-08-15 04:16 AM
The fact that break acts asynchronously is very clearly described in the detailed description of the break mechanism in the Using the break function subchapter of TIM chapter in RM.
Only timers with complementary outputs (Advanced timers like TIM1, TIM8, TIM20, and also TIM15-TIM17) have break implemented.
JW