Shop OBEX P1 Docs P2 Docs Learn Events
The Need for Speed — Parallax Forums

The Need for Speed

GJGJ Posts: 19
edited 2006-07-24 04:10 in General Discussion
OK, with everyone's help, i have a fully running X-Ray system interface, but alast, it is too slow.· I reduced the code to just scanning 3 74165 Parallel to Serial chips and reading all 8 channels of an MAX1270 12bit A to D.· I commented out all Uart send or receive.· I set a pin high, read the 74165's and the ADC channels.· It takes 25 ms to complete the read.· This yields only 40 cycles per second, but that doesn't include any Uart send/receive.

Is this thing really that slow?· It list out as 8,500 instructions per second, the fastest Basic Stamp SX is roughly twice that, but that would still be marginally fast enough.· I will post my code for review if anyone thinks that my speed results seem vastly too slow.· However, if you think they are about right, then I better begin thinking in another direction.

Thanks

Comments

Sign In or Register to comment.