Dear
I am using TMS320c6713 eval kit for laboratory test bench work.
I need to work with GPIO pins as control input output. But i have seen that all
GPIO pins are not working (GPIO 0 to 3 and 8 to 15 pins ). some pins are not
working but it is not fixed specified , vary on eval kit. I have configured properly and active all pins
as a input or output. when i power on the eval kit, all GPIO pins should show active high(3.3v approx) as per datasheet,
but some pins are not like. it may 0 volt or blow 2 volt. I also set SW3 DIP switch for GPIO port.
This type of issue , i am facing presently and not solve properly.
Kindly help me if you know the reason.
I have sent my GPIO configuration code below ...
-------------------------------------------------------
GPIO_Handle hGpio;
GPIO_Config myconfig=
{
0x00000031, /* gpgc */
0x0000FF0F, /* gpen */
0x0000F00F, /* gdir */
0x0000FFFF, /* gpval */
0x00000000, /* gphm */
0x00000000, /* gplm */
0x00000030 /* gppol */
};
or ====
GPIO_pinEnable(hGpio, GPIO_PIN0 | GPIO_PIN1 | GPIO_PIN2 | GPIO_PIN3 | GPIO_PIN8 | GPIO_PIN9 | GPIO_PIN10 | GPIO_PIN11 | GPIO_PIN12 | GPIO_PIN13 | GPIO_PIN14 | GPIO_PIN15);
GPIO_pinDirection(hGpio,GPIO_PIN0,GPIO_OUTPUT);
GPIO_pinDirection(hGpio,GPIO_PIN1,GPIO_OUTPUT);
GPIO_pinDirection(hGpio,GPIO_PIN2,GPIO_OUTPUT);
GPIO_pinDirection(hGpio,GPIO_PIN3,GPIO_OUTPUT);
GPIO_pinDirection(hGpio,GPIO_PIN8,GPIO_INPUT);
GPIO_pinDirection(hGpio,GPIO_PIN9,GPIO_INPUT);
GPIO_pinDirection(hGpio,GPIO_PIN10,GPIO_INPUT);
GPIO_pinDirection(hGpio,GPIO_PIN11,GPIO_INPUT);
GPIO_pinDirection(hGpio,GPIO_PIN12,GPIO_OUTPUT);
GPIO_pinDirection(hGpio,GPIO_PIN13,GPIO_OUTPUT);
GPIO_pinDirection(hGpio,GPIO_PIN14,GPIO_OUTPUT);
GPIO_pinDirection(hGpio,GPIO_PIN15,GPIO_OUTPUT);
---------------------------------------------------------------------------------------------------------------------
Wait for your kind reply ....