I want to configure MPC5777C to use an external oscillator at 40 Mhz (connected to EXTAL pin) with PLL0 and PLL1 as described in the following diagram :
The problem I get is that after the register SIU.SYSDIV is written (see below), the microcontroller resets (in loop)
All PLLs apparently lock correctly, it is when selecting PLL1 as system clock that the problem occurs.
Do you have any idea what is happening? how can I investigate further and find out the cause of the reset? (SIU.RSR indicates Power On reset)
Thanks for the support