Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Starting Kit
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Starting Kit
Commits
613e9854
Commit
613e9854
authored
Apr 02, 2014
by
Benoit Rat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: improve grandmaster and standalone section
parent
360b2779
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
34 additions
and
13 deletions
+34
-13
ssk_gm_GPS.jpg
doc/img/ssk_gm_GPS.jpg
+0
-0
ssk_gm_fdelay.jpg
doc/img/ssk_gm_fdelay.jpg
+0
-0
ssk_gm_signals.png
doc/ssk_gm_signals.png
+0
-0
wr-starting-kit.md
doc/wr-starting-kit.md
+34
-13
No files found.
doc/img/ssk_gm_GPS.jpg
0 → 100644
View file @
613e9854
79.7 KB
doc/img/ssk_gm_fdelay.jpg
0 → 100644
View file @
613e9854
78.6 KB
doc/ssk_gm_signals.png
deleted
100644 → 0
View file @
360b2779
70.8 KB
doc/wr-starting-kit.md
View file @
613e9854
...
...
@@ -1405,43 +1405,62 @@ The requirement for the applied signals are:
[
^aroundval
]:
These
values are given on an indicative basis because they depend on the source and
connection you are using.
An example of typical signal generated for GM mode is displayed below:
### Example from GPS
*
Green signal is PPS.
*
Pink signal is 10MHz
.
The common way to use grandmaster mode is with a GPS source where the
input 10MHz signal can be square or sinusoidal
.
![
Grandmaster signals
](
ssk_gm_signals.pn
g
)
![
Grandmaster signals
from GPS (PPS=>Yellow, 10MHz=> Blue)
](
img/ssk_gm_GPS.jp
g
)
Then in the wrc console just execute the following commands:
### Example from a FMC fine-delay
If you have a
[
FMC fine-delay
]
board you can generated the PPS/10MHz by
executing the following commands (using release 2014.04):
~~~
~~~{.sh}
wrc# mode grandmaster
>:$ sudo tools/fmc-fdelay-pulse -o 1 -p ## PPS on #1
>:$ sudo tools/fmc-fdelay-pulse -o 2 -1 ## 10MhZ on #2
~~~
~~~~~~~~~~
![
Grandmaster signals from a FMC fine-delay (PPS=>Yellow, 10MHz=> Blue)
](
img/ssk_gm_fdelay.jpg
)
### Locking
Then in the wrc console of the
[
SPEC+FMCDIO
]
just execute the following commands:
~~~
~~~{.sh}
wrc# ptp stop
wrc# mode gm
wrc# ptp start
~~~
~~~~~~~~~~
And you should obtained:
~~~
~~~{.sh}
SPLL_Init: running as GrandMaster, 1 ref channels, 2 out channels
PLL locking .................. LOCKED
~~~
~~~~~~~~~~
For more information about grandmaster mode you can take a look at:
[
wr_external_reference.pdf
]
.
This document has been written for the WR switch, but timing/accuracy/stability requirements are
similar for the
SPECs
.
similar for the
[
SPEC+FMCDIO
]
.
By default the SPEC+DIO should be configured to be run in GM setup, but if you are not sure please
reset the default value. See
[
Default Mode
](
#default-mode
)
Section.
By default the
[
SPEC+FMCDIO
]
should be configured to be run in GM setup, but if you are not sure please
reset the default value. See
[
Default Mode
](
#default-mode
)
Section. If you
want to run the
[
SPEC+FMCDIO
]
in standalone mode as grandmaster we also
recommand you to modify the startup script as explained in the
[
section below
](
#run-in-standalone
)
Run in standalone
modes
Run in standalone
----------------------------
> **Note**: You need to have the Xilinx JTAG USB platform cable or similar
to perform the next step.
You can also run GM in a full standalone mode in order to transmit WR clock without the need of a PC.
First you need to flash the SPEC with the latest bitstream you can find the package:
http://www.sevensols.com/dl/wr-nic/bin/latest_stable.tar.gz
<http://www.sevensols.com/dl/wr-nic/bin/latest_stable.tar.gz>
To do so you need to generate a MSC file as follow:
...
...
@@ -1458,6 +1477,8 @@ correctly configured for GM by default at power up.
*
(Optional) Finally, if you need to keep this configuration at power up, you can write a small script
on the EEPROM to boot in grandmaster mode.
### EEPROM boot script
~~~
~~~{.sh}
wrc# init erase
wrc# init add ptp stop
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment