gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Hardware > Any other outputs?

#4743 - slippyr4 - Tue Apr 08, 2003 12:22 pm

Hi,

I'm already using the Link port in UART mode to interface with a PIC microcontroller.

I'm wondering if there's a single other output that can be directly controlled by the GBA? I want to use it to switch on a light programmatically.

The only General IO I know of is the link port, but this is used fully for serial comms with my PIC. and right now, all my PIC IO are used, so I can't make the PIC control the light, unless I upgrade to a different (more complex) PIC, which i'd rather not do.

Is there anything else that might be suitable? I have quite a few wires soldered to the GBA already, and it no longer lives in it's case, so i'm not adverse to modification if thats what i'd need to do.

thanks

jon

#4746 - ampz - Tue Apr 08, 2003 12:59 pm

There are four I/O pins in the link port.
Only two of them are used in UART mode.

#4757 - slippyr4 - Tue Apr 08, 2003 4:50 pm

I'm confused now. The link port has 6 pins- Vcc & GND, SI & SO (Rx and Tx respectively), and the other two (SD and SC) which are used at CTS and RTS.

The SD and SC are needed for a serial link, so where are my two spare gen.pur. IO's ??

#4770 - ampz - Wed Apr 09, 2003 7:30 am

SD and SC are not needed for the serial link.
You don't need hardware handshaking for a serial link, in fact, most do not use it.