DSPRelated.com
Forums

DSK6713 GPIO port

Started by mukhtar_057 September 12, 2012
Hi,
I'm working with DSK 6713. I want to know how I can read write data to GPIO port? Also how I can use cpu interrupts with this port?

_____________________________________
you should initialize these register
1. enable GPIO pins from which you want to read or write data.
2. set direction as input or output.
3. read or write GPIO value register according to requirement.

For interrupt
enable GPIO pin and set as input
include vector_intr.asm file and make some change to interrupt vector file on required interrupt.
initalize external interrupt and write ISR.

Regards,
Zeeshan Ansari