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.

BQ76930EVM: Entering Sleep Mode via Manufacturer Access not working

Part Number: BQ76930EVM
Other Parts Discussed in Thread: BQ78350-R1, BQ78350, EV2400, BQSTUDIO

Hey all,

I'm  trying to put the EVM board into sleep mode using the manufacturer access command 0x0011 which from my understanding should make the SLEEPM bit of the OperationStatus() register high. I'm using the firmware version 1e906build16 if that matters, which I think it does but it was the version the quickstart guide for the board directed me towards on the site. Was this a bug of the older firmware and corrected in R1 or am I misunderstanding how to enable sleepmode for conditions where there is no load.

My end goal is to have it so that the device goes into sleep with no load, then after a certain amount of time in sleep to go into shutdown.

thanks very much for the support,

Scott

  • Hi Scott,
    The current firmware for the board and bq78350-R1 is 1.03 build 22. I would recommend you download that version from the website and program it to the EVM as recommended in the EVM user guide. The -R1 has a change list in the download. There were feature changes.
    Sleep mode worked from default -R1 programming with MAC command 11: command 00, word 0011
    From your description, you may want to set in-system sleep, see the technical reference manual 8.3.3.
    For the system to sleep, see 8.3.1.
    For the system to go from sleep to ship, see 8.4.2
  • We are not using the R1 version since we have an older EVM. Is it a good idea to try to run the R1 firmware on the older chip? The message warning that comes up when I try a new firmware is ominous and states that I could "put the board into an unrecoverable state". My colleague believes we may need to change out the chip?

    thanks for the speedy reply, btw.

    Also the version of the Technical reference I have doesn't have the references to in-system sleep. I think I pulled an older version of the document based on the links in the EVM page.

    - Scott
  • Hi Scott,
    The bq78350 does not have the in-system sleep feature. The bq78350 is not recommended for new designs, it is essentially replaced by the bq78350-R1. The bq78350-R1 firmware will load into the EVM and run fine. If using the EV2400 be sure to update its firmware to v.18 or the latest available, see the EV2400 Firmware Updater in the tool folder.
  • Thanks for the reply,

    I'm still having a number of problems both when forcing the sleep mode and when trying to test with the in system sleep. I've loaded on the R1 firmware as instructed however my issues are with how to actually configure the board to go to sleep once I release the load from the pack terminals.

    I'm still having problems getting the board into Sleep Mode. It seems that the command for 0x0011 does not change the SLEEPM bit of operation status as it explains in the documentation. I'm using the Advanced Comm SMB window and  using the following

    Which I would expect to change the SLEEPM bit of operation status here(after I refresh the registers)

    The other issue I'm having is effectively tripping the in system sleep mode. I can set the DA Config and the Power config such that I would expect with no load that the board would shutdown after about a minute. I'm setting Auto Ship time to 1, the AUTO_SHIP_EN on and the in system sleep bit of DA config. To test I'm disconnecting my 100 Ohm load from the board and disconnecting my communications from the SMB connector. I'm setting the LEDs on the board before disconnecting to see if they turn off at shutdown. I'm not sure if this is a valid test, but the LED's toggle off after a minute, which I suppose indicates the system is off.

  • Hi Scott,
    The SleepM bit in operation status is a trick. I expect it gets set, but if you try to read it you have awakened the gauge and it will not show set. Also the bqStudio dashboard reads periodically so it will wake the part or keep it from going to sleep. The refresh is 4 s and the bus sleep time default is 5 s.
    You have an EVM, so probing the circuit should be easy, it has a number of test points you can fit a probe into. To observe sleep, I would suggest the following sequence:
    1. Program the firmware so you know the settings are default.
    2. Click the Auto Refresh in the bqStudio dashboard to turn it off, it should have a red highlight.
    3. Probe the SDA test point and CHG test point with a scope probe. The SDA test point should show a sequence of activity every 250ms. Set the scope to about 1s/div. CHG should be low.
    4. In the commands panel, set the FET enable. CHG should go high if conditions are normal.
    5. Send the MAC sleep command as above. Within 2 seconds you should see the CHG go low and the character of the SDA signal change, SDA should be less dense but still on the 250ms period. The part is in sleep mode.
    6. Refresh the registers pane in bqStudio. You should see CHG go high again and the SDA change back to a more dense communication. It is awake. Enabling the dashboard will do the same thing.
    7. Set the DA Configuration IN_SYSTEM_SLEEP bit.
    a. The board must have sufficient voltage which it seems you have.
    b. You can click the bit and the write button below the box or double click, enter the value and 'enter'.
    c. If you have the dashboard refresh off in about 5 seconds you should see CHG fall and shortly later the SDA character change. You have sleep.
    8. In Data Memory Settings> Configuration> Power Config set the Auto_Ship_En bit
    9. In Data Memory Power>Ship>Auto Ship Time set it to 1 min. Watch the activity, you should see the part go to sleep with no activity and after about a minute wake up to check things, then shut down.

    It is unlikely, but depending on your EVM (or board) you may have to calibrate the CC offset so the currents are low and the part can sleep and shut down.