Reply by Jeff Brower March 7, 20082008-03-07
Mahmood-

> I configured HPI8 Pins as GPIO and I configure them as output
> I can change HD1-HD7 pins state(0-1) but HD0 pin didn't change.
> Is there anyone who faced with this problem.
> what is the wrong with it?
> my program is
> #define GPIOCR (*(volatile unsigned int*)(0x3C))
> #define GPIOCR_ADDR 0x3C
> #define GPIOSR (*(volatile unsigned int*)(0x3D))
> #define GPIOSR_ADDR 0x3D
> void main()
> {
> GPIOCR=0x00ff;
> GPIOSR=0x00ff;
> // Initialize the board support library
> DSK5416_init();
>
> }

The program above just exits; it doesn't change GPIO pin values over any length of
time. To verify GPIO is working, you need to run a test program in an indefinite
loop. Also you should change the pins in different patterns every 1 sec to do a more
thorough test.

-Jeff
Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution for Commercial & Consumer End Equipment: www.ti.com/dm6467
Reply by mahmood molaei March 7, 20082008-03-07
Dear Group people

I configured HPI8 Pins as GPIO and I configure them as output
I can change HD1-HD7 pins state(0-1) but HD0 pin didn't change.
Is there anyone who faced with this problem.
what is the wrong with it?
my program is
#define GPIOCR (*(volatile unsigned int*)(0x3C))
#define GPIOCR_ADDR 0x3C
#define GPIOSR (*(volatile unsigned int*)(0x3D))
#define GPIOSR_ADDR 0x3D
void main()
{
GPIOCR=0x00ff;
GPIOSR=0x00ff;
// Initialize the board support library
DSK5416_init();

}

regards

Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution for Commercial & Consumer End Equipment: www.ti.com/dm6467