Hi @EdwinHz
I honestly left the setting on BOARD_BootClockRUN.
However, there is something that really stands out.
Here a screeshot of the config tool

the clock branch leading to the core is well highlighted in blue.
In the post you linked is this sentence:
The issue is caused by the internal ARM PLL which is unable to generate a high enough clock signal on some batches of the RT1170. As described on the post you refer to, the BOARD_BootClockRUN_800M sets the ARM PLL to 2.4GHz, and then sets its divider to 3, and this way it achieves an 800MHz signal. However, this 2.4GHz is basically the absolute maximum operating frequency for this PLL, as the datasheet rates its maximum clock output range as 2496 MHz:
so somehow the PLL doesn't generate frequencies above 2400MHz right? Maybe some parts don't even generate 2350MHz? In fact I have cases where 2400MHz does not work (but I also have cases where it works at 2496MHz!!!)
So, you say, the problem lies in the left side of the image

But if the PLL does not generate the clock, no matter how much it divides CLOCK_ROOT0.DIV, nothing will get to the clock, right?
Then how do you explain that if I divide by 4, (at 600MHz) the core works? This is incontrovertible evidence that the PLL generates clocks at 2.4GHz. And this 2.4GHz is the same that divided by 3 doesn't run the core.
And it works even if I divide by 5 (cores @480MHz), etc. It doesn't work if I divide by 3 (core @800MHz), though.
Not only that, my tests show that the PLL can reach its stated maximum speed 2496MHz as long as the divider is not less than 4. And this happens on the component that dividing 2.4GHz by 3 does not work.
Other evidence: how do you explain that everything starts working again if you use internal DCDC instead of PMIC?
I'll re-post you a more detailed table of results
| | ARM_PLL_CLK (MHz)
| CLOCK_ROOT0.DIV | core clock (MHz)
| result (PMIC)
| result (DCDC)
|
| 1 | 1992 | 2
| 996 | OK | OK |
| 2 | 2400 | 3 | 800 | Fail | OK |
| 3 | 2400 | 4
| 600 | OK | OK |
| 4 | 2388 | 3 | 796 | Fail | OK |
| 5 | 1596 | 2
| 798 | OK | OK |
| 6 | 1800 | 2
| 900 | OK | OK |
| 7 | 2496 | 4
| 624 | OK | OK |
| 8 | 2496 | 3 | 832 | Fail | OK |
In reference to the text quoted above, assuming this is indeed the case then NXP MUST provide the following information:
- The complete and exhaustive list of RT1170 batches affected by the problem
- A new table of PLL parameters, in which the new maximum value (that cannot be exceeded) is given.
- Update the errata describing the workaround in that official document
I will try to do more testing, but to me it seems more like something related to DCDC than PLL
best regards
Max