This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335x - Testing UART 1 with new design

Other Parts Discussed in Thread: TEST2

Hi,


We have a new board design and are attempting to confirm basic UART 1 functionality on the hardware. The kernel sees both UARTs that are enabled in the DTS on boot

[    0.739395] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.743692] omap_uart 44e09000.serial: no wakeirq for uart0
[    0.743930] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88, base_baud = 3000000) is a OMAP UART0
[    1.388826] console [ttyO0] enabled
[    1.393364] omap_uart 48022000.serial: no wakeirq for uart0
[    1.399544] 48022000.serial: ttyO1 at MMIO 0x48022000 (irq = 89, base_baud = 3000000) is a OMAP UART1

It is seen as ttyO1

root@test2:~# stty -F /dev/ttyO1 -a       
speed 9600 baud;stty: /dev/ttyO1
 line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon
-ixoff -iuclc -ixany -imaxbel -iutf8
-opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0
ff0
-isig -icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl echoke

checking the pingroup

root@test2:~# cat /sys/kernel/debug/pinctrl/44e10800.pinmux/pingroups
registered pin groups:

group: pinmux_uart1_pins_default
pin 94 (44e10978.0)
pin 95 (44e1097c.0)
pin 96 (44e10980.0)
pin 97 (44e10984.0)

Shouldn't just doing a simple sending of chars to the device see the TXD pin wiggle?

echo AT > /dev/ttyO1

Thanks, Tom