This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello all, i am facing a problem in adc10-bit of msp430f2132 the problem is
In adc10-bit module i done a configuration it is giving correct answer but in the timing theoretical is not matching with practical, for each conversion one clock cycle is missing on what step the clock is missing i do not know.
in page slau144j 538 and 540 it is clearly show, tsync + tsmple + tconvert takes time for one conversion
eg. for 4SHT internal ref 3.5 adc10clk = adc10osc, DIV = 0.
tsync = 0.5 clock cycle of adc10osc
tsample = 4 clock cycles of adc10osc
tconvert = 13 clock cycles of adc10osc
for 1 clock the time is 0.0000002 sec
if i add all clock i get 17.5 and time is 0.0000035 sec ( 3.5 micor sec), but i am getting 3.22micosec in digital oscilloscope if i count the clock 16.5 is showing 1 clock is missning, here adc10clk is get on when start conversion active it switch off when not needed.
to check adc10clk i configured adc10clk bit in ic according to data sheet msp430f21x2 SLAS578J – NOVEMBER 2007 – REVISED JANUARY 2012 pabe no 49.
please if any one knows about this inform me.
According to the ADC10 Timing Parameters table (SLAS578J, p. 45), ADC10OSC may vary over 3.7-6.3MHz, which my calculator says is +/-25%. A +8% discrepancy wouldn't be very surprising.
It appears (p. 3) that you can put ADC10CLK out on P1.0, which would tell you whether this is the cause.
Hello Sir Can you send the SLAU578j pdf, i tried to download but i could not able to get it.
Regards
Praveen B
Hello sir had you check the waveform and register configuration of adc.
Regards
Praveen B
Sir i got what you want to explain, but i am using internal adc10ckl advantage of using this clk is it provide clk ones adc get starts sample and convert after completing it will not provide ckl( SLAU144j page no 537 22.2.4 section), for every conversion it taking one less clock cycles, we can probe adc10clk on cro.
Thanks
Praveen
Sir I attached the wave form please find it, and Timing of ADC10 is explained in MSP430 family user guide(Page no 538 SLAU144J – December 2004 – Revised July 2013), in my wave form also i observed it stating from falling edge of ADC10CLK it exactly matching user guide it means Tsync is 0.5 ADC10CLK and Tsample is depend upon the user configuration (4, 8, 16, 64 ) in my code i selected 4 SHT and Tconvert is 13 ADC10CLK the total clock for one conversion is 17.5 ( Tsync + Tsample + Tconvert = 17.5 if ADC10CLK = 5MHz it should take 3.5 micorsec.
Regards and Thanks
Praveen
Can you post wave form what you tested, and in my board we are using F2132 i replaced with F1232 board did not support, how you are testing the G2553 ic's ?, The user manual SLAU144j is support MSP430X2XX G2553 and F2132 both for same user manual.
Regards and thanks
Praveen B
**Attention** This is a public forum