This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
products:sbc:edge2:applications:gpio:uart [2022/12/02 01:41] ivan |
products:sbc:edge2:applications:gpio:uart [2022/12/02 02:23] ivan [UART] |
||
---|---|---|---|
Line 4: | Line 4: | ||
+ | |||
+ | ===== Introduction ===== | ||
+ | |||
+ | This page introduces the usage of hardware UART on [[products: | ||
+ | |||
+ | <WRAP important > | ||
+ | For Edge2, in order to use the UART , you need to attach the IO extension board. | ||
+ | </ | ||
+ | ===== UART Information ===== | ||
+ | |||
+ | | | ||
+ | ^ Edge2 | UART7 | 12(TX) | ||
+ | | ::: | ::: | ||
+ | ===== Enable UART ===== | ||
+ | |||
+ | In order to use the UART, you need to enable the UART function via [[products: | ||
+ | |||
+ | |||
+ | Edit ''/ | ||
+ | |||
+ | e.g. Enable '' | ||
+ | |||
+ | ```shell | ||
+ | fdt_overlays=edge2-io-uart | ||
+ | ``` | ||
+ | After reboot, you will see the UART device node. | ||
+ | |||
+ | ```shell | ||
+ | $ ls /dev/ttyS7 | ||
+ | /dev/ttyS7 | ||
+ | ``` | ||
+ | |||
+ | |||
+ | ===== Disable UART to Use GPIO ===== | ||
+ | |||
+ | If you want to use normal GPIO instead of UART, you can remove the UART node in [[products: |