This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
products:sbc:common:applications:gpio:uart [2023/11/07 05:09] nick [Enable UART] |
products:sbc:common:applications:gpio:uart [2026/09/15 03:27] (current) nick |
||
|---|---|---|---|
| Line 16: | Line 16: | ||
| ^ VIM1S | UART_C | ^ VIM1S | UART_C | ||
| | ::: | ::: | | ::: | ::: | ||
| + | ^ VIM-5 | UART_AO_E | ||
| + | | ::: | ::: | ||
| ===== Enable UART ===== | ===== Enable UART ===== | ||
| + | |||
| + | ==== Linux ==== | ||
| + | |||
| In order to use the UART, you need to enable the UART function via [[products: | In order to use the UART, you need to enable the UART function via [[products: | ||
| Line 42: | Line 47: | ||
| - | e.g. Enable '' | + | e.g. Enable '' |
| ```shell | ```shell | ||
| - | fdt_overlays=uart_e | + | fdt_overlays=uart3 |
| ``` | ``` | ||
| Line 52: | Line 57: | ||
| ```shell | ```shell | ||
| - | $ ls /dev/ttyS4 | + | $ ls /dev/ttyS3 |
| - | /dev/ttyS4 | + | /dev/ttyS3 |
| ``` | ``` | ||
| Line 61: | Line 66: | ||
| - | e.g. Enable '' | + | e.g. Enable '' |
| ```shell | ```shell | ||
| - | fdt_overlays=uart_e | + | fdt_overlays=uart3 |
| ``` | ``` | ||
| Line 71: | Line 76: | ||
| ```shell | ```shell | ||
| - | $ ls /dev/ttyS4 | + | $ ls /dev/ttyS3 |
| - | /dev/ttyS4 | + | /dev/ttyS3 |
| ``` | ``` | ||
| Line 112: | Line 117: | ||
| /dev/ttyS2 | /dev/ttyS2 | ||
| ``` | ``` | ||
| + | |||
| + | <tabbox VIM-5> | ||
| + | |||
| + | Edit ''/ | ||
| + | |||
| + | |||
| + | e.g. Enable '' | ||
| + | |||
| + | ```shell | ||
| + | fdt_overlays=uart_ao_e | ||
| + | |||
| + | ``` | ||
| + | |||
| + | After reboot, you will see the UART device node. | ||
| + | |||
| + | ```shell | ||
| + | $ ls /dev/ttyS4 | ||
| + | /dev/ttyS4 | ||
| + | ``` | ||
| + | |||
| + | |||
| + | </ | ||
| + | |||
| + | |||
| + | ==== Android ==== | ||
| + | |||
| + | <tabbox VIM1S> | ||
| + | |||
| + | '' | ||
| + | |||
| + | |||
| + | <tabbox VIM4> | ||
| + | |||
| + | '' | ||
| + | |||
| + | <tabbox VIM3> | ||
| + | |||
| + | '' | ||
| </ | </ | ||