Re: uart1

Milan Obuch <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
On Thu, 28 Apr 2022 18:11:42 +0300
Nick Kostirya <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.