DA14583 ADC Returning wrong value

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at https://www.dialog-semiconductor.com/support . We’ll be fixing bugs / optimising the searching and tagging over the coming days.
2 posts / 0 new
Last post
circatek
Offline
Last seen: 1 year 11 months ago
Joined: 2015-05-27 08:48
DA14583 ADC Returning wrong value

Hi,

We are seeing a problem when trying to read the ADC on the DA14583

We are applying 2100mv to the input, however, this is not working as expected.

 

The setup is as follows:

Attenuator is enabled (GPC_ADC_ATTN3X) 

Single ended is enabled (GPC_ADC_SE)

We read a value of 323 ADC Counts

So in theory, the following calculation should work, however, the value is 1000mV low:

mV = ((1200.0 / 1023.0) * 323) * 3.0 = 1136mV

 

Please advise,

Thanks,

Nigel

Device: 
PM_Dialog
Offline
Last seen: 5 months 2 weeks ago
Staff
Joined: 2018-02-08 11:03
Hi Nigel,

Hi Nigel,

Thanks for your question. Would it be possible to share with me the code snippets that you are using for the ADC configuration?

Thanks, PM_Dialog