Part Number: TMS320F28035
Hi, I'm having a problem toggling GPIO0 reliably using either of the following:
GpioDataRegs.GPASET.bit.GPIO0 = 1 / GpioDataRegs.GPACLEAR.bit.GPIO0 = 1;
or
GpioDataRegs.GPATOGGLE.bit.GPIO0 = 1;
the config:
GpioCtrlRegs.GPAMUX1.bit.GPIO0 = 0;
GpioCtrlRegs.GPADIR.bit.GPIO0 = 1;
GpioDataRegs.GPACLEAR.bit.GPIO0 = 1;
Is the Pin configured correctly?
2. what value is assigned to X, to change the state of GPIO0
GpioDataRegs.GPASET.all = X.
is X declared a long or int?
3.the Pin mux tool output code to configure the GPIO. When the code is pasted into my source, the port pins are
not configure correctly. the device selected is correct and no errors generated, not sure why?
