# MangOH ADC failed to read

**URL:** <https://forum.legato.io/t/mangoh-adc-failed-to-read/191>\
**Category:** Legato Application Framework\
**Created:** [February 11, 2016, 10:07am UTC](https://forum.legato.io/t/mangoh-adc-failed-to-read/191 "2016-02-11T10:07:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bettarn](https://avatars.discourse-cdn.com/v4/letter/b/8e7dd6/32.png) [@Bettarn](https://forum.legato.io/u/Bettarn)\
**Post date:** [February 11, 2016, 10:07am UTC](https://forum.legato.io/t/mangoh-adc-failed-to-read/191/1 "2016-02-11T10:07:50Z")

</div>

Hello,

I currently have posted regarding problems running eCall on MangOH board. Now, I am finding the adc\_read is failing with error like:  
Feb 11 09:58:38 swi-mdm9x15 user.err Legato: =ERR= | modemDaemon[571]/le\_pa T=main | pa\_adc\_qmi.c pa\_adc\_ReadValue() 118 | Failed to read adc channel 5

I have tried this with both ext adc channels (5, 6) and two others (0, 1). I see in the MangOH fw release notes there are some issues with adc, but it doesn’t mention channels 5,6.

Currently, I only have GPIO service working ok on MangOH board. Do I have a fundamental problem (ecall and adc seem to have problems in pa layer)?

Thanks,  
Wayne.

MangOH platform running legato 15.10.1.Beta  
Firmware Version: SWI9X15Y\_07.05.01.00 r30585 CARMD-EV-FRMWR1 2015/12/08 01:28:58  
Bootloader Version: SWI9X15Y\_07.05.01.00 r30585 CARMD-EV-FRMWR1 2015/12/08 01:28:58  
Linux Version: 3.14.29ltsi-bfda7d39c8\_b6c4f16553 #2 PREEMPT Tue Dec 8 04:11:15 PST 2015  
Devstudio building for target with legato.sdk.15.10.0.wp85-native-x86\_64-201511181507.

---

<div class="post-metadata">

**Author:** ![Rex\_alex](https://avatars.discourse-cdn.com/v4/letter/r/73ab20/32.png) [@Rex\_alex](https://forum.legato.io/u/Rex_alex)\
**Post date:** [May 18, 2016, 10:11am UTC](https://forum.legato.io/t/mangoh-adc-failed-to-read/191/2 "2016-05-18T10:11:10Z")

</div>

Hi,  
[url][forum.mangoh.io - Sierra Wireless Forum](https://forum.sierrawireless.com/viewtopic.php?f=181&t=9696%5B/url%5D) might help you 😃

-Alex

---

<div class="post-metadata">

**Author:** ![awneil](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@awneil](https://forum.legato.io/u/awneil)\
**Post date:** [June 11, 2016, 1:44pm UTC](https://forum.legato.io/t/mangoh-adc-failed-to-read/191/3 "2016-06-11T13:44:32Z")

</div>

> [@Bettarn](#):
>
> I see in the MangOH fw release notes there are some issues with adc

I think the issue was, basically, “It Did Not Work” - at least, not before FW 16.04.0.

And it seems to be a Legato thing - not specific to mangOH ?

[forum.mangoh.io/t/how-to-use-the … 3?u=awneil](http://forum.mangoh.io/t/how-to-use-the-adc-in-an-app/102/3?u=awneil)

[viewtopic.php?f=177&t=9763#p38759](https://forum.sierrawireless.com/viewtopic.php?f=177&t=9763#p38759)

---

<div class="post-metadata">

**Author:** ![Bettarn](https://avatars.discourse-cdn.com/v4/letter/b/8e7dd6/32.png) [@Bettarn](https://forum.legato.io/u/Bettarn)\
**Post date:** [June 29, 2016, 11:02am UTC](https://forum.legato.io/t/mangoh-adc-failed-to-read/191/4 "2016-06-29T11:02:43Z")

</div>

I had some direct support from SWI but I didn’t update my posts.

You are correct, in that release of Legato which I was using for the MangOH h/w, the adc function wasn’t working. It may have been fixed since then. Our solution at the time was to move to the AR7 platform, for which it was working.
