How to setting ADC in Processor Expert?

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

How to setting ADC in Processor Expert?

855 Views
aaronlee
Contributor V

Hi,

We are trying to measure current in S12ZVCA project. The current range is -500A ~ +500A. We will use current shunt and OPAmp to convert current to voltage. 

Does the S12ZVCA support -2.5V ~ +2.5V ADC reading? Do We need 2 ADC channels  for positive and negative voltage reading?

We need to calculate capacity of power. pastedImage_2.png We are setting the 64MHz clock(Bus clock=32MHz).

pastedImage_10.png

pastedImage_3.png

What is the relation of Number of conversion and Conversion time ?

Do you have any recommend?

Best Regards,

Aaron

Tags (1)
0 Kudos
Reply
1 Reply

650 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Aaron,

- "Conversion time ": The time for one conversion。

pastedImage_1.png

-“ Number of conversion ” :To be more precise , we can use average ADC data, so the Number of conversions

is the numbers of one measurement.

pastedImage_4.png

 -“Does the S12ZVCA support -2.5V ~ +2.5V ADC reading? ”

  I think the S12ZVC ADC only can read positive data ,so you need convert the negative to positive .

 While do you mind create a new case about this question to S12Z hardware thread to make sure :

S12 / MagniV Microcontrollers 


Have a great day,
TIC

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

0 Kudos
Reply