UART Q&A
Q1: Why is UART not working normally?
-
Confirm the pin used by the hardware
-
Confirm whether the padmux of the pin is set correctly
Find Pad_Name in
xxx_HW CheckList_xxxx.xlsx
, the first line is reg and bit, the mark in the figure is the value that needs to be set. -
Whether the value of reg matches
If not, please confirm the following:
-
Confirm the
/dev/ttySx
used by uart pinThe serialx corresponds to
/dev/ttySx
, confirm it by checking dts. -
Confirm whether the corresponding pin is used for other purposes in
pioneer3-xxx-padmux.dtsi
. -
Confirm whether the Uart controller inside the chip matches the corresponding padmux
0x101e 0x53(16bit) (It has been set in the rom code)
-
...