Difference between revisions of "UARTs"

From Gumstix User Wiki
Jump to: navigation, search
(correct link)
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
* Logic level (3.3V)  signals
+
== UARTs ==
* FFUART speeds to 230 kbps  (normally mapped to ttyS0 in the kernel and Y0 in some schematics )
+
 
* HWUART speeds to 921 kbps (normally mapped to ttyS3 in the kernel and Y1 in some schematics)
+
* Both can use RxD, TxD, RTS, CTS.
+
* STUART speeds to 230 kbps (normally mapped to ttyS2)
+
* BTUART is not an exposed interface; mapped to ttyS1 by the kernel and connected physically to the bluetooth module if one is present.
+
  
 
* 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).
 
* 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).
Line 10: Line 6:
  
  
http://docwiki.gumstix.org/Gumstix_UARTs
+
=== FFUART ===
 +
 
 +
<br>
 +
 
 +
{| border="1" cellpadding="5" cellspacing="0" style="width:100px"
 +
|-
 +
| style="background:lightblue;" | FF_CTS
 +
|-
 +
| style="background:lightblue;" | FF_RTS
 +
|-
 +
| style="background:lightblue;" | FF_TXD
 +
|-
 +
| style="background:lightblue;" | FF_RXD
 +
|}
 +
 
 +
 
 +
* Logic level (3.3V) signals
 +
* Speeds to 230 kbps
 +
* Normally mapped to ttyS0 in the kernel and Y0 in some schematics
 +
* FFUART pins are located on the [http://www.gumstix.net/Hardware/view/I/O-connectors-cabling/Gumstix-Verdex-Pro-Verdex-Connex-Basix-60-pin-connector/112.html 60-pin Hirose] connector
 +
* [http://www.gumstix.org/schematics/B00002-FFUART.png?nocache=1 Schematic diagram for the FFUART]
 +
 
 +
<br>
 +
<br>
 +
 
 +
=== HWUART ===
 +
 
 +
<br>
 +
 
 +
{| border="1" cellpadding="5" cellspacing="0" style="width:100px"
 +
|-
 +
| style="background:aquamarine;" | HW_CTS
 +
|-
 +
| style="background:aquamarine;" | HW_RTS
 +
|-
 +
| style="background:aquamarine;" | HW_TXD
 +
|-
 +
| style="background:aquamarine;" | HW_RXD
 +
|}
 +
 
 +
 
 +
* Logic level (3.3V) signals
 +
* Speeds to 921 kbps
 +
* Normally mapped to ttyS3 in the kernel and Y1 in some schematics
 +
* HWUART pins are located on the [http://www.gumstix.net/Hardware/view/I/O-connectors-cabling/Gumstix-Verdex-Pro-Verdex-Connex-Basix-60-pin-connector/112.html 60-pin Hirose connector]].
 +
* [http://www.gumstix.org/schematics/B00002-HWUART.png?nocache=1 Schematic diagram for the HWUART]
 +
 
 +
<br>
 +
<br>
 +
 
 +
=== STUART ===
 +
 
 +
<br>
 +
 
 +
* Logic level (3.3V) signals
 +
* Speeds to 230 kbps
 +
* Normally mapped to ttyS2
 +
* [http://www.gumstix.org/schematics/B00003-FF_ST_UARTS.png?nocache=1 Schematic diagram for the STUART]
 +
 
 +
<br>
 +
<br>
 +
 
 +
=== BTUART ===
 +
 
 +
<br>
 +
 
 +
{| border="1" cellpadding="5" cellspacing="0"
 +
|-
 +
| style="background:dodgerblue;width:100px;" | BT_CTS
 +
|-
 +
| style="background:dodgerblue;" | BT_RTS
 +
|-
 +
| style="background:dodgerblue;" | BT_TXD
 +
|-
 +
| style="background:dodgerblue;" | BT_RXD
 +
|}
 +
 
 +
 
 +
{| border="1" cellpadding="5" cellspacing="0"
 +
|-
 +
| style="background:dodgerblue;width:100px;" | BT_NRESET || Bluetooth reset (output, active low)
 +
|-
 +
| style="background:dodgerblue;" | CLK_32 || 32.768 kHz Clock output
 +
|}
 +
 
 +
 
 +
* Logic level (3.3V) signals
 +
* BTUART pins are located on the [http://www.gumstix.net/Hardware/view/I/O-connectors-cabling/Gumstix-Verdex-Pro-Verdex-Connex-Basix-60-pin-connector/112.html 60-pin Hirose connector] and [http://www.gumstix.net/Hardware/view/I/O-connectors-cabling/Gumstix-Verdex-Pro-24-pin-flex-connector/112.html 24-pin flex connector].
 +
 
 +
* It is not an exposed interface; mapped to ttyS1 by the kernel and connected physically to the bluetooth module if one is present.
 +
* BT_NRESET and CLK_32 are for an optional Bluetooth module IC ([http://www.gumstix.net/Hardware/view/I/O-connectors-cabling/Gumstix-Verdex-Pro-24-pin-flex-connector/112.html 24-pin flex connector] only)
 +
 
 +
<br>
 +
<br>
 +
 
 +
 
 +
 
 +
<br>
 +
<br>
 +
<br>
 +
<br>
 +
<br>
 +
-----------------------------
 +
 
 +
Related pages on the old wiki:
 +
 
 +
http://docwiki.gumstix.org/index.php/Gumstix_UARTs
 +
 
 +
http://docwiki.gumstix.org/index.php/Gumstix_motherboard_I/O#UART
 +
 
 +
http://docwiki.gumstix.org/index.php/Tips_and_tricks#UARTs
 +
 
 +
 
 +
.
 +
[[Category:Literature]]

Latest revision as of 11:55, 11 November 2009

UARTs

  • 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).


FFUART


FF_CTS
FF_RTS
FF_TXD
FF_RXD




HWUART


HW_CTS
HW_RTS
HW_TXD
HW_RXD




STUART




BTUART


BT_CTS
BT_RTS
BT_TXD
BT_RXD


BT_NRESET Bluetooth reset (output, active low)
CLK_32 32.768 kHz Clock output


  • It is not an exposed interface; mapped to ttyS1 by the kernel and connected physically to the bluetooth module if one is present.
  • BT_NRESET and CLK_32 are for an optional Bluetooth module IC (24-pin flex connector only)










Related pages on the old wiki:

http://docwiki.gumstix.org/index.php/Gumstix_UARTs

http://docwiki.gumstix.org/index.php/Gumstix_motherboard_I/O#UART

http://docwiki.gumstix.org/index.php/Tips_and_tricks#UARTs


.