ADS7822P Object v2.1: 200Ksps @ 12 bits / 333Ksps @ 6 bits
Bill Henning
Posts: 6,445
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
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
I'm drooling with the need for speed
Care to share some Part #'s.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.mikronauts.com - a new blog about microcontrollers