Announcements

Webinar: Integrated solutions for smaller, simpler low-voltage motor control design.
Join the webinar to experience!

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
RJ_0701
Level 3
Level 3
25 sign-ins 10 questions asked 10 replies posted

Hi,

Need to understand is it recommended to use Bdrv_Diagnose() interrupt, as we are not using this interrupt, we are getting CTRL1 OC flag status which makes global shutdown of driver, and need power reset, any suggestion or information will be helpful. 

0 Likes
1 Solution
Sahil_K
Moderator
Moderator
Moderator
25 likes received 250 replies posted First like given

Hi @RJ_0701 ,

I assume you are talking about the Bdrv_Diagnose() function present in the BDRV_EMO_DC_EXAMPLE_TLE986x code. This function is used to let the user know at which MOSFET overcurrent/short has been detected via LEDs and is also used to clear the corresponding flag.
It depends on the user whether they want to use this function or not, but whenever a fault has occurred in BDRV then we have to make sure we are clearing the fault flag. As interrupt sources like ADC1, MU and Bridge Driver (each having a dedicated interrupt node) will have their respective interrupt status flags in the dedicated registers. These flags are not cleared by the core once their corresponding pending interrupt request is serviced. They have to be cleared by software.
Also, once after clearing the flag you have to re-enable BDRV. If you don't want to do power on reset.

Best Regards,
Sahil Kumar

View solution in original post

0 Likes
2 Replies
Sahil_K
Moderator
Moderator
Moderator
25 likes received 250 replies posted First like given

Hi @RJ_0701 ,

I assume you are talking about the Bdrv_Diagnose() function present in the BDRV_EMO_DC_EXAMPLE_TLE986x code. This function is used to let the user know at which MOSFET overcurrent/short has been detected via LEDs and is also used to clear the corresponding flag.
It depends on the user whether they want to use this function or not, but whenever a fault has occurred in BDRV then we have to make sure we are clearing the fault flag. As interrupt sources like ADC1, MU and Bridge Driver (each having a dedicated interrupt node) will have their respective interrupt status flags in the dedicated registers. These flags are not cleared by the core once their corresponding pending interrupt request is serviced. They have to be cleared by software.
Also, once after clearing the flag you have to re-enable BDRV. If you don't want to do power on reset.

Best Regards,
Sahil Kumar

0 Likes

Thank you !! 

0 Likes