Date: Thu, 28 Apr 2022 17:16:56 +0200 From: Milan Obuch <freebsd-arm@dino.sk> To: freebsd-arm@freebsd.org Subject: Re: uart1 Message-ID: <20220428171656.0922112a@mp2.dino.sk> In-Reply-To: <20220428151142.5c08cdec@thinkbook> References: <20220428151142.5c08cdec@thinkbook>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 28 Apr 2022 18:11:42 +0300 Nick Kostirya <nick@i11.co> wrote: > Hello. > > How use uart1? > > I want use MCU wiht UART interface on NanoPI NEO. > > I use overlay: > > /dts-v1/; > /plugin/; > > / { > compatible = "allwinner,sun8i-h3"; > }; > > &uart1 { > status = "okay"; > }; > > > # dmesg -a | grep uart > uart0: <16750 or compatible> mem 0x1c28000-0x1c283ff irq 35 on > simplebus0 uart0: console (115384,n,8,1) > uart1: <16750 or compatible> mem 0x1c28400-0x1c287ff irq 36 on > simplebus0 > > FreeBSD 12.2-STABLE > > > For test I connect two NanoPI NEO by help RX-TX. > > On first boart I run > cu -l /dev/ttyu1 > > On second boart I run > cu -l /dev/cuau1 > > But I cannot write on first and on second board. > When I did something similar, I used /dev/cuauN on both sides of connection. Maybe you should try it that way as well. Regards, Milan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20220428171656.0922112a>