joeyhagedorn
New member
I'm working on a project to build a closed-loop controller to drive some galvanometers. Essentially I plan on implementing a simple PID controller in software in the Teensy, to use the dual DACs to drive some large op-amps to control the position of the galvanometers. There will be physical position detectors with a position-sensing circuit that i'll use to feedback via the dual ADCs.
My question is: what's the maximum frequency I can expect to update the DACs? Looking at the spec sheet for the processor, it looks like it guarantees about 33Khz (30µs settling time), but i'm wondering if I can push it significantly faster than that if i'm looking for no more than 10-bit resolution, and i'm not moving full-scale between samples? Should I be operating in DMA mode and writing directly to the DAC registers?
Looks like the ADCs can handle somewhere between 1-24 Mhz in 13-bit mode, so no concern about performance there.
Thanks,
—Joey
My question is: what's the maximum frequency I can expect to update the DACs? Looking at the spec sheet for the processor, it looks like it guarantees about 33Khz (30µs settling time), but i'm wondering if I can push it significantly faster than that if i'm looking for no more than 10-bit resolution, and i'm not moving full-scale between samples? Should I be operating in DMA mode and writing directly to the DAC registers?
Looks like the ADCs can handle somewhere between 1-24 Mhz in 13-bit mode, so no concern about performance there.
Thanks,
—Joey