Skip to main content
Associate III
August 12, 2024
Solved

BKIN Input to shutdown PWM for motor

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

 

This topic has been closed for replies.
LCE
LCEBest answer
Principal III
August 15, 2024

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

7 replies

ST Employee
August 12, 2024

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.
sagAuthor
Associate III
August 13, 2024

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

sagAuthor
Associate III
August 13, 2024

Also whenever you are saying PWM,

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

LCE
LCEBest answer
Principal III
August 15, 2024

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

waclawek.jan
Super User
August 15, 2024

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