cancel
Showing results for 
Search instead for 
Did you mean: 

HRTIM permanent Fault request

Yle.53
Associate

Hello,

I'm having fun with hrtim configuration on STM32G4.

To prevent to broke my device, I implement a faults management.

I have also an external event that disable output (delayed idle mode), which can be reactivated by software when external event disappear.

So my problem is: I get the fault and deactivate hrtim timer output. But few nano second later my callback check if there is no more external event and reactivate the output while I still have the fault.

I found a software solution to avoid this but I would prefer an hard one.

I read on the reference manual RM0440 (V5), at page 928 (section 27.3.17) that hrtim had mechanisme to forbidden output activation while fault is present ("In case of a permanent fault request, the output remains in its fault state, even if the software attempts to re-enable them, until the fault source disappears").

But I can't find a way to configure it. I try with lock register without success. Some had informations about this ?

0 REPLIES 0