I’ve successfully uploaded the demo_gpio program to the Arty board but the printing over UART is very flaky. I’m getting garbage when I use a baud rate 115200 and it’s better if I use 57600 instead but it prints the message only partially and the formatting is broken. I’ve tried searching the forums for similar issues, but I did not find anything that addresses this problem. Any help is greatly appreciated!
The clock of Freedom E300 Arty is now 32.5 MHz. See below two codes.
But in Freedom E SDK, the clock is defined 65MHz. See below.
You can change below.
-#define CPU_FREQ 65000000
+#define CPU_FREQ 32500000