Other Parts Discussed in Thread: C2000WARE
Hi,
I'm using 280049C launch pad for my proto unit building and testing. I'm trying to find the loop times of my code using gpio pins.
I configured GPIO17 as output port using the following statements.
GpioCtrlRegs.GPAMUX2.bit.GPIO17 = 0;
GpioCtrlRegs.GPADIR.bit.GPIO17 = 1;
GpioDataRegs.GPACLEAR.bit.GPIO17 = 1;
Then, I have following statement in mail code
GpioDataRegs.GPATOGGLE.bit.GPIO17 = 1;
Though the value in toggle register is 1, it is not reflecting on gpio pin. When I try to read GPADAT register in each loop, the value of GPIO17 is not changing.
Thanks