I'm using MK60DN512VLQ10 with MQX 4.1 on a custom PCB.
Currently I have FTM0 configured as a free-running counter from FTM_CLKIN1. I'm driving this with an external 100kHz clock.
However I'd like to have a 32-bit counter, preferably without software intervention, ie interrupts, etc.
I thought I could use FTM1 with prescaler = 65536, but the prescaler doesn't go that high. It only goes to 128.
Can I chain two FTMs together to create a 32-bit counter? The clock source of a given FTM doesn't appear to allow the MSB of a different FTM.
I also have the 100kHz clock going to FTM0_CH4 input, but I'm not using that for anything now.
thanks