I have referred to the sampling scheme of AN13767, but we have low-speed applications and want to use the M/T method to measure the motor position and speed. If the T method is used, should the measurement mode be ICU_MODE_SIGNAL_EDGE_DETECT or ICU_MODE_SIGNAL_MEASUREMENT? I find that the ICU_MODE_SIGNAL_EDGE_DETECT mode cannot detect overflow.
In addition, at high speed, these two modes will frequently enter interrupts. Is there a way to read the sampling period without triggering an interrupt?