Question
How does FDCAN time stamping work exactly on the STM32H7 ?
The FDCAN module generates timestamps for sent and received messages, and you can configure it to use TIM3 as the source. Unfortunately, the documentation is rather thin, so I am left with a few questions:
- Do TIM3 and FDCAN need to run from the same clock or are they synchronized?
- What triggers the timestamp? I suspect this is the SOF bit, and it is sampled once every normal time quantum, so that the trigger resolution is one time quantum
- One probably should not use the timer overflow flag in the CAN module when using TIM3, but check directly in the timer?
- Is there a recommended sequence to get FDCAN time quanta and TIM3 aligned, or should we just run TIM3 with a higher frequency?
