Difference between revisions of "UARTs"
From Gumstix User Wiki
Searchworks (Talk | contribs) (correct link) |
|||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | == 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). | * 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 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 [ | + | * 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 [ | + | * 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> | ||
| − | |||
=== BTUART === | === BTUART === | ||
| Line 81: | Line 72: | ||
<br> | <br> | ||
| − | {| border="1" cellpadding="5" cellspacing="0 | + | {| border="1" cellpadding="5" cellspacing="0" |
|- | |- | ||
| − | | style="background:dodgerblue;" | BT_CTS | + | | style="background:dodgerblue;width:100px;" | BT_CTS |
|- | |- | ||
| style="background:dodgerblue;" | BT_RTS | | style="background:dodgerblue;" | BT_RTS | ||
| Line 90: | Line 81: | ||
|- | |- | ||
| style="background:dodgerblue;" | BT_RXD | | style="background:dodgerblue;" | BT_RXD | ||
| + | |} | ||
| + | |||
| + | |||
| + | {| border="1" cellpadding="5" cellspacing="0" | ||
|- | |- | ||
| − | | style="background:dodgerblue;" | BT_NRESET | + | | style="background:dodgerblue;width:100px;" | BT_NRESET || Bluetooth reset (output, active low) |
| + | |- | ||
| + | | style="background:dodgerblue;" | CLK_32 || 32.768 kHz Clock output | ||
|} | |} | ||
| − | * BTUART pins are located on the [ | + | * 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. | * 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 112: | 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
Contents
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 |
- 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 60-pin Hirose connector
- Schematic diagram for the FFUART
HWUART
| HW_CTS |
| HW_RTS |
| HW_TXD |
| 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 60-pin Hirose connector].
- Schematic diagram for the HWUART
STUART
- Logic level (3.3V) signals
- Speeds to 230 kbps
- Normally mapped to ttyS2
- Schematic diagram for the STUART
BTUART
| BT_CTS |
| BT_RTS |
| BT_TXD |
| BT_RXD |
| BT_NRESET | Bluetooth reset (output, active low) |
| CLK_32 | 32.768 kHz Clock output |
- Logic level (3.3V) signals
- BTUART pins are located on the 60-pin Hirose connector and 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 (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
.