Sorry, you need to enable JavaScript to visit this website.

MicroZed UART not receiving proper data

Solved
7 posts / 0 new
cerilet
Junior(0)
MicroZed UART not receiving proper data

Hi folks,
I am moving from Zybo to MicroZed. I have a software application which was perfectly sending data though the Zybo's UART (JTAG UART), but now it is only receiving wrong data/characters after installing the CP210x uart-to-usb bridge drivers.
I have tried different baud rates whitout any luck. Moreover, the default configuration of the CP210x is the same as the Zybo's UART, so I have no clue what is going on.
Best regards,
Cerilet

JFoster
Moderator(67)
Hello Cerilet,

Hello Cerilet,

The MicroZeds default configuration for its UART terminal is 115200/8/n/1/n. Please try this and let me know if it solves your issue.

--Josh

cerilet
Junior(0)
Thanks for your answer Josh,

Thanks for your answer Josh,
Yes, that's the configuration I've used.
When writing this command: printf("\n=== START ===\n");
I get this: rlòllì’€Œ‚llll`
I have used the same base Vivado project changing the Zybo for the MicroZed, and I have not changed anything from the UART configuration, and the C software is exactly the same. Very weird.

JFoster
Moderator(67)
Does a simple Hello World

Does a simple Hello World application work properly with your MicroZed?

--Josh

cerilet
Junior(0)
Yes, the program works nicely

Yes, the program works nicely, but not the UART. I have tried as well in linux using minicom and it behaves the same way.
Could be related with the endianness of the data?

JFoster
Moderator(67)
Hello Cerilet,

Hello Cerilet,

When you generate a baremetal Hello World application from the Xilinx example application template does it run successfully and does it display over the UART in the terminal Application?

--Josh

cerilet
Junior(0)
Yes, that worked Josh.

Yes, that worked Josh.
 
Apparently, Vivado does not reconfigure the Zynq block when changing the board on the design. I opened another project where I used the MicroZed to set the same timing values but that didn't work either. I tried as well to remove the Zynq block and add it again with no luck. I had to start a new project from scratch. What a waste of time...
 
Thanks for your help anyway.
 
Cerilet