Hi,
For CMU_FC_14, CMU_FC_15, and CMU_FC_21, the reference LFREF and HFREF values are too high to match the calculated values.
In sBoot_PtocmuFcArray, LFREF starts with zero.
I have observed that, with the minimum frequency as zero, LFREF can be 3. not zero.
Providing below reference values from the debugger.
sBoot_PtocmuFcArray values - where the calculated HFREF(sBoot_maxFreqsArray ) & LFREF(Boot_minFreqsArray) are being compared with .

Providing HFREF & LFREF calculations below.
| | clock monotor | FIRC_CLF | Fref ~% | F ref MHz | Monitored clock | Fmon ~% | BusClock | F mon,F bus MHz | RCCR[REF_CNT] | Fmon_var_Max | Fmon_var_Min | Fref_var_Max | Fref_var_Min | HTCR[HFREF] | LTCR[LFREF] |
| 10 | CMU_FC_14_GMAC0_TX_CLK | FXOSC_CLK | 0.005 | 40 | GMAC0_TX_CLK | 5 | GMAC0_TX_CLK | 9.6 | 80 | 10.08 | 9.12 | 40.002 | 39.998 | 24 | 15 |
| 11 | CMU_FC_15_GMAC_TS_CLK | FXOSC_CLK | 0.005 | 40 | GMAC0_TS_CLK | 5 | GMAC0_TS_CLK | 9.6 | 80 | 10.08 | 9.12 | 40.002 | 39.998 | 24 | 15 |
| 16 | CMU_FC_21_GMAC0_RX_CLK | FXOSC_CLK | 0.005 | 40 | GMAC0_RX_CLK | 5 | GMAC0_RX_CLK | 25 | 80 | 26.25 | 23.75 | 40.002 | 39.998 | 56 | 44 |
Above are the HFREF and LFREF values as per my calculations.
Table. Comparison between calculated values vs sBoot_PtocmuFcArray
| Calculated values | sBoot_PtocmuFcArray values |
| HFREF | LFREF | HFREF | LFREF |
| 24 | 15 | 16777215 | 0 |
| 24 | 15 | 16777215 | 0 |
| 56 | 44 | 16777215 | 0 |
The reference values cannot be achieved even with the higher frequencies.
This might not be a calculation issue, as the same formula has been applied to the remaining CMU_FCs and those got passed.
Is this an issue in plugins/configurations???