Hello Alice
Thanks again
Sorry you didn’t solve the problem.
In my project MCGIRCLK is used as Timer source clock.
This clock is divided by two dividers MCG_MC[LIRC_Div2] and MCG_SC[FCRDIVthat can be configure by :
1. BOARD_BootClockRUN() (file clock_config.c) or
2. directly by
a. MCG->MC |= MCG_MC_LIRC_DIV2(7); // MCGIRCLK = IRC8M divide by 128
b. MCG->SC |= MCG_SC_FCRDIV(7) ; // MCGIRCLK = IRC8M divide by 128
Doesn’t matter how you configure it in my opinion there is a problem with combination of those two dividers.
Doing few tests I found that the combination of 128 x 128 for DIV2 and FRCDIV is not working.
If for example you will configure it to 128 x 1 or 1 x 128 it will work and this is your working test.
Because writing to MCG register is working you can do simple manual test.
You can change divider values at break point, then run and break point again and see the result if there is flexio read zero or it is OK.
So to summarize it, the question is if there are any limitations on this clock?
BR
Shaul