9 years, 6 months ago.

the serial port of the Arch Max boards is invalid

when I got the boards, I tested the 3 serial ports,but they did not work,did you have met this problem?

Question relating to:

The Arch Max is an mbed enabled development board for rapid prototyping. It's based on a STM32F407VET6 microcontrolle with an ARM Cortex-M4F core running at 168MHz. It includes an open …

2 Answers

9 years, 6 months ago.

If the led is working then your serial port is working, you need to set your terminal baudrate to 9600 to see the output. Baudrate defaults to 9600 if you don't set a value in your program.

Accepted Answer

I've got the reason, I compile the latest mbed library source code from github,replace the files in Keil project, but didn't replace the .h file in root path of mbed.

posted by jerry liu 17 Jun 2015
9 years, 6 months ago.

How do you test them? Can you share your test program?

  1. include "mbed.h" Serial com1(PA_9,PA_10); Serial com1(PC_6,PC_7); Serial com1(PB_6,PB_7); Serial com3(PB_10,PB_11); DigitalOut myled(LED1);PB3 Serial pc (USBTX,USBRX); int main() { while(1) {

com1.printf("this is a test01\r\n"); pc.printf("\r\n HTTP Server \r\n"); com2.printf("test01\r\n"); com3.printf("test01\r\n"); myled = 1; wait(0.5); myled = 0; wait(0.5); } }

the LED is twinkled, but the Serials don't work.

posted by jerry liu 17 Jun 2015