Timed sampling with Logic Scope
The ARM can sample the up to 32 data lines at 1 MHz rates in
BASIC. The software library LogicScope.bas is used to coordinate this sampling.
Other sample rates that are multiples of 40 uSec are also
While sampling data the CPU is consumed gathering the 400
samples and then sending them to the PC, at which point processing of the user
program can continue.
<LogicScope.bas> ' call in
support for LogicScope functions
user code to generate the stimulus -- the ScopeDemo engages the
(50,0,0) ' 50 uSec, and trigger on any state
(mask =0, trigger =0)
' stop needed only to handshake with the PC for continuous
keywords: Logic Scope