Hi ,
I am working on TI MSP430FG4618 experimenter board . Presently , I am working on the ADC12 module on it and I had this doubt :
There are two sampling modes for the module :
1. Extended Sampling Mode
2. Pulse Sampling Mode
In the extended sampling mode , I can control the sampling time more accurately (by the source which I select by giving the SHSx bits ). The total time for sample and conversion will be -- T = tsample + tconversion + tsync . Before this time is over , if I give another trigger to the Sample and Hold block (i.e. if the SAMPCON signal will become high again ) them the ADCTOV flag will be raised . So I can do exact calculations for the T in this mode .
But in the other mode i.e. the pulse sampling mode , the trigger will be given to the sample timer block and then according to the SHTx bits , the sampling period will differ (as multiples of ADC12CLK). But now the thing is my calculations for the next trigger (SHI) will become more complicated since I have to get the trigger at the right time . Isn't the situation more complicated here than before ? I mean if I select SHSx as ADC12SC then I fix my trigger @ 5kHz . What I feel is I may miss some triggers due to the Sample Timer block still being in operation .......
Please Elaborate....
Also please elaborate what is the significance of the Sync block in ADC12 module ( and tsync) and why I cannot modify the ADC12 register values when the ENC = 1 ?
Thanks
Srikant