S12ZVLA ADC sampling time

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S12ZVLA ADC sampling time

673 Views
vyshakhj
Contributor II

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

0 Kudos
3 Replies

513 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

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 :

pastedImage_48.png

the sample time can configuered using  the bit SMP[4:0] of ADCCMD_2 register :

pastedImage_47.png

 The convesion time = sample tiem +14 ATD.

pastedImage_1.png

- And there is a ADC demo and application note , you  can refer to:

https://community.nxp.com/message/592008 

BR

Alice

0 Kudos

513 Views
vyshakhj
Contributor II

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

0 Kudos

513 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

 Hi Vyshakh j

Welcome !


Have a great day,
Alice

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos