Hi, Edriano,
I see that you want to get a stable tick for the quadTimer, the quadtimer can get a external clock from crossbar as it's primary clock source. Pls refer to the following part I copy from MKM34RM. In other words, you can connect a clock source from XBAR_IN0~XBAR_IN8 external pins and route the clock source to primary clock via crossbar. From example, you can connect the clock source to pin PTD0/PXBAR_IN2...., while you can set the crossbar as:
XBAR_SEL4|=0x02<<8; it is okay.
I never have test on my board, but I never have a test for the solution, pls have a try.
BR
Xiangjun Rong
