cancel
Showing results for 
Search instead for 
Did you mean: 

BKIN Input to shutdown PWM for motor

sag
Associate III

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

sag_0-1723450589668.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
LCE
Principal

"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.

View solution in original post

7 REPLIES 7
Sarra.S
ST Employee

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.

sag
Associate III

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

sag
Associate III

Also whenever you are saying PWM,

is it related to any PWM which is controlling my motor gates drives or power supplies?

sag
Associate III

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

sag
Associate III

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.

LCE
Principal

"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.

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