Arbitrary Pattern Generator Based on Parallax Propellor
tomcrawford
Posts: 1,126
Attached is Spin/PASM code to program a propellor as a 16-bit 1 Mhz arbitrary pattern generator. It can easily be modified to run more slowly (but not much faster), or to have a wider or narrower pattern. The pattern depth is limited only by hub memory availability. A clock is provided for external logic as well as a sync output at the beginning of the pattern. As programmed, the pattern is 64 elements deep.
There are two logic analyzer screen captures. One shows six bits of the entire pattern; the other zooms in on the pattern beginning.
There are two logic analyzer screen captures. One shows six bits of the entire pattern; the other zooms in on the pattern beginning.
Comments