Hi rfarrow2010,
To port the code from primer1 to sprimer2 the most important point is configure the DMA device correctly. Maybe the analog port also. And finally select OSCircle correct version.
Are you sure to remove digitals filters? In my opinion you can implement a low order filters (order 2). One notch filter (stop band) to remove interference line and butter (passband) from 0.5-100Hz.
In 32bits filtering it takes few time.
If you want to save time in filters, instead to work with float operations you should work with integer operations. (Take it account that a small error is introduced.)
I design digital filters with matlab, and then I translate it to C code.
Best regards,
Toni.
Last edited by toni1000 (2011-03-04 09:03:33)