This shows you the differences between two versions of the page.
|
tutorials:common:how_to_use_the_uart [2014/03/27 18:44] allen |
tutorials:common:how_to_use_the_uart [2014/06/09 19:52] (current) allen |
||
|---|---|---|---|
| Line 335: | 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 test uart3 should 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 347: | 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:选区_050.png?600|}} | + | {{:tutorials:common:选区_061.png?600|}} |
| === See Also === | === See Also === | ||