Hello everyone,
I just remembered something. This was from when i used Stellaris (not Tiva) with Energia compiler. I remember that everytime i programmed i needed to press the reset button. Why isn't this necessary anymore with the Tiva?
Also, remembered this because of something that happens. I have a code to control RGB LEDs with the DMA. Now sometimes i simply program and everything is fine, but others the LEDs are erratic and i need to press the reset button.
I am using IAR Workbench. What can be doing this? Maybe the IAR doesn't reset the MCU right?
Btw, i keep forgetting to do that but, do you advise always initializing a peripheral like this, or the reset should get all peripherals to default state?
SysCtlPeripheralDisable
SysCtlPeripheralReset
SysCtlPeripheralEnable