We are running TMS320F28066 at 90MHz. The code runs fine without CSM password. If the same code is loaded with CSM password the code hangs (looks to be ITRAP).
Same CSM password enabled code, if I just change the frequency to 80 MHz it runs again. I compared the binaries of the two builds 80 and 90MHz. They are exactly same for entire flash range, except the PLL register init constants.
Note that my PLL init is Div by 4 and Mul by 18 for 20MHz external crystal to make 90MHz. Mul by 18 option is newly added to the datasheet when 90MHz support is added.
I could not able to understand why the same code with clock freq different behaving differently.
Is this a known issue or am I missing something.