This shows you the differences between two versions of the page.
tutorials:common:how_to_use_the_uart [2014/03/27 09:42] allen |
tutorials:common:how_to_use_the_uart [2014/06/09 19:52] (current) allen |
||
---|---|---|---|
Line 9: | Line 9: | ||
===== Abstract ===== | ===== Abstract ===== | ||
- | Here is the guide to teach that open the uart port on cubiboard and how to test the uart port is available | + | Here is the guide to teach that how to enable the uart port on cubiboard and how to test the uart port is available . |
- | + | ||
- | In this guide using the cubietruck as an example . | + | |
Line 336: | Line 335: | ||
</code> | </code> | ||
+ | The uart0 3 4 5 6 are available in Cubieboard1 and Cubieboard2 ,while uart0 3 4 7 are available in Cubietruck, but uart0 is debug serial. | ||
- | To make sure the PG06 and PG07 internal loopback,use Dupont Line connect them . | + | To test uart3(or uart4) should make sure the PG06 and PG07 (or PG10 and PG11)internal loopback,use Dupont Line connect them . |
- | If you only open the uart0 3 4, uart3 is mapping the device ttyS1. | + | If you only open the uart0 4, uart4 is mapping the device ttyS1. |
- | While open the uart0 2 3 4, uart3 is mapping the device ttyS2. | + | While open the uart0 3 4, uart3 is mapping the device ttyS1. uart4 is mapping the device ttyS2. |
<code> | <code> | ||
Line 348: | Line 348: | ||
The termial will prinf as below,it prove the uart3 is working . | The termial will prinf as below,it prove the uart3 is working . | ||
- | {{:tutorials:common:选区_052.png?600|}} | + | {{:tutorials:common:选区_061.png?600|}} |
=== See Also === | === See Also === |