Waitcnt / Sleep? What is "turned off"?
bill190
Posts: 769
Just curious, I read somewhere that while waitcnt is "waiting", this reduces power usage...
So the question is; What all is turned off in different situations?
One situation: Within an "additional cog running" when other cogs are still running, then this cog goes into waitcnt, I assume that no other functions for any other cogs would be turned off, only functions for that one cog?
How about the counters for that specific cog, would these be shutdown during a waitcnt? Or left running?
Then there would be the situation where only cog 0 was running, if this was the case, would the entire chip be shutdown (or more things shut down) in that situation?
If yes, what all would be shut down?
·
So the question is; What all is turned off in different situations?
One situation: Within an "additional cog running" when other cogs are still running, then this cog goes into waitcnt, I assume that no other functions for any other cogs would be turned off, only functions for that one cog?
How about the counters for that specific cog, would these be shutdown during a waitcnt? Or left running?
Then there would be the situation where only cog 0 was running, if this was the case, would the entire chip be shutdown (or more things shut down) in that situation?
If yes, what all would be shut down?
·
Comments
Cogs draw minimal current when they're stopped (their initial state). When they're active (started by some other cog or by the reset circuitry), they draw current. When a WAITCNT / WAITPNE / WAITPEQ / WAITVID is "stalled", the cog drops into a low power state much like when they're stopped. Most of the logic is shut down. The counters (if active) continue to run. The video generator (if active) continues to run although will run out of data if not resupplied relatively quickly. Remember that the Propeller's clock is static. There is no minimum clock speed. Gates and registers will maintain their contents although their power consumption will drop drastically.
The graphs in the Propeller Datasheet give typical power consumption for various clock speeds, supply voltages, and types of activities for a cog and for the hub.