Tool/software: Code Composer Studio
Hey,
I am currently working on a reset function for the TMS320F28379S. I have seen that the following lines of code will trigger the reset:
WdRegs.WDCR.all = 0x28;
WdRegs.WDCR.all = 0x20;
This function has been set to happen when a certain I2C command is recognized by the microprocessor.
When sending this command the first time, the microprocessor will reset, initialize, and go in its main loop. However, when the command is sent a second time, the microprocessor appears to lock up in assembly somewhere I cannot see.
Looking at the WdRegs, everything appears fine on the first reset. But while locked up in the second reset, WdRegs.WDCR reads 0x00C0. I never write to that reserved bit on the register, so why is this microprocessor locked in this state?