Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Linux] UART Communication

36

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
36

【Linux】 UART Communication

Posted at 9/7/2022 21:16:27      View:3321 | Replies:5        Print      Only Author   [Copy Link] 1#
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

486

Credits

20

Prestige

15

Contribution

intermediate

Rank: 3Rank: 3

Credits
486
Posted at 9/8/2022 19:36:51        Only Author  2#
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        Only Author  3#
Last edited by Pablo86 In 10/5/2022 03:24 Editor

EDIT: I solved my problem
Reply

Use props Report

132

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
132
Posted at before yesterday 02:44        Only Author  4#
I’m truly grateful for your article, it made an unforgettable impact. Free 300-620 valid test tutorial to improve your IT knowledge. Wishing you all the best!
Reply

Use props Report

138

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
138
Posted at before yesterday 18:32        Only Author  5#
The article gave me so many new ideas. Wishing you all the best! Here’s the free OGBA-101 valid test camp materials material.
Reply

Use props Report

133

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
133
Posted at before yesterday 19:20        Only Author  6#
I really appreciate your article, it had a profound effect on me. The rich content of PSP valid exam vce free is available for free, designed to assist you in your studies.
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