Hi,
I need information regarding the precise calculation of ADC sampling time, please go through the controller and configuration that I am using:
Controller: S12ZVLA96
f_bus(bus frequency): 32Mhz
ADC : 6-channel 10 bit
ADC operating mode: Restart Mode, Single access mode
ADC Command sequence list length: 36
Please help me with the information on, what will be the time required for completing conversion of one channel, once a command in command list has been loaded.
As per data sheet I found two calculation related to ADC sampling time, below I mentioned those two formula,
1) Conversion time = 5 Bus cycles + 2 ADC conversion cycles
2) Total Sample time = Buffer sample time + Final Sample time
= 2 ADC CLK + 2 ADC CLK
Can you provide how to correlate these two equations, and what will be the total time required for completing the 36 commands , for the above configuration?
Thanks ,
Vyshakh J
Hello Vyshakh J ,
- How do you get the two formulas? Ccoul you please point use screenshot .
- To my understanding , the ADC conversion time includes sample time and hold machine time :
the sample time can configuered using the bit SMP[4:0] of ADCCMD_2 register :
The convesion time = sample tiem +14 ATD.
- And there is a ADC demo and application note , you can refer to:
https://community.nxp.com/message/592008
BR
Alice
Hi Alice,
Thanks for your information. Actually this formula I have made from , some wordings in datasheet. Anyway your information clarified my doubt.Thanks a lot.
Regards,
Vyshakh j
Hi Vyshakh j
Welcome !
Have a great day,
Alice
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------