Difference between revisions of "UARTs"

From Gumstix User Wiki
Jump to: navigation, search
(correct link)
 
(3 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).
  
 
 
http://docwiki.gumstix.org/Gumstix_UARTs
 
 
== UARTs ==
 
  
  
Line 34: Line 25:
 
* Speeds to 230 kbps  
 
* Speeds to 230 kbps  
 
* Normally mapped to ttyS0 in the kernel and Y0 in some schematics
 
* Normally mapped to ttyS0 in the kernel and Y0 in some schematics
* FFUART pins are located on the [[60pin connector|60-pin Hirose]] connector
+
* 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]
 
* [http://www.gumstix.org/schematics/B00002-FFUART.png?nocache=1 Schematic diagram for the FFUART]
  
Line 59: Line 50:
 
* Speeds to 921 kbps
 
* Speeds to 921 kbps
 
* Normally mapped to ttyS3 in the kernel and Y1 in some schematics
 
* Normally mapped to ttyS3 in the kernel and Y1 in some schematics
* HWUART pins are located on the [[60pin connector|60-pin Hirose]] (Connex and Basix only)
+
* 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]
 
* [http://www.gumstix.org/schematics/B00002-HWUART.png?nocache=1 Schematic diagram for the HWUART]
  
Line 69: Line 60:
 
<br>
 
<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]
 
* [http://www.gumstix.org/schematics/B00003-FF_ST_UARTS.png?nocache=1 Schematic diagram for the STUART]
  
 
<br>
 
<br>
 
<br>
 
<br>
<br>
 
<br>
 
 
  
 
=== BTUART ===
 
=== BTUART ===
Line 101: Line 92:
  
  
* BTUART pins are located on the [[60pin connector|60-pin Hirose]] and [[24pin connector|24-pin flex ribbon]] (Verdex only) connectors.
+
* Logic level (3.3V) signals
* It is not an exposed interface; mapped to ttyS1 by the kernel and connected physically to the bluetooth module if one is present.
+
* 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].
* BT_NRESET and CLK_32 are for an optional Bluetooth module IC ([[24pin connector|24-pin flex ribbon]] only)
+
 
+
  
 +
* 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>
Line 121: Line 112:
 
Related pages on the old wiki:
 
Related pages on the old wiki:
  
http://docwiki.gumstix.org/Gumstix_UARTs
+
http://docwiki.gumstix.org/index.php/Gumstix_UARTs
  
http://docwiki.gumstix.org/Gumstix_motherboard_I/O#UART
+
http://docwiki.gumstix.org/index.php/Gumstix_motherboard_I/O#UART
  
http://docwiki.gumstix.org/Tips_and_tricks#UARTs
+
http://docwiki.gumstix.org/index.php/Tips_and_tricks#UARTs
  
  
 
.
 
.
 
[[Category:Literature]]
 
[[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


.