Read LICELL Voltage in Software (Linux) from MMPF0200

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Read LICELL Voltage in Software (Linux) from MMPF0200

Jump to solution
1,308 Views
neuro
Contributor III

Hello,

I am currently running a system with an i.MX6 Solo X and a PF 200 power manager component. I am also running Linux.

I want to read the current voltage of the coin cell from the power manager device (LICELL pin).

I've been reading http://cache.freescale.com/files/analog/doc/data_sheet/MMPF0200.pdf?fasp=1&WT_TYPE=Data%20Sheets&WT_... 

but no luck. I realize there is the i2c control for the coin cell however I don't want to set the voltage but only read the current voltage coming out of the battery via the power manager.

If there is a way to read on linux via sysfs that would be best. I know of the regulator devices in /sys/class/regulators but I'm not sure which one would be the for the external lithium ion battery (LICELL).

Thank you

0 Kudos
Reply
1 Solution
1,196 Views
diegoadrian
NXP Employee
NXP Employee

Hello,

Unfortunately, that is impossible. You can only set an output voltage. Probably, that is because it needs to be done by a tensor divisor. This type of topology will drop out your output your voltage and it could drain your battery cell.

Best regards,

Diego.

View solution in original post

0 Kudos
Reply
2 Replies
1,197 Views
diegoadrian
NXP Employee
NXP Employee

Hello,

Unfortunately, that is impossible. You can only set an output voltage. Probably, that is because it needs to be done by a tensor divisor. This type of topology will drop out your output your voltage and it could drain your battery cell.

Best regards,

Diego.

0 Kudos
Reply
1,196 Views
neuro
Contributor III

Thank you.

After reading your comment, this makes sense. If you want to read the battery you are draining it with that type of circuitry.

0 Kudos
Reply