We have had the similar problems with the &(*%(**%^%$@@! PLL
After some experiments:
- CCHR doesnt seem to work on the EVB.
- On our brand new board CCHR does work.... only once after a complete power down (Vdd<0.1) and with the PLL untouched.
- Changing CCHR after the PLL is set has no effect, even after a reset.
-> !!! Power down and discharge Vdd capacitors, power up, set CCHR first, then set SYNCR.
Is this related to the "fix in next silicon" ?
The SYNSR is 0x20 after reset, 0x38 after the PLL is locked.
Bit[5] is supposed to read 0. It doesnt.
Is the documentation wrong ( bits[4-2] should be [5-3] ? ) or incomplete/incorrect about bit[5] ?
I didnt take the effort to find out, the lock bit set/reset-ing description is somewhat fuzzy.
The EVB code sets MFD=5, should be 4 for 60MHz.
Hence our first attempts on the brand new board resulted in a 50MHz PLL and therefore wrong baudrates...
Ps.:
EVB cpu: MCF52235CAL60 datecode GAT0718
New board cpu: MCF52235CAL60 datecode QCH0815