Hello all,
I am using Tiva series TM4C123GH6PZ MCU.
I am using PORT F to interface with 6*6 matrix keyboard for that PF0 to PF5 pins are used for ROW connections
and configured as out put pins.
A 8 pin (4.7kohm value) array resistor is connected to pull up the pins.
When i switch on the complete system and try to toggle PF0 pin it not responding i.e it continuously showing LOW status even after writing/configuring High on that perticular pin.
I have tried it with two different PCB's but problem is same with PF0 pin.
Is there anything which i am missing related to PORTF?
My configuration is as below,
//
// Enable row as input gpio
//
SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOF);
GPIOPadConfigSet(GPIO_PORTF_BASE, (GPIO_PIN_0 | GPIO_PIN_1 | GPIO_PIN_2 | GPIO_PIN_3 | GPIO_PIN_4 | GPIO_PIN_5), GPIO_STRENGTH_8MA, GPIO_PIN_TYPE_STD_WPU);
GPIODirModeSet (GPIO_PORTF_BASE, (GPIO_PIN_0 | GPIO_PIN_1 | GPIO_PIN_2 | GPIO_PIN_3 | GPIO_PIN_4 | GPIO_PIN_5), GPIO_DIR_MODE_OUT);
GPIOPinWrite (GPIO_PORTF_BASE, (GPIO_PIN_0 | GPIO_PIN_1 | GPIO_PIN_2 | GPIO_PIN_3 | GPIO_PIN_4 | GPIO_PIN_5), 0x3F);
I have also tried this with example programs which are present in stellarise/Tiva folders,because some examples do not uses any GPIO Configuration,so i tried with just by configuring PORTF.