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