Da14683 Not coming out of sleep on internal RC timer

Does anyone know why the DA14683 would not come out of sleep mode?

We have a setup that from a hardware point of view is identical to the development daughter board DA14684 DB AQFN vD.  If we run the code on the daughter board powered on its own by a coin cell it goes to sleep and comes out on the 5seconds on 5 seconds off cycle we have set.

Running the same code on our board it works for a few cycles then stops. Totally baffled, help please.

Parents Reply Children
  • Hi Jeff,

    1, Q: what is status of the low-power Xtal32K oscillator? 
     
    The lower power consumption after waking up the first time can be explained I think: 
    When booting, the chip is operating on the internal LDOs, until first time going into sleep-mode. 
    After that, the more efficient DCDC is used, and VBAT current will be lower than when using the LDOs (0.9 mA vs. 1.2 mA). 

    2, 

    the issue appearing after waking up the first time and using the DCDC makes me think of following: 

    • could the customer try to not use the DCDC at all, and let the chip operate from its internal LDOs all the time - for a test? 
      I thinks there's an API for disabling the DCDC.  Is all stable after disabling the DCDC?     
    • Or, alternatively: for a test, disable the BOD for all rails (BOD_RESET_EN = 0x0) - see explanation for BOD below. 
    • The issue could be related to non-ideal grounding of the bottom ground-pad of the AQFN60 package. 
      Q: Is the PCB design a 2-layer board?  
       

     PCB design comments: 

    • The Ground layer at the Top-side is not ideal, it's not solid.
         The grounding of the decoupling caps is on another ground-plane than the ground used for the DA14683. 
    • Are (multiple) vias used to connect the DA14683 ground-pad (bottom layer) to the Top-side ground?
         These are not visible in the shared layout files. 
         If the ground connection of e.g. the V18 decoupling capacitor (C1) is long (that is: having impedance) to the DA14683 Ground,
         the BOD circuit could be triggered when waking up the first time and using the DCDC (big peak currents in the DCDC). 
       
         

       
      Only small/narrow connections from one side of the ground-plane to the other side: causing some impedance between both ground areas.  

    3, As a test, manually a copper-foil connection could be made (soldered) from one side of the ground to the other side of the ground. 
    Use some wide copper foil to make a more solid ground area. 

  • Hi JH 

    Yes the board is 2 layer, but we also have the same issue on a 4 layer version.

    The 32kHz crystal is running

    We have tried disabling the DCDC and now all seems to work, i am becoming convinced this is grounding issue, so looks like we will have to go to 4 layers to solve the issues.

    Would you be able to review gerbers before we commit?

    Thoughts?

    BR Jeff

  • Hi JH, have redone the artwork

    Inner ground layer next to bottom layer

    This is the ground plane inner layer for the new artwork

    This is the new bottom layer artwork, yo will see the vias for the ground connections 

    I am hoping this will sort the issues, any comments gratefully received.

    Thanks

    BR Jeff

  • Hi Jeff,

    Is this 4 layers board? but same top/bottom You can share the file or screenshot to my email.

    I will share with our HW team for review.

    BR,

    Jason

  • Hi Jason

    We have built first boards modified as specified, except for these first ones do not have the ground planes open beneath the crystal oscillator active pads as you suggested. The next ones do have this change. In meantime we tested the boards, all is working as expected, except for the current consumption in extended sleep mode this is still at 170 to 200uA, any ideas on what this could be caused by, could it be the ground planes not being open under the crystal pads?

    Thanks Jeff

  • Hi Jeff,

    This may because the Flash doesn't sleep.

    You can try to disconnect the power for Flash then test the consumption.

    qspi_automode_flash_power_down this function is putting the flash to low power mode.
    Which flash you are using, default CMD is 0xb9
    BR,
    Jason

     

  • Hi Jason

    The flash is Winbond W25Q80EWUXIE. Have checked the data sheet power down is B9h

    KR

    Jeff

  • Have you tried to cut the flash power supply when in sleep mode? is there any peripheral consumptions?

    what is the power on the EVB