Other Parts Discussed in Thread: MSP430F5528
All:
I am using MSP430F5528 processor, and I have a few questions regarding the ADC12.
1. The datasheet has an equation for tsample of
tsample = ln(2n+1) x (Rs + Ri) x Ci + 800 nsec
a. I assume that for 12-bit ADC, the natural log value is 9.011, correct?
b. I would also assume that Ri and Ci are internal resistance and capacitance values for the specific processor. In the case of the F5528, Ri is close to 2k Ohms and Ci is 25 pF, correct?
c. Rs would be the resistance of the driving circuit in front of the ADC input, correct?
d. Where does the "800 nsec" come from?
2. Setting up the ADC12SHT parameter - is the following equation correct?
ADC12SHT = tsample x ADC12CLK
a. After computing, do you then pick a value for ADC12SH that is close but not "under" the value computed.
For instance, I have computed a value of ADC12SHT = 34. Therefore, I cannot use ADC12SHT01 (=32), but I need to go the next higher value. In my case, I chose ADC12SHT02 (=64). But I could have chosen ADC12SHT01+ADC12SHT00 to get a value of 48, correct?
So far, I have been able to confirm that my choices have created the ADC environment where I am getting valid measurements on my ADC inputs. I have also looked at sampling times, and the ADC computations are done in a "timely" fashion. (That is, the interrupt service routine time is well within the sampling period.)