Firefly Open Source Community

Title: UART Communication [Print This Page]

Author: alexxowo    Time: 9/7/2022 21:16
Title: UART Communication
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?
Author: ʱ¼äµÄºûµû    Time: 9/8/2022 19:36
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
Author: Pablo86    Time: 9/29/2022 19:59
Last edited by Pablo86 In 10/5/2022 03:24 Editor

EDIT: I solved my problem





Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1