Shop OBEX P1 Docs P2 Docs Learn Events
ADS7822P Object v2.1: 200Ksps @ 12 bits / 333Ksps @ 6 bits — Parallax Forums

ADS7822P Object v2.1: 200Ksps @ 12 bits / 333Ksps @ 6 bits

Bill HenningBill Henning Posts: 6,445
edited 2007-02-16 14:50 in Propeller 1
I've been having fun optimizing my ADS7822P driver.

I've uploaded v2.1 onto my site (link below), I will upload the next version into the Object exchange (so they don't have to approve a new version every night lol) - next version will add support for an 8:1 mux in front of the ADC.

This version splits the driver into two objects:

ads7822p_spin.spin - the spin version, slow but does not need a cog

ads7822p_200ksps.spin - the tuned 200,000 sample per second (with 12 bit results) version that uses a cog

NOTE:

The sample rate is dependent on the number of bits you ask for. You can get up to 333Ksps if all you need is six bits!

(more in the files and on my site)

--

I should be receiving some 500ksps parts soon [noparse]:)[/noparse]

Best,

Bill

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.mikronauts.com - a new blog about microcontrollers

Comments

Sign In or Register to comment.