Code Monkey home page Code Monkey logo

Comments (7)

orgua avatar orgua commented on September 22, 2024

Bughunt1 with nRF-MSP-Target

high base consumption is caused by MSP430 when P6.5 is set to input (I2C.SCL)!
There are two solutions:

set to output

-> not usable for us

test4 plot_1s000_to_5s000_pd

test4 plot_1s500_to_1s550

activate PD-Resistor

-> implemented with 8e8ec48

test4 plot_1s500_to_1s550_pd

from shepherd-targets.

orgua avatar orgua commented on September 22, 2024

Bughunt2 with nrf-only target

  • deep sleep
  • plot shows disconnecting the target at ~2s
  • spikes are caused by nrf somehow
  • disabling several peripherals brings no improvement, see bbdc635

test4 plot_1s000_to_5s000

from shepherd-targets.

orgua avatar orgua commented on September 22, 2024

potentially interesting for @geissdoerfer as i2c-lines in riotee also have no pull-resistor und msp-code is similar to FRAM-fw.

from shepherd-targets.

geissdoerfer avatar geissdoerfer commented on September 22, 2024

Measurements on Riotee show ~4.5uA in sleep mode on the +2V supply (Setup) which is in line with expectations. I2C lines are always pulled high by nRF52 internal pullups (See here) . I've had excessive current consumption which was due to creeping currents on floating msp430 inputs. I suggest you check each individual pin on the MSP430 and make sure it's either configured as output or driven by an external signal.

from shepherd-targets.

orgua avatar orgua commented on September 22, 2024

wow, thx for the quick reply! I only saw that behavior on that one pin (with all Boards) and the PD fixed it. It seems to be the worst case - the nRF52 only goes to sleep here - no GPIO configuration. As we don't control the nrf-code and the target-boards are already manufactured the safest implementation would be to activate pull-resistors. Will just monitor consumption for now.

Do you know if the nRF-spikes are normal? Or how to get rid of them? I've even tried switching to dc/dc for reg0 and reg1.

from shepherd-targets.

geissdoerfer avatar geissdoerfer commented on September 22, 2024

Well then all other pins seem to be configured right. The creeping currents I observed were very unpredictable and appeared and disappeared on individual pins. Exhaling on the board clearly showed that floating inputs were the culprit.
It's a bummer that we forgot to add external pullups. Omitting them saved space on riotee but at least reserving footprints on the target would have made sense.

Yes the spikes are normal and I've always had them when looking at sleep currents. Apparently the nrf duty cycles the LDO to save power. They call it "refresh mode". I think the DC/DC is always disabled in sleep mode independent of the config register.

from shepherd-targets.

orgua avatar orgua commented on September 22, 2024

Ok, both MCU sleeping is now down to ~21nA.
MSP430 has PD-Resistors & Input-mode activated on all shared pins.

from shepherd-targets.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.