Trenz Electronic GmbH Support Forum

Trenz Electronic Products => Trenz Electronic FPGA Modules => Topic started by: olagrottvik on March 17, 2020, 12:18:01 PM

Title: Factory default clocks on TE0820
Post by: olagrottvik on March 17, 2020, 12:18:01 PM
Hi,

Is the Si5338A programmed with some factory settings on arrival?
If so, what are the output frequencies?

If not, what is the quickest way to program it if one can't run Linux (motherboard has no SD-card)?

Thanks
Title: Re: Factory default clocks on TE0820
Post by: JH on March 17, 2020, 12:36:52 PM
Hi,
not programmed:
https://wiki.trenz-electronic.de/display/PD/TE0820+TRM#TE0820TRM-ProgrammableClockGenerator

can be programmed via FSBL (it will be done with the reference design):
https://wiki.trenz-electronic.de/display/PD/TE0820+Test+Board

In case you has SD and you like to use linux, put
Boot.bin on QSPI and load image.ub over EH --> TFT boot can be done manually on uboot console or add correct options when you create uboot by yourself
or
put image.ub also into the Boot.bin and program QSPI --> load image.ub manually with uboot console into ddr and start or add correct options when you create uboot by yourself
or
use emmc for linux --> emmc is default not formated (so the eaysiest way ist to do this with linux, so start with one of the other options above).

br
John
Title: Re: Factory default clocks on TE0820
Post by: olagrottvik on March 17, 2020, 01:15:45 PM
I don't have an SD-card. Is it possible to run the reference design without it?
Title: Re: Factory default clocks on TE0820
Post by: JH on March 17, 2020, 01:27:01 PM
Hi,
sorry typo:
"In case you has SD and you like to use linux, put " I mean "n case you hasn't SD and you like to use linux, put"

You can use reference design Boot.bin also for QSPI boot. But pregenerated Uboot will try to get access to SD which will failed --> what did you connect to the SD MIO PIns?
So in case of prebuilts from the reference design, you must load image.ub manually over TFT.

br
John
Title: Re: Factory default clocks on TE0820
Post by: olagrottvik on March 17, 2020, 03:20:57 PM
Thanks for your replies, John.

- The SD MIO Pins are unconnected. We thought we didn't need it, but the jitter of PS PLL has forced us to use external clock.

- I'm sorry but what is TFT?

- If we want to change the output frequencies of the Si5338A I guess I need to change the image.ub?
Title: Re: Factory default clocks on TE0820
Post by: JH on March 17, 2020, 03:33:39 PM
Hi,
Quote- I'm sorry but what is TFT?
I mean TFTP --> Load image.ub over Ethernet with Uboot
On your PC install for example:
https://sourceforge.net/projects/tftp-server/
--> you can provide a folder which is accessible via ETH.
With uboot you can get access, see for example:
https://forums.xilinx.com/t5/Embedded-Linux/TFTP-boot-default/td-p/865589
Quote- If we want to change the output frequencies of the Si5338A I guess I need to change the image.ub?
We use FSBL, in this case you must only program Boot.bin
We provide FSBL template which can be load as local repository into Vivado and also a SI CLK Builder project which you can use and modify like you want, see documentation
https://wiki.trenz-electronic.de/display/PD/TE0820+Test+Board
https://wiki.trenz-electronic.de/display/PD/TE0820+Test+Board#TE0820TestBoard-SoftwareDesign-Vitis
https://wiki.trenz-electronic.de/display/PD/TE0820+Test+Board#TE0820TestBoard-SI5338

br
John
Title: Re: Factory default clocks on TE0820
Post by: olagrottvik on March 17, 2020, 11:21:52 PM
Thank you, John.

I solved it by simple modifying the FSBL that we are using.