I’m using eCOS 3.0 to develop firmware intended to run on the M4 core of a Colibri VF61…
I’ve managed to successfully use FTM0 and GPIOs.
When I try to use FTM1, 2 or 3 (using the same code I use for FTM0) they don’t start counting.
- I’ve tried enabling FTM0 and FTM2 clocks with
CYGHWR_HAL_VYBRID_CCM_P->cscdr1 = (1 << 27) | (1 << 25); //FTM0 and FTM2
But It seems to hang A5 core (and also M4 ??)
“printing” CYGHWR_HAL_VYBRID_CCM_P->cscdr1 shows enabled clocks for both FTM0 and FTM1.
Trying to “print” FTM1 registers, hangs M4 core.
¿Any suggestion? ¿Tutorial? ¿Example(s)?