Hi Miguel,
Please refer the below ti e2e post regarding the GPIO code.
http://e2e.ti.com/support/dsp/tms320c6000_high_performance_dsps/f/115/t/341382.aspx
I wrote a GPIO code for controlling the Switch S2 from OMAPL138 LCDK.
You can create new thread for your problem and I hope it make sense that other members also get benefited,
[quote]
One more thing, I don't understand the memory address that has to be assigned to the GPIO. If I have 5 GPIO pins configured as outputs, do they have to be assigned to the same memory address? Is there any table where I can find the memory address for each GPIO pin?
[/quote]
Yes, The GPIO has the same memory address for its all IOs. but it will differentiate through GPIO nos.