Firefly Open Source Community

   Login   |   Register   |
New_Topic

[Linux] UART Communication

34

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
34
Posted at 9/7/2022 21:16:27     
Hi everyone, recently i get a Firefly ROC 3566-PC. I flashed it with Ubuntu 18.04, and i want create an UART communication with one microcontroller. I'm using this Embedded board as central PC, to work with AI using the RKNN, but, i need an UART communication between this board, and microcontroller board (Designed by own)..
In the  /dev/, i see /dev/ttyFQI0 and /dev/ttyS0, but, i dont get any information in the pins of attached for UART.
I'm new using these microprocessor, i used raspberry and microcontrollers, but in this case, i'm new in this plaftform for embedded systems.
I recent see about modify dts files in kernel, is necessary? pyserial is compatible with this board?
Reply

Use props Report

387

Credits

20

Prestige

12

Contribution

intermediate

Rank: 3Rank: 3

Credits
387
Posted at 9/8/2022 19:36:51     
You need to modify dts to enable serial port function. The serial ports available on the expansion port(J1) are uart3/uart5/uart9.

It will be easier to configure uart3, as follows:
&uart3 {
         status = "okay";
};

Schematic: https://en.t-firefly.com/doc/download/93.html#other_385
已有 1评分Prestige +10 Pack up reason
alexxowo + 10

View all ratings

Reply

Use props Report

22

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
22
Posted at 9/29/2022 19:59:23     
Last edited by Pablo86 In 10/5/2022 03:24 Editor

EDIT: I solved my problem
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list