Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
YongseokJeon
Level 4
Level 4
Distributor
50 replies posted 50 questions asked 25 replies posted

Hello.

I don't understand how to calculate ADC result in "millivolt [mV]" using ADC_1_ReadResult_mVolts() function.

a.JPGb.JPG

I think that calculation is needed for ADC conversion value(digital value) to Voltage.

For example, Voltage = Vadc_in * 1024(10bit resolution) / Vdda.

I could get a value in [mV] with ADC_1_GetResult_mVolts() function.

But I couldn't find any calculation or I think I missed something.

Could anyone explain to me?

0 Likes
1 Solution
LinglingG_46
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 10 questions asked

Firstly, find the CapSense_ADC_Adc_INT.c file, then run into the function "CY_ISR(CapSense_ADC_AdcIntrHandler)".

It explains how to calculate the result into mv.

View solution in original post

1 Reply
LinglingG_46
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 10 questions asked

Firstly, find the CapSense_ADC_Adc_INT.c file, then run into the function "CY_ISR(CapSense_ADC_AdcIntrHandler)".

It explains how to calculate the result into mv.