News:

Attention: For security reasons,please choose a user name *different* from your login name.
Also make sure to choose a secure password and change it regularly.

Main Menu

Accessing UART1 on zynqmp TEB0911-04

Started by Shridhar, August 07, 2024, 08:54:07 AM

Previous topic - Next topic

Shridhar

Hi,

I am trying to connect Cortex-R5 stdin/out to uart1. I have enabled uart1 on PS, also built the cortex-r5 app with uart1 stdin/out, included uart1 node in system-user.dtsi:
&uart1 {
status = "okay";
};

still no success yet. I couldn't find any info regarding connecting to uart1 on TRM. Could you please give hints regarding this topic? As in what additional modifications necessary! Does uart1 has separate physical pins on the board to connect to host? or Can both uart0 and uart1 be accessed from xmod J24?

Thank you!

JH

Hi,
uart1 is default not activate on our board files with basic PS configuration and also not routed to any IO.
There are some free MIO available which goes to the CPLD and can be forwarded to J35 XMOD, which you can use for UART1. You must do following:
Enable UART1 on your PS with MIO36/37
Change CPLD Firmware to forward this MIO to J35 XMOD and update CPLD firmware with your custom firmware:
https://wiki.trenz-electronic.de/display/PD/SC0911+CPLD
You must connect this Pins inside the CPLD
MIO36--> CPLD G7 --> CPLD C17 --> J35 XMOD A
MIO37<-- CPLD D14 <-- CPLD B19 <-- J35 XMOD B
CPLD Source Code: https://shop.trenz-electronic.de/en/Download/?path=Trenz_Electronic/Motherboards_and_Carriers/TEB0911/REV04/Firmware
Update instructions: https://wiki.trenz-electronic.de/display/PD/TEB0911+CPLD+Firmware

br
John