Hi everyone,
I'm developing an application for the tiva TM4C123. Certain GPIOs/PWMs are connected to an H bridge in order to control a DC motor. When I reset the board (pressing the RST button on it), or run the debugger in CCS, this GPIOs have values that turn the motor on at full speed.
I would like to be able to set the default values of this GPIOs before the program starts, so that the motor doesn't start in these conditions.
I would also like to know if there is a way to set GPIOs to a certain value when the debugger gets to a breakpoint and the program halts (because the motor keeps running as well when that happens).
Best regards,
Claus