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:08] nick [Table] |
products:sbc:common:applications:gpio:uart [2024/08/06 08:27] (current) nick |
||
|---|---|---|---|
| Line 17: | Line 17: | ||
| | ::: | ::: | | ::: | ::: | ||
| ===== 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 28: | Line 31: | ||
| ```shell | ```shell | ||
| overlays=pwm_ao_a pwm_f uart3 | overlays=pwm_ao_a pwm_f uart3 | ||
| + | ``` | ||
| + | |||
| + | After reboot, you will see the UART device node. | ||
| + | |||
| + | ```shell | ||
| + | $ ls /dev/ttyS3 | ||
| + | /dev/ttyS3 | ||
| + | ``` | ||
| + | |||
| + | <tabbox VIM3 with 5.15 kernel> | ||
| + | |||
| + | Edit ''/ | ||
| + | |||
| + | |||
| + | e.g. Enable '' | ||
| + | |||
| + | ```shell | ||
| + | fdt_overlays=uart3 | ||
| + | |||
| + | ``` | ||
| + | |||
| + | After reboot, you will see the UART device node. | ||
| + | |||
| + | ```shell | ||
| + | $ ls /dev/ttyS3 | ||
| + | /dev/ttyS3 | ||
| + | ``` | ||
| + | |||
| + | <tabbox VIM3L with 5.15 kernel> | ||
| + | |||
| + | Edit ''/ | ||
| + | |||
| + | |||
| + | e.g. Enable '' | ||
| + | |||
| + | ```shell | ||
| + | fdt_overlays=uart3 | ||
| + | |||
| ``` | ``` | ||
| Line 74: | Line 115: | ||
| /dev/ttyS2 | /dev/ttyS2 | ||
| ``` | ``` | ||
| + | |||
| + | </ | ||
| + | |||
| + | |||
| + | ==== Android ==== | ||
| + | |||
| + | <tabbox VIM1S> | ||
| + | |||
| + | '' | ||
| + | |||
| + | |||
| + | <tabbox VIM4> | ||
| + | |||
| + | '' | ||
| + | |||
| + | <tabbox VIM3> | ||
| + | |||
| + | '' | ||
| </ | </ | ||