Jump to content
  • 0

Zybo Z7 clocks and xscutimer


engrpetero

Question

I've been making reasonable (good, even) progress with the Vitis IDE and the ZyboZ7.  A question though about clocks on this board and their interface to the Zybo.

I've been using the xscutimer module in interrupt mode.  However, I'm struggling to figure out appropriate values for the TIME_LOAD_VALUE.

If I set it to a pretty high number (hex FFFF FFFF) (dec 4,294,967,295), I see events happen at about 0.8s.  If I set it to 9FFF FFFF (dec 2,684,354,559), I see an event about every 0.5s (they scaled pretty linearly).  Since I believe the timer is just counting this many clock cycles, it seems the clock is way too high - somewhere around  5.3E9 (or I'm not sure how to set this value).  

I've looked at the Zybo reference docs and seem some references to clocks (667Mhz).  I will look further at the Arm9 cortex reference to gain some insight.  But if anyone can help me out, much appreciated.

Peter

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hello @engrpetero,

Yes, you should check the Technical Reference Manual https://www.xilinx.com/support/documentation/user_guides/ug585-Zynq-7000-TRM.pdf at Chapter 8.

Also more details about the clocks for Zybo are found in the Reference Manual https://reference.digilentinc.com/reference/programmable-logic/zybo-z7/reference-manual#oscillatorsclocks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...