Input Capture exact timings and overcapture, console output
Hi,
(this is my first post here, be gentle)
I'm working with a STM32H743ZI.
I'm currently trying to measure some pulses with the input capture unit. Initially I thought that 480MHz should be enough, but then was let down by the fact, that the timers only run on 120MHz. oh well. But its ok. A resolution of 8ns shall be good enough.
I use the DMA to get my values from the TIM5IC to an array. Works most of the time. I tried using the HRTIM as a clock source but only got timing values that are 4 times as large but apparently offer no higher resolution, so i switched back.
Now I'm wondering how exactly the timing on the input capture unit works. When exactly gets the interrupt bit set? I'm gonna analyze the data further and having an accurate statement would certainly help.
Next problem: sometimes the board is a little bit too slow for the pulses i send and an overcapture gets detected. Is it somehow possible to detect when the overcapture bit was set? I didn't find any ideas how to monitor that bit.
Finally my last question:
how can I set up my board to print some messages on the command window? I'm only connecting the board via USB to CubeIDE, so I'm not even sure if thats possible.
I hope you guys can help. thanks in advance.
cheers
