parallel inputs
Posted: Sun Feb 10, 2013 10:36 pm
>from the help line
>We have an Armite and am wondering how fast it is possible to read 14 bits of
data (in parallel) through the I/O ports either in Basic or if necessary in C
for a low-cost medical application. We would like to go at least 90kHz or faster
if possible. Also can this be done by just polling a status (ready) bit or would
an IRQ routine be necessary?
You can read the FIO0PIN register to read 32 bits in parallel on the ARMmite in
either BASIC or C. Details on that and other registers in the NXP user manual.
The logicscope demo actually reads the bits in parallel and then sorts out pin
vs bit later during the display. The rate on the ARMmite is around 1
MSample/sec. So you can easily do 90 KHz using the TIMER for sample spacing.
On the PROplus and SuperPRO, the sample rate exceeds 4 Msamples/sec.
>We have an Armite and am wondering how fast it is possible to read 14 bits of
data (in parallel) through the I/O ports either in Basic or if necessary in C
for a low-cost medical application. We would like to go at least 90kHz or faster
if possible. Also can this be done by just polling a status (ready) bit or would
an IRQ routine be necessary?
You can read the FIO0PIN register to read 32 bits in parallel on the ARMmite in
either BASIC or C. Details on that and other registers in the NXP user manual.
The logicscope demo actually reads the bits in parallel and then sorts out pin
vs bit later during the display. The rate on the ARMmite is around 1
MSample/sec. So you can easily do 90 KHz using the TIMER for sample spacing.
On the PROplus and SuperPRO, the sample rate exceeds 4 Msamples/sec.