Hello!
I will assume that your "acceptable" noise ratio is in the same range (less than 1%) as the THD.
-> On one 2ms period, around 0 V, you will have your max quantization noise. Choose the
sampling period small enough so that this noise fits your needs. Be careful with your SPI
requirement: if you find out that your sampling frequency should be, say, 2000 steps per period,
then you have to output samples at 1 MHZ. Then, since 1 sample will require at least 8~10 bits
depending on the converter, plus some possible heading data, then you will end up with a SPI
frequency around 10 MHz. One more thing: if you use a converter with a resolution greater
then 8 bits, then you will likely need to send 2 bytes per sample, which will double your SPI
frequency. Not all microcontrollers are capable of sending SPI data at 20 MHz. Check with ATMEGA.
Dora.