Using multiple UART

Ameba board provides two UART sets (not including Log UART). Corresponding pins can be found in the figure below. For version 1.0.5 or earlier, only one UART set can be used at a time. From version 1.0.6, two UART sets can be used simultaneously. 1 Code reference:
SoftwareSerial myFirstSerial(0, 1); // RX, TX, using UART0
SoftwareSerial mySecondSerial(3, 17); // RX, TX, using UART2
void setup() {
   myFirstSerial.begin(38400);
   myFirstSerial.println("I am first uart.");
   mySecondSerial.begin(57600);
   myFirstSerial.println("I am second uart.");
}
Copyrights ©瑞晟微电子(苏州)有限公司 2021. All rights reserved.
Please confirm that QQ communication software is installed