Hi experts,
I'm trying to generate a soft reset at core 0 at the DSP.
And did the following:
hPllc = CSL_PLLC_open (0); // Opens PLLC Instance 0
// Unlock the kicker to ensure Boot configuration MMR is writeable
CSL_BootCfgUnlockKicker();
CSL_PLLC_setResetCfgReg
(
hPllc, // hPllc Handle to the PLLC instance
0, // wdType Reset type initiated by Watchdog timers. Set 0 for hard reset and 1 for soft reset
0, // resetType Reset type initiated by RESET. Set 0 for hard reset and 1 for soft reset
1 // pllCtrlRstType Reset type initiated by PLL controller. Set 0 for hard reset and 1 for soft reset
);
CSL_PLLC_setResetCtrlReg
(
hPllc, // hPllc Handle to the PLLC instance
CSL_PLLC_RSTCTRL_VALID_KEY, // key Key value to setup
1 //swRstEnable Enable/disable software reset
);
I thought that after this code a soft reset would be occure and the DSP will do a reset.
But nothing happens the program was still running in a while loop I inserted after the posted code.
I would be glad if someone could help me with these.
Regards Frank