# Read ADC

**URL:** <https://forum.legato.io/t/read-adc/222>\
**Category:** Legato Application Framework\
**Created:** [May 26, 2016, 9:25am UTC](https://forum.legato.io/t/read-adc/222 "2016-05-26T09:25:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![spastor](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/spastor/32/80_2.png) [@spastor](https://forum.legato.io/u/spastor)\
**Post date:** [May 26, 2016, 9:25am UTC](https://forum.legato.io/t/read-adc/222/1 "2016-05-26T09:25:02Z")

</div>

Hello forum;

I’am testing our product hardware with WP8548-G and legato 16.01.2.

in legato/components/modemServices/platformAdaptor/at/le\_pa/pa\_adc.c, the function pa\_adc\_readvalue is not implemented and return LE\_FAULT.

I say in pm8xxx-adc driver in not possible to read the ADC 0 & 1 form Linux sysfs.

It is possible to read ADC form at cmd ?

Thanks for your reponse. (It is urgent for my hardware tests).

Best regards,  
Sylvain

---

<div class="post-metadata">

**Author:** ![spastor](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/spastor/32/80_2.png) [@spastor](https://forum.legato.io/u/spastor)\
**Post date:** [May 26, 2016, 9:55am UTC](https://forum.legato.io/t/read-adc/222/2 "2016-05-26T09:55:30Z")

</div>

I found in the forum the similar topic  
[url][Access internal ADC of AR7 on legato - Sierra Wireless Forum](https://forum.sierrawireless.com/viewtopic.php?f=177&t=8464%5B/url%5D).

I try the AT!MADC?5 or AT!MADC?6 commands: The result is ERROR.  
I try with number 0 to 5, same result.

My CPU hardware revision is…: SWI9X15Y\_07.05.01.00 r30585 CARMD-EV-FRMWR1

thanks

---

<div class="post-metadata">

**Author:** ![jsu](https://avatars.discourse-cdn.com/v4/letter/j/73ab20/32.png) [@jsu](https://forum.legato.io/u/jsu)\
**Post date:** [June 23, 2016, 3:40pm UTC](https://forum.legato.io/t/read-adc/222/3 "2016-06-23T15:40:50Z")

</div>

Hi,  
looks like your software components are not consistent… if I refer to the release note at [source.sierrawireless.com/resour … erelease9/](http://source.sierrawireless.com/resources/legato/wpfirmwarerelease9/). Did you try to reload all these components as described in this page ?  
BR,  
JS

---

<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 23, 2016, 9:28pm UTC](https://forum.legato.io/t/read-adc/222/4 "2016-06-23T21:28:24Z")

</div>

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