Tool/software: TI C/C++ Compiler
Hi,
I am using the EK-TM4C123G board and I would like to use the pins PD0,PD1,PB6,PB7 independently. These pins appear to be all tied together as in it is more like PD0/PB6 are one pin but have two different pins on the board and PD1/PB7 is the same way. Is there a way i can use all four pins as separate GPIO's?
If i use some simple code in the infinite while loop with port D pin 0 declared as an output. (GPIOPinTypeGPIOOutput(GPIO_PORTD_BASE,GPIO_PIN_0|GPIO_PIN_1|GPIO_PIN_2|GPIO_PIN_3);) So the code below should just simply turn PD0 to 2.3V and then back to 0V(This was tested with a voltmeter). However the other pin PB6 also does the same. I would like to have these as separate pins. Any suggestions?
GPIOPinWrite(GPIO_PORTD_BASE,GPIO_PIN_0,0);
SysCtlDelay(7000000);
GPIOPinWrite(GPIO_PORTD_BASE,GPIO_PIN_0,1);
SysCtlDelay(7000000);