HI Nik,
On 6/30/06, Addison Nik Martin <nmartin@...> wrote:
> I have developed and prototyped a carrier board for a gumstix connex. I
> need 4 serial ports: 2 rs232, 1 rs485, and 1 to read a 1-wire temp
> sensor. I have a 2 channel rs232 txcvr connected to FFUART and HWUART,
> the RS485 txcvr connected to IRRXD/IRTXD, and I connected the one wire
> device to BTUART, based on this note in the gumstiki:
>
> ============
> Note! Current kernels use ttyS3 (HWUART) for bluetooth. This is
> available on the BTUART pins by setting GPIO42 and 43 to AF3 - and this
> is the default configuration. This can be very confusing if you want to
> use the HWUART for something else! To re-enable HWUART on ttyS3, make
> bluetooth use ttyS1 (see /etc/default/bluetooth) and then set GPIO42 to
> AF1 in and GPIO43 to AF2 out. You can then set GPIO48 to AF1 out (HWUART
> TXD) and GPIO49 to AF1 in (HWUART RXD).
> ============
>
> But, 2 months later, I've gotten my board back from my EEs, and I'm now
> confused by this statement. Can I have 4 ttys active at one time using
> this combination of ports? If so, the note confuses me as to what to
> set the different IO ports to to get tty1-tty4 active.
It's tty0-3 not 1-4
>From the PXA Developer's Manual Chapter 4
FF-TXD is only on GPIO39-AF2
FF-RXD is only on GPIO34-AF1
ST-TXD is only on GPIO47-AF1
ST-RXD is only on GPIO46-AF2
HW-TXD is on GPIO43-AF3, and GPIO48-AF1
HW-RXD is on GPIO42-AF3 and GPIO49-AF1
BT-TXD is only on GPIO43-AF2
BT-RXD is only on GPIO42-AF1
So the only way to get all 4 UARTs is for HWUART to be on pins 48/49
--
Dave Hylands
Vancouver, BC, Canada
http://www.DaveHylands.com/
|