You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+10-2Lines changed: 10 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ In the case of the PrawnBlaster, you can program in a series of instructions con
22
22
* Support for timeouts on those waits (with maximum length 42.9 seconds).
23
23
* Ability to internally monitor the length of those waits and report them over the serial connection at the end of the instruction execution.
24
24
* Support for indefinite waits until retrigger (Note: the PrawnBlaster will not report the length of indefinite waits).
25
-
* Support for referencing to an external clock source to synchronise with other devices (may be limited to 50MHz - this has not yet been tested - which would double all of the timing specifications above).
25
+
* Support for referencing to an external clock source to synchronise with other devices (officially limited to 50MHz on the pico but testing has shown it works up to 125MHz, see [#6](https://github.com/labscript-suite/PrawnBlaster/issues/6)).
26
26
27
27
Note 1: The half-period is the time a clock pulse stays high. All clock pulses produced by the PrawnBlaster have a 50-50 duty cycle.
Note the baudrate of `152000` and the requirement that commands be terminated with `\r\n` (CRLF).
64
64
65
-
**Communication during buffered execution should be fine (pending the results of testing detailed in [issue #4](https://github.com/labscript-suite/PrawnBlaster/issues/4)) as serial communication is handled by a separate core.**
65
+
**Communication during buffered execution should be fine (pending the results of testing detailed in [issue #7](https://github.com/labscript-suite/PrawnBlaster/issues/7)) as serial communication is handled by a separate core.**
66
66
67
67
## Supported serial commands.
68
68
Note: the commands are only read if terminated with `\r\n`.
@@ -113,6 +113,14 @@ setclock 1 50000000 0 0 0
113
113
114
114
Note: When configured to use an external reference, the board will revert to the internal clock (at 100 MHz) if the external reference is interrupted.
115
115
116
+
### External reference requirements
117
+
If configured to use an external source (clock mode `1` or `2`, see above), the source must be a 0-3.3V CMOS signal at the frequency you wish to run at.
118
+
This directly clocks the cores running the PrawnBlaster firmware, so minimum pulse lengths are directly related to the reference frequency.
119
+
An external clock of 50MHz means a minimum half-period of `5/50MHz=100ns`.
120
+
An external clock of 100MHz means a minimum half-period of `5/100MHz=50ns`.
121
+
122
+
Note: Officially, the documentation for the Pico says external clock sources can only be up to 50MHz. We have successfully tested up to 125MHz (see [#6](https://github.com/labscript-suite/PrawnBlaster/issues/6)).
123
+
We recommend you personally verify the output of the PrawnBlaster is as expected if running from an external reference above 50MHz.
0 commit comments