Trenz Electronic GmbH Support Forum

Trenz Electronic Products => Trenz Electronic FPGA Modules => Topic started by: dm1000 on November 12, 2021, 09:10:18 PM

Title: access to LEDs on TE0701
Post by: dm1000 on November 12, 2021, 09:10:18 PM
I have a TE0820 SOM and TE0701 carrier board. 

Can the PL directly access the LEDs on the TE0701 board? 

Or must you use RGPIO and a Trenz IP block?
Title: Re: access to LEDs on TE0701
Post by: JH on November 15, 2021, 06:51:42 AM
Hi,
RGPIO is possible  or for two LEDs also over Pins:
https://wiki.trenz-electronic.de/display/PD/TE0701+CPLD#TE0701CPLD-LED
or you change TE0701 CPLD Firmware, source code is here:
https://shop.trenz-electronic.de/de/Download/?path=Trenz_Electronic/Modules_and_Module_Carriers/4x5/4x5_Carriers/TE0701/REV06/Documents
Update instructions:
https://wiki.trenz-electronic.de/display/PD/TE0701+CPLD+Firmware

br
John
Title: Re: access to LEDs on TE0701
Post by: dm1000 on November 15, 2021, 06:00:45 PM
I think the answer is the PL cannot directly access the LEDs on the TE0701 without using RGPIO - correct?

I did not find any HDL source for the CPLD at the links you provided.  Nor did I find any update instructions.
Title: Re: access to LEDs on TE0701
Post by: JH on November 16, 2021, 04:57:11 PM
Hi,
sorry download link is https://shop.trenz-electronic.de/de/Download/?path=Trenz_Electronic/Modules_and_Module_Carriers/4x5/4x5_Carriers/TE0701/REV06/Firmware
like it is described here https://wiki.trenz-electronic.de/display/PD/TE0701+CPLD+Firmware


QuoteI think the answer is the PL cannot directly access the LEDs on the TE0701 without using RGPIO - correct?
Two LEDs can be access directly over schematic signal X6 and Y6, all other need RGPIO or Firmware changes.
https://wiki.trenz-electronic.de/display/PD/TE0701+CPLD#TE0701CPLD-LED

br
John
Title: Re: access to LEDs on TE0701
Post by: dm1000 on November 22, 2021, 09:02:12 PM
So X6 can control ULED7 (without RGPIO) on the TE0701?  And this maps to MIO28 on the PS on the TE0820?
And Y6 maps to MIO33 on the TE0820?   Are both of these nets are LVCMOS33?
Title: Re: access to LEDs on TE0701
Post by: JH on November 23, 2021, 07:28:54 AM
Hi,
MIOs are signals from PS. You must enable MIO GPIO and than you can access there via Software.
https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841744/Gpio-PS+standalone+driver#
https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842398/Linux+GPIO+Driver

and yes these MIO Bank is 3.3V. See TE0820 schematics page 10

br
John