This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BQ40Z60 emergency shutdown

Other Parts Discussed in Thread: BQSTUDIO, BQ40Z60

We have been trying to use the emergency shutdown feature

Section 5.4.4.2 (Document SLUUA04C-Dec2014) without much success.

 

Our intention is to implement an emergency shutdown by issuing these

commands over the smb bus and then exit from the emergency shutdown

through a button press connected to the GPIO1 pin.

 

So far I haven’t been able to get the device to shutdown.

 

Codes used for shutdown are 

 

In the GUI , writing 0x2706 , quickly followed by 0x043D.

 

Using write word in the advanced sbs tab. Writing to '00'.

 

We are able to initiate emergency shutdown using the button key press.

 

  have also tried codes 0x270C 0x043D

 

  • Hello Ajay,

    Let me review your post and get back to you. Sorry for the delayed response.

  • Hello Ajay,

    Did you set [NR] and [EMSHUT] to 1 in bqStudio "Data Memory" tab >> "Setting" >> "DA Configuration" when testing button key press emergency shutdown as mentioned in section 5.4.4.1?

    5.4.4.1 Enter Emergency Shutdown through SHUTDN When a high-to-low transition on the SHUTDN pin is detected with a debounce delay of about 1 s for the low-level threshold, the gauge will turn off both CHG and DSG FETs immediately. This entry method only applies if [NR] = 1 and DA Configuration[EMSHUT] = 1. If [NR] = 0, the SHUTDN pin will restore to the regular system present detection.

  • Hello Ajay,

    What are you using to send the commands for emergency shutdown through MFC? If you are using bqStudio, the two 0x00 command writes needed must be sent less than 4s apart. Doing so with bqStudio most likely will take longer than the 4s between writes. This could be the issue. I'm working to get you some confirmation on this feature before next Tuesday.

  • Was there any resolution to this issue ? I am experiencing the same issue. I have tried issuing the commands to Manufacturing access '0x00' using the BQstudio advanced SMB command tab, Commands were being sent witnin 4 seconds according to the log. I have also tried implementing these commands in our Linux application without success.

    Commands - sending 0x2706 to 0x00 followed by 0x043D to 0x00

    Also tried sending 0x270C to 0x00 followed by 0x043D to 0x00

    Are there any steps missing? 

    Note: the MFC delay was to '0' and '2' looking for an immediate shutdown.

     

  • Keith,
    The codes 0z2706 and 0z043d are correct for the bq40z60 device. there cannot be any SMBus activity during the process and that commands must be sent with in 4s of one another. You also must have the EMSHUT_EN and NR bits set in the DA Configuration register and pin 15 open on the device. Some customers have also found that send the two commands too quickly causes it to fail. Try leaving a 500ms gap between the two commands.

    Tom
  • just to clarify, command 0x270c followed by 0x043d worked for me.