FX30 ADC read from the console

FX30 -- Legato programmable gateways

FX30 ADC read from the console

Postby CGuyot » Thu Jun 29, 2017 3:59 pm

Good morning,

I am using an FX30 from the Linux console (SSH connection) and I would like to use the ADC1 (pin 5, IO2 of the power cable).

The read command always reports the same value regardless of of the power I apply on the PIN5.

Command used:
$> cat /sys/class/hwmon/hwmon0/device/mpp_05
Response obtained:
Result:9948 Raw:24796

As required by the FX30 user manual, I set the pull-up OFF by the following command:
$> echo 0 > /sys/class/gpio/gpio53/value

Could you advise on the commands to use to obtain a good reading?

Best regards, Christian.
CGuyot
 
Posts: 1
Joined: Tue Aug 09, 2016 11:27 pm
Has thanked: 0 time
Have thanks: 0 time

Re: FX30 ADC read from the console

Postby Moderator » Fri Jul 14, 2017 11:48 am

Hello,
Please contact Sierra Wireless support/ Distributor for this issue.

Thanks & Regards,
Moderator
User avatar
Moderator
 
Posts: 232
Joined: Fri Oct 28, 2005 9:32 am
Has thanked: 0 time
Have thanks: 1 time


Return to Programmable IoT Gateways

Who is online

Users browsing this forum: No registered users and 1 guest