imx28 shutdown on usb connect

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

imx28 shutdown on usb connect

1,459 次查看
shashikanthirem
Contributor III

Hi

when i insert USB with wifi dongle i see imx28 is getting shut down

 

following  are the log

 

Following is the log

[ 102.640000] mxs-battery mxs-battery.0: vdd5v droop interrupt occurred

[ 102.640000].Done, shutting down

[ 102.640000] Successfully sent signal

[ 102.640000] mxs-battery mxs-battery.0: new 5v disconnection detected

[ 102.660000] ehci_fsl_bus_resume, Host 1

标签 (3)
0 项奖励
回复
6 回复数

1,314 次查看
igorpadykov
NXP Employee
NXP Employee

Hi shashikant

USB wifi dongles may require much current and i.MX28 can be turned off

due to brown out events, as described in Chapter 11 Power Supply Reference Manual,

one can try to debug it. May be useful to look at

https://community.nxp.com/docs/DOC-95515 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

1,314 次查看
shashikanthirem
Contributor III

Thanks igor,

for the link

so what we have options to try , if you elaborate would be helpful.

0 项奖励
回复

1,314 次查看
shashikanthirem
Contributor III

i have

1. brownout irq to be disable to try, 

2.

 /* Enable the following if you only have a DCDC_BATT source only and no V
* This includes configurations with and without a supercap on the BATTERY pin as
* shown in the i.MX28 reference schematic (applies to i.MX233 as well).
*
* NOTE: If both a DCDC_BATT and VDD5V source are present, this is not meant to
* select which one to use. This is only for hardware configurations this no
* VDD5V power source.
*/
#define NO_VDD5V_SOURCE

but dont know whats the consequence of it

any other best fix would be appreciated

0 项奖励
回复

1,314 次查看
igorpadykov
NXP Employee
NXP Employee

one can try to debug it, using for example AN4553

Using Open Source Debugging Tools for Linux on i.MX Processors

Best regards
igor

0 项奖励
回复

1,314 次查看
shashikanthirem
Contributor III

On further debug on with battery, 

usb - wifi not connected, i am getting following log

[ 86.940000] mxs-battery mxs-battery.0: new 5v disconnection detected
[ 86.940000] mxs-battery mxs-battery.0: vdd5v droop interrupt occurred
[ 86.940000] mxs-battery mxs-battery.0: vdd5v droop interrupt occurred
[ 86.940000] mxs-battery mxs-battery.0:ddi_power_handle_vdd5v_droop 8b00
[ 86.940000] mxs-battery mxs-battery.0:.Done, shutting down
[ 86.940000] mxs-battery mxs-battery.0: Successfully sent signal
[ 86.990000] mxs-auart mxs-auart.3: Unhandled status 52068d 220b01
[ 86.990000] mxs-auart mxs-auart.3: Cleared TX Data Count & Pulled RTS low,
[ 86.990000] UART Status --> 5206dd
[ 86.990000] , UART Control reg -> 220b01
[ 86.990000] mxs-auart mxs-auart.4: Unhandled status 52028d 220b01
[ 87.110000] mxs-battery mxs-battery.0: state machine failed to schedule
[ 87.210000] mxs-battery mxs-battery.0: state machine failed to schedule
[ 87.310000] mxs-battery mxs-battery.0: state machine failed to schedule
[ 87.410000] mxs-battery mxs-battery.0: state machine failed to schedule
[ 87.510000] mxs-battery mxs-battery.0: state machine failed to schedule
[ 87.610000] mxs-battery mxs-battery.0: state machine failed to schedule
[ 87.710000] mxs-battery mxs-battery.0: state machine failed to schedule
[ 87.810000] mxs-battery mxs-battery.0: state machine failed to schedule
[ 87.910000] mxs-battery mxs-battery.0: state machine failed to schedule
[ 88.010000] mxs-battery mxs-battery.0: state machine failed to schedule
[ 88.110000] mxs-battery mxs-battery.0: state machine failed to schedule
[ 88.210000] mxs-battery mxs-battery.0: state machine failed to schedule

why this we are getting 

 state machine failed to schedule??

0 项奖励
回复

1,314 次查看
igorpadykov
NXP Employee
NXP Employee

from log: [ 86.940000] mxs-battery mxs-battery.0: vdd5v droop interrupt occurred

obviously this is power supplies issue, usb dongle consumes too much power from board.

0 项奖励
回复