AnsweredAssumed Answered

KV5 TRACE_CLKOUT Divider

Question asked by Shawn Mason on Sep 21, 2017
Latest reply on Sep 26, 2017 by Shawn Mason

I'm using a MKV58 and observing the TRACE_CLKOUT.  I found the divider enable in CLKDIV4 disables the output but the divisor appears to have no effect.  I only see the fixed divide-by-2 applied to MCGOUTCLK.  Are additional configuration steps required?

 

SIM->CLKDIV4 &= ~(SIM_CLKDIV4_TRACEDIV_MASK | SIM_CLKDIV4_TRACEFRAC_MASK);
SIM->CLKDIV4 |= (SIM_CLKDIV4_TRACEDIVEN_MASK | SIM_CLKDIV4_TRACEDIV(3U));

Outcomes