please choosego to mobile | Continue to access the PC version
View: 11797|Reply: 1

[SOLVED] how to find address UART in Orange Pi Zero?

[Copy link]

2

threads

7

posts

97

credits

Registered member

Rank: 2

credits
97
Published in 2017-2-4 21:08:55 | Show all floors |Read mode
Edited by Giuseppe at 2017-2-7 22:53

Hi!

which address is the UART pins are located next to Ethernet jack.

dmesg | grep tty say:
[    0.000000] Kernel command line: root=UUID=105a9339-b139-4118-a9ad-fb5e9459d409 rootwait rootfstype=ext4 console=tty1 console=ttyS0,115200 cgroup_enable=memory swapaccount=1 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 enforcing=0 loglevel=1 ubootpart=38215543-01 ubootsource=mmc   sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16
[    0.000000] console [tty1] enabled
[    1.096501] uart0: ttyS0 at MMIO 0x1c28000 (irq = 32) is a SUNXI
[    1.096847] console [ttyS0] enabled
[    1.097498] uart1: ttyS1 at MMIO 0x1c28400 (irq = 33) is a SUNXI
[    1.098031] uart2: ttyS2 at MMIO 0x1c28800 (irq = 34) is a SUNXI
[    5.741323] systemd[1]: Created slice system-serial\x2dgetty.slice.
[   10.196639] systemd[1]: Found device /dev/ttyGS0.


second question:
You can confirm the output is CMOS and not TTL?

Thank you

Giuseppe




2

threads

7

posts

97

credits

Registered member

Rank: 2

credits
97
 Author| Published in 2017-2-7 00:17:00 | Show all floors
Edited by Giuseppe at 2017-2-7 00:51

I answer myself maybe it could be useful to some

-  the  pins  located next to Ethernet jack  is: /dev/ttyS1
- UArt2 is :/dev/ttyS2

Both test with  minicom
I connected it to an Arduino by TTL/Cmos converter

Regards
Giuseppe
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list