Select Power Source, Battery or 5V

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

Select Power Source, Battery or 5V

1,112 Views
erickang
Contributor II

Dear All,

I have a problem to select Power Source with Low Battery Power Source on i.MX233.

I'm using Linux L2.6.31_10.05.02_ER_source.

Firstly I could confirm the normal booting with Full Battery and 5V USB only.

But the board was reset repeatedly when the battery had low power.

Could you tell me how to modify the code to boot with low battery?

Best Regards,

Eric.

Labels (2)
0 Kudos
9 Replies

694 Views
igorpadykov
NXP Employee
NXP Employee

Hi Eric

I would suggest to implement patches from i.MX28 BSP for operation from

4P2 rail, this is described in AN4199 Using the i.MX28 Power Management Unit

and Battery Charge sect.4.1.2.1 VDD5V source only: hardware configuration

L2.6.35_10.12_5V_SUPPLY_PATCH : Linux patch for i.MX28 SDK 2010.12 to add the

most robust support possible for a VDD5V or DCDC_BATT only configuration..

Best regards

igor

0 Kudos

694 Views
erickang
Contributor II

Dear Igor,

Thanks for your response.

I applied your attached patch files,

but the patched bootlets was not improved in Low Battery.

Could you give me any other guide?

Best Regards,

Eric.

0 Kudos

694 Views
igorpadykov
NXP Employee
NXP Employee

Hi Eric

Table 2-3. Recommended Power Supply Operating Conditions IMX23RM

defines operating barrery levels, below them processor can not work.

Best regards

igor

0 Kudos

694 Views
erickang
Contributor II

Dear Igor,

Thanks for your support.

I confirmed the operating battery level and applied the level to the code.

And then I could confirm the booting with Low Battery + 5V.

For this, I just enable 4P2.

But Battery chaging was not operated in Kernel.

Could you tell me how to charge Battery in Kernel?

Best Regards,

Eric.

0 Kudos

694 Views
igorpadykov
NXP Employee
NXP Employee

Hi Eric

please refer to attached file

sect.27.4 Menu Configuration Options

Best regards

igor

0 Kudos

694 Views
erickang
Contributor II

Dear Igor,

Thanks for your response.

I'll check the Menuconfig for Battery Charger.

I have another question for Battery + 5V.

After Booting with Battery + 5V, the power was off when I plug-out 5V USB cable.

Firstly I thought the board was operated with 5V and the battery was charged,
but the board power was offed when I plug-out 5V USB cable.

Could you give me any guidance to operate with 5V when the power source was Battery + 5V?

Best Regards,

Eric.

0 Kudos

694 Views
igorpadykov
NXP Employee
NXP Employee

Hi Eric

could you create new thread for this ?

Best regards

igor

0 Kudos

694 Views
erickang
Contributor II

Dear Igor,

I made new thread like below.

How to apply Battery + 5V Power in kernel in i.MX23

https://community.freescale.com/message/472937#472937

Could you check this thread?

Best Regards,

Eric.

0 Kudos

694 Views
erickang
Contributor II

I made new thread like as below into i.MX Community

How to apply Battery + 5V Power in kernel in i.MX23

0 Kudos