# Battery charging problem getting +CME ERROR 563

**URL:** <https://forum.sierrawireless.com/t/battery-charging-problem-getting-cme-error-563/6319>\
**Category:** Open AT\
**Created:** [May 17, 2013, 8:10am UTC](https://forum.sierrawireless.com/t/battery-charging-problem-getting-cme-error-563/6319 "2013-05-17T08:10:03Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![GaneshPawate](https://avatars.discourse-cdn.com/v4/letter/g/41988e/32.png) [@GaneshPawate](https://forum.sierrawireless.com/u/GaneshPawate)\
**Post date:** [May 17, 2013, 8:10am UTC](https://forum.sierrawireless.com/t/battery-charging-problem-getting-cme-error-563/6319/1 "2013-05-17T08:10:03Z")

</div>

Hi All,

following are the steps I performed to turn on the battery charge management,

1. enabled (AT+WBCM=6,1)
2. management & unsolicited responses stopped (AT+WBCM=0,0)
3. configured (AT+WBCM=4,1) & (AT+WBCM=3,0,4200,3200,4700,1438,601,0,2000,0)
4. AT+WBCM=5 test if charger is connected which returns +WBCM: 5,1 if connected but here I receive +WBCM: 5,0 which means not connected (but DC-IN is on as AT+WIOR+“GPIO01” gives +WIOR: 0)
5. AT+WBCM=1,1 (which returns +CME ERROR: 563 and the AT command document says this is “Charge is not started due to an error, but unsolicited event is activated”)

can you please tell me what could be the problem?

Thanks,

---

<div class="post-metadata">

**Author:** ![lotam](https://avatars.discourse-cdn.com/v4/letter/l/958977/32.png) [@lotam](https://forum.sierrawireless.com/u/lotam)\
**Post date:** [May 20, 2013, 3:36am UTC](https://forum.sierrawireless.com/t/battery-charging-problem-getting-cme-error-563/6319/2 "2013-05-20T03:36:53Z")

</div>

Hi,

May I ask which product you are using?  
Are you using original power supply and battery?

If you are using FXT, the user guide and battery accessory may help:  
[http://developer.sierrawireless.com/en/Resources/Resources/AirLink/Hardware\_specs\_user\_guides/AirLink\_FXT\_Series\_User\_Guide.aspx](http://developer.sierrawireless.com/en/Resources/Resources/AirLink/Hardware_specs_user_guides/AirLink_FXT_Series_User_Guide.aspx)  
[http://developer.sierrawireless.com/en/Resources/Resources/AirLink/Hardware\_specs\_user\_guides/AirLink%20FXT%20Battery%20Accessory%20PTS.aspx](http://developer.sierrawireless.com/en/Resources/Resources/AirLink/Hardware_specs_user_guides/AirLink%20FXT%20Battery%20Accessory%20PTS.aspx)

Thx

---

<div class="post-metadata">

**Author:** ![GaneshPawate](https://avatars.discourse-cdn.com/v4/letter/g/41988e/32.png) [@GaneshPawate](https://forum.sierrawireless.com/u/GaneshPawate)\
**Post date:** [May 20, 2013, 8:26am UTC](https://forum.sierrawireless.com/t/battery-charging-problem-getting-cme-error-563/6319/3 "2013-05-20T08:26:15Z")

</div>

Hi, Thanks for your reply.

> [@](#):
>
> May I ask which product you are using?

FXT009

Are you using original power supply and battery?

I tried with both original and another power supply(with same current [2A] and voltage [12V] specs) but the result is same. after

> [@](#):
>
> AT+WBCM=6,1, AT+WBCM=4,0, AT+WBCM=1,0 and AT+WBCM=3,…,

if I do

> [@](#):
>
> AT+WBCM=5

always I receive +WBCM: 5,0 instead of +WBCM: 5,1 and then if I send

> [@](#):
>
> AT+WBCM=1,1

which returns +CME ERROR: 563 and the AT command document says this is “Charge is not started due to an error, but unsolicited event is activated”

can you please tell me what could be the problem and are these steps to send AT commands are correct?

More Information:  
I want to use DC-IN to charge the battery  
Open AT application framework - 2.37.4  
Developer studio - 2.3.0  
OS package 6.37

> [@](#):
>
> If you are using FXT, the user guide and battery accessory may help:

Thanks for the links to the documents. I have read those. I did not find any solution specifically for the +CME ERROR: 563. it says charge is not started due to an error but does not give the exact error?

thanks

---

<div class="post-metadata">

**Author:** ![awneil](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@awneil](https://forum.sierrawireless.com/u/awneil)\
**Post date:** [May 20, 2013, 10:49am UTC](https://forum.sierrawireless.com/t/battery-charging-problem-getting-cme-error-563/6319/4 "2013-05-20T10:49:10Z")

</div>

The AT+WBCM charging control only applies when the module itself is directly controlling the charge - see Q26 & WMP datasheets.

AIUI, this is not the case with the FXT Battery Accesory - which could explain what you’re seeing ❓

---

<div class="post-metadata">

**Author:** ![awneil](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@awneil](https://forum.sierrawireless.com/u/awneil)\
**Post date:** [May 20, 2013, 10:52am UTC](https://forum.sierrawireless.com/t/battery-charging-problem-getting-cme-error-563/6319/5 "2013-05-20T10:52:19Z")

</div>

[https://forum.sierrawireless.com/t/app-note-wrongly-classified-external-battery-charging-solut/5183/8](https://forum.sierrawireless.com/t/app-note-wrongly-classified-external-battery-charging-solut/5183/8)

---

<div class="post-metadata">

**Author:** ![GaneshPawate](https://avatars.discourse-cdn.com/v4/letter/g/41988e/32.png) [@GaneshPawate](https://forum.sierrawireless.com/u/GaneshPawate)\
**Post date:** [May 21, 2013, 9:37am UTC](https://forum.sierrawireless.com/t/battery-charging-problem-getting-cme-error-563/6319/6 "2013-05-21T09:37:21Z")

</div>

> [@awneil](#):
>
> The AT+WBCM charging control only applies when the module itself is directly controlling the charge - see Q26 & WMP datasheets.

Thank you very much for this important information.  
can you please give more information on how to control the battery from the modem, I mean what connections I need to do as of now the connection to the battery (6 pins) is coming from the modem and connection configuration is,

modem connector battery connector  
4. VBUS(Yellow) 1. VBUS(Yellow)  
5.VBATT(Orange) 2.VBATT(Orange)  
6.GND(Black) 4.GND(Black)  
7.DC-IN(Red) 5.DC-IN(Red)  
9.BAT(Violet) 3.BAT(Violet)  
10.BAT-ID(Gray) 6.BAT-ID(Gray)

isn’t it the right connection ?  
can you please tell the significance of the VBATT pin as it is not mentioned any where in the documentation?

> [@](#):
>
> viewtopic.php?f=23&t=5700&p=27516&hilit=charging#p27516

I think still SiWi has not released updated documents on battery, which covers all the battery related issues?

thanks

---

<div class="post-metadata">

**Author:** ![awneil](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@awneil](https://forum.sierrawireless.com/u/awneil)\
**Post date:** [May 21, 2013, 1:40pm UTC](https://forum.sierrawireless.com/t/battery-charging-problem-getting-cme-error-563/6319/7 "2013-05-21T13:40:16Z")

</div>

> [@GaneshPawate](#):
>
> can you please give more information on how to control the battery from the modem

I don’t believe that you can control the battery at all from the modem.

AIUI, you can monitor - but not control.

> [@](#):
>
> I think still SiWi has not released updated documents on battery, which covers all the battery related issues?

I think you are correct.

☹

The assumption seems to be that customers will use only the SiWi Battery Accessory - which comes complete with cable.

There seems to be no support for customers to create their own backup solutions.

☹

---

<div class="post-metadata">

**Author:** ![GaneshPawate](https://avatars.discourse-cdn.com/v4/letter/g/41988e/32.png) [@GaneshPawate](https://forum.sierrawireless.com/u/GaneshPawate)\
**Post date:** [May 21, 2013, 4:13pm UTC](https://forum.sierrawireless.com/t/battery-charging-problem-getting-cme-error-563/6319/8 "2013-05-21T16:13:53Z")

</div>

> [@](#):
>
> AIUI, you can monitor - but not control.

Sorry, I meant Monitor. as I said in my previous post, that I always receive +WBCM: 5,0 instead of +WBCM: 5,1 on AT+WBCM=5, why , what could be the problem?

> [@](#):
>
> The assumption seems to be that customers will use only the SiWi Battery Accessory - which comes complete with cable.

If this is the case then its not possible to monitor in my application as I have used my own designed PCB and that 10 pin connector on FXT modem is connected to the power supply and both GPIO’s via PCB, do you suggest any solution so that i can monitor the battery unit through AT commands?

Thanks
