Part Number: MSP430F2013
When running code on an MSP430F2013 for a sensing application we have firmware that runs at 8MHz using the internal oscillator and calibrated register. However, the datasheet indicates the maximum clock speed for the SD16 module is 1MHz and would require the SMCLK to be divided by 8 when setting up the SD16 module via SD16DIV_3 for example:
SD16CTL = SD16SSEL_1 + SD16REFON + SD16VMIDON + SD16DIV_3
The application sampling rate requires a lower OSR (oversampling ratio) for the SD16 when run at this 1MHz clock speed. The result is that the data converted into SD16MEM0 has a high degree of sample to sample noise, on the order of 250 ADC counts. Simply changing the clock speed to 8MHz (SD16DIV_1) and increasing the OSR by a factor of 2 brings this sample to sample noise down to below 50 ADC counts and the sensing system and algorithm code overall operates much more effectively. Why is the SD16 max clock listed at 1MHz? Why does it work so much better at 8MHz?
