cancel
Showing results for 
Search instead for 
Did you mean: 

How to trigger fault procedure inside High-Resolution Timer (HRTIM) within program code?

ELowe
Associate III

Hi all!

I have NUCLEO H743ZI board, and I am playing with HRTIM.

I am trying to take advantage of fault logic, found in HRTIM module.

HRTIM can have GPIO hardware input, which can shut down all HRTIM outputs, without ANY software overhead.

Now, I would like to trigger this fault logic, but from software. I can shut down HRTIM from software the „usual“ way, but that is multistage process, first one needs to disable counters, then disable outputs, then force all outputs to zero, shut down all interrupts, and so on...

Ideally, I would like to have one memory location, where I can write some value, and afterwards everything would stop, the same way as does fault logic.

Does anyone know how to do that?

0 REPLIES 0