AnsweredAssumed Answered

how to control the time interrupt for PDB with KDS 3.2 + KSDK 2.0?

Question asked by Erick Cruz on Apr 12, 2016
Latest reply on Apr 12, 2016 by Alice_Yang

Hi!, I´m working with the FRDM K64-F and I would want to know how to control the time interrupt for the programable delay block (PDB). I alredy checked the K-64 user´s manual and KSDK API Reference and those documents says that I have to configure the 'prescaler divider' and the 'Divider multiplication factor' and I can control the time interrupting by the PDB modulus register, but it doesn´t interrupt at the time that I want (I want the PDB to interrupt 1000 times per second). I'm getting the bus clock frequency by the instruction  CLOCK_GetFreq(kCLOCK_BusClk); but i can´t still control the interrupt timing.