Part Number: TMS320F28335
Other Parts Discussed in Thread: CONTROLSUITE
Tool/software: Code Composer Studio
We are using TMS320f28335 controller and CCS 6.01 version IDE. we have identified that we unable to set GPIO-A data set register though it is configured as GPIO mode and output direction. I have tried to update the GPIO-A data set via watch window, nevertheless it remains at zero. herewith I have attached code snippet for your reference.
Sample code:
EALLOW;
GpioCtrlRegs.GPAMUX1.bit.GPIO15 = (BT_U16)0; /* GPIO15 as GPIO15 = 00 */
GpioCtrlRegs.GPADIR.bit.GPIO15 = (BT_U16)1; /* GPIO15 = output */
GpioDataRegs.GPASET.bit.GPIO15 = (BT_U16)1; /* Load output latch high */
EDIS;