Hello,

I have Zoom OMAP 35x Torpedo Development Kit Contents, which includes:

Boards: OMAP3530 Torpedo SOM, Torpedo form factor application baseboard, EMS adpter board

Display: 4.3" WQVGA LCD

SD Memory Cards

and etc

3.7V Lithium-Ion Battery, which capacity is 1100mAh, connects wint main board.

I want to wirte a programm, which give me information about battery charge.

 

Please, help me with algorithm or source code.

I need line BATT_LINE, wich is connected witn module bus in J2.38

 

I try working with gpio signals, getting bit BATT_LINE: DeviceIoControl(hGpio, IOCTL_GPIO_GETBIT,&pin,sizeof(pin),&value,sizeof(value),NULL,NULL), but the answer was 1.

I can't understand, how to start, what i should to do.

Thank you.