AnsweredAssumed Answered

Peripherals Tool: FTM Prescale Value missing In CLOCK_SOURCE macro

Question asked by Stephen Noonan on Dec 20, 2017
Latest reply on Dec 20, 2017 by Alice_Yang

I was using the new Peripheral tools in MCUXpresso IDE v10.1.0 [Build 589] [2017-11-14] to set up a periodic interrupt using the FTM on a MK66F18 chip.


If I set the prescale value to anything other than 1, the periodic interrupt is incorrect, by exactly the ratio of the prescalar.


The generated code is apparently missing the division of the clock by the prescale value. In peripherals.h:




I believe needs to be something like: