Giter Club home page Giter Club logo

Comments (5)

kriswiner avatar kriswiner commented on August 17, 2024

Hi Ramon,

Yes, this is true but it is pulled up with a 100 K resistor so the current
draw is ~30 microAmps when selected (LOW). The #CS is connected to STM32L4
PB11 so it is possible to deselect this by holding this pin either Hi-Z or
HIGH and avoid this current.

The 16 MByte Macronix chip we are using has a deep power down mode that
consumes 2 microAmp but we have not probed the very low power modes of the
Dragonfly yet to confirm this.

We thought a lot about how to keep the overall power usage low on this board
which is one of the main features of the STM32L4 line, but we are still in
beta testing mode and it's possible we missed an opportunity. I think the
QSPI flash design is probably not one of them though.

Thanks for your suggestion, we'll take a closer look in the weeks ahead as
testing progresses.

Kris

-----Original Message-----
From: Ramon Schepers [mailto:[email protected]]
Sent: July 18, 2016 1:38 PM
To: kriswiner/Dragonfly
Subject: [kriswiner/Dragonfly] provide qspi chip select signal for lower
power consumption (#2)

i have a suggestion to reduce power consumption on the dragonfly,
namely: use a chip select signal to the qspi flash.
as it consumes more power when the chip select is high (which is always the
case right now)

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#2 , or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGY1qqv-jrJIgKoiiMXqftjHx
rhkA0SVks5qW-QjgaJpZM4JPHaV> .
<https://github.com/notifications/beacon/AGY1qoOWqFjnetAmN4DSKzp51Y8f3kXiks5
qW-QjgaJpZM4JPHaV.gif>

from dragonfly.

kriswiner avatar kriswiner commented on August 17, 2024

Interesting thought. I need to check what it is actually doing. There is the QSPI interface, which gets powered down during non-use. Wonder what STM32L4 does, keep the signals at the default, or Hi-Z.

  • Thomas

-----Original Message-----

From: Kris Winer [email protected]
Sent: Jul 18, 2016 3:18 PM
To: 'kriswiner/Dragonfly' [email protected]
Cc: 'Thomas Roell' [email protected]
Subject: RE: [kriswiner/Dragonfly] provide qspi chip select signal for lower power consumption (#2)

Hi Ramon,

Yes, this is true but it is pulled up with a 100 K resistor so the current
draw is ~30 microAmps when selected (LOW). The #CS is connected to STM32L4
PB11 so it is possible to deselect this by holding this pin either Hi-Z or
HIGH and avoid this current.

The 16 MByte Macronix chip we are using has a deep power down mode that
consumes 2 microAmp but we have not probed the very low power modes of the
Dragonfly yet to confirm this.

We thought a lot about how to keep the overall power usage low on this board
which is one of the main features of the STM32L4 line, but we are still in
beta testing mode and it's possible we missed an opportunity. I think the
QSPI flash design is probably not one of them though.

Thanks for your suggestion, we'll take a closer look in the weeks ahead as
testing progresses.

Kris

-----Original Message-----
From: Ramon Schepers [mailto:[email protected]]
Sent: July 18, 2016 1:38 PM
To: kriswiner/Dragonfly
Subject: [kriswiner/Dragonfly] provide qspi chip select signal for lower
power consumption (#2)

i have a suggestion to reduce power consumption on the dragonfly,
namely: use a chip select signal to the qspi flash.
as it consumes more power when the chip select is high (which is always the
case right now)

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#2 , or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGY1qqv-jrJIgKoiiMXqftjHx
rhkA0SVks5qW-QjgaJpZM4JPHaV> .
<https://github.com/notifications/beacon/AGY1qoOWqFjnetAmN4DSKzp51Y8f3kXiks5
qW-QjgaJpZM4JPHaV.gif>

from dragonfly.

arthurv avatar arthurv commented on August 17, 2024

Is there a code example using the QSPI port with the Macronix chip (ie. reading and writing)? I've looked through the SPIFlash test examples and they only use SPI.

I'm also exploring the deep power down modes of the Dragonfly, I've so far gotten it down to ~0.9mA. The Ladybug goes to ~0.2mA. Trying to identify how much it is due to the flash chip...

from dragonfly.

kriswiner avatar kriswiner commented on August 17, 2024

from dragonfly.

arthurv avatar arthurv commented on August 17, 2024

Thanks!

I realised part of that was due to the power LED being on, disconnecting the solder jumper brought it down to 0.25 mA. (L476RE) The Dragonfly L496 is about 0.3mA in stop mode. Out of the box it was indeed 0.9mA, which matches what manitou48 found during alpha testing (https://github.com/manitou48/STM32L4)

I'll try standby and shutdown modes too but will have to assess the impact of losing SRAM contents on the sketch.

The Ladybug was consuming about 0.3 mA in an "out of the box" condition with STM32.stop(), but cutting the power LED jumper again brought it down to 2uA in stop mode.

I'll write up some user guides as I explore the DOSFS and low power features.

from dragonfly.

Related Issues (8)

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.