6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Mon Sep 23, 2024 10:30 am

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Tue Jun 29, 2021 1:06 am 
Offline
User avatar

Joined: Mon May 12, 2014 6:18 pm
Posts: 365
Has anyone been able to measure this for an NMOS 6502? I'm wondering if it could save battery on my 6507 project by bringing RDY low with a 6532 then back high again after the timer expires.


Top
 Profile  
Reply with quote  
PostPosted: Tue Jun 29, 2021 1:35 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8390
Location: Midwestern USA
Druzyek wrote:
Has anyone been able to measure this for an NMOS 6502? I'm wondering if it could save battery on my 6507 project by bringing RDY low with a 6532 then back high again after the timer expires.

I doubt that driving RDY low on an NMOS part affects current consumption to any significant extent. It's not a static design, so register refresh must constantly occur, which means a minimum clock speed must be maintained at all times. On the other hand, the WDC 65C02's consumption goes down into the micro-ampere range when RDY is low, and is able to maintain state with the clock stopped in either phase. In fact, that's what driving RDY low does in the W65C02S: it stops the internal clock until a hardware interrupt is detected. The WAI instruction does the same thing and actually causes the MPU to drive RDY low while WAIting.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Tue Jun 29, 2021 3:18 am 
Offline
User avatar

Joined: Fri Dec 11, 2009 3:50 pm
Posts: 3367
Location: Ontario, Canada
BigDumbDinosaur wrote:
I doubt that driving RDY low on an NMOS part affects current consumption to any significant extent.
Right, although it's not primarily a matter of the minimum clock speed. What's even more pertinent is the fact that NMOS logic isn't complementary. That is, the upper device on each "totem pole" is a pullup that never stops pulling up, which means it wastes power anytime the output needs to be held low. (By contrast, the upper device in a CMOS totem pole is a PFET that switches off when no pulling up is required.)

For the 6507 project, it might be feasible to actually power down then restart the CPU. Off hand, I don't think it would be too hard to do that without powering down the 6532. Hmm.. just need to remember that the latter will still need a clock signal in order for its timer to generate the wakeup interrupt. And you'd need to prevent spurious 6532 accesses except when everything is stable. Hmmm...

-- Jeff

_________________
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html


Last edited by Dr Jefyll on Tue Jun 29, 2021 3:20 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: Tue Jun 29, 2021 3:19 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8512
Location: Southern California
I just checked the Wikipedia article about NMOS to make sure of how I thought NMOS worked. Here's a quote from there: "The major drawback with NMOS (and most other logic families) is that a DC current must flow through a logic gate even when the output is in a steady state (low in the case of NMOS). This means static power dissipation, i.e. power drain even when the circuit is not switching."

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
PostPosted: Tue Jun 29, 2021 8:26 am 
Offline
User avatar

Joined: Wed Feb 13, 2013 1:38 pm
Posts: 588
Location: Michigan, USA
May I ask how much current the 6507 is using? At what clock frequency?


Top
 Profile  
Reply with quote  
PostPosted: Tue Jun 29, 2021 8:30 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10938
Location: England
It's an interesting question. I expect it's not going to help much, certainly for NMOS and probably also for CMOS - this is a case where slowing or stopping the clock is worth something, but worth much much more in the land of CMOS.

It's not too difficult, I would think, to rig up a NOP tester in a breadboard and find out.

I think Jeff is on the right track... RTCs can run unattended and issue an alarm call to wake up the system. Getting a VIA to do the same is an interesting challenge.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 35 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: