Using CON5 header (System Interface Expansion bus) as GPIO

Tarin
Hi,

I wanted to ask if we can use the CON5 header pins (System Interface
Expansion bus) as GPIO pins? By using as GPIO pins, I mean I want to just
switch them on/off, that is, using as control signals. Is it possible to
program them? 

Thank you.

Shahid Riaz
Hello,

Yes sure, a simple hardware can do this. I have used 1 74HC138 (write
config) as address decoder, 2 74HC573 for 16 outputs. For inputs 1 74HC138
(read config) as address decoder, 2 74HC245  for 16 inputs.

Alberto Bisognin
Hello Shahid, can you explain more about this hardware done for you? You
could show a schematic of this hardware?

Alberto Bisognin
Hello, I am testing the expansion connector as GPIO and output, I am
working on the bank of memory 5 (nGCS5), I'm using a 74HC573 for this work,
is not linked directly to the data pins. In the memory map, the starting
physical address of the bank is 0x28000000. I tested it did not work, I
created a dll for direct access to this memory location. Looking at other
peripherals in S3C2440, I saw that for example, the IO pins are physically
at the base address 0x56000000, but are declared at 0xB1600000, someone
could I explain why? If anyone has used the expansion connector and can
help me, thank you. If this works then I can go a detailed outline of how
to connect the expansion port.