6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Mon May 20, 2024 5:33 am

All times are UTC




Post new topic Reply to topic  [ 24 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Sat Aug 13, 2022 12:50 am 
Offline

Joined: Fri Dec 21, 2018 1:05 am
Posts: 1076
Location: Albuquerque NM USA
BillO wrote:
plasmo wrote:
I myself use MCP130. I buy 200 from Mouser at a time for around 50 cents each. I'm on my third batch of MCP130.
Bill


Interesting. Can you add a reset switch to it? I can't find mention of that in teh data sheet.

In theory, instead of connecting MCP130's VCC directly to 5V, a 100 ohm resistor can be inserted between power VCC and MCP130's VCC and connect the manual reset switch between MCP130's VCC and ground, so the manual switch simulates a power outage. In practice, I've never done that but instead connecting the manual reset switch between MCP130's reset output and ground. This is because many of my retro designs (such as CRC65) have an alternative bootstrap sequence active in the short time window between reset negating and normal boot sequence execution so I need to know exactly when manual reset is negating in order to invoke the alternative bootstrap sequence. In the course of testings I've discovered the common, inexpensive tactile switch has mostly bounce-free switching so a manual reset switch at MCP130's reset output works just fine vast majority of the time.
Bill


Top
 Profile  
Reply with quote  
PostPosted: Sat Aug 13, 2022 2:33 am 
Offline
User avatar

Joined: Tue Mar 05, 2013 4:31 am
Posts: 1373
BigEd wrote:
Empirically, this can't quite be so - I would think many people have just wired up a reset button and found it to work. If perhaps once in a while reset doesn't work, it would be natural and almost unconscious to press it again.

What I think you must mean, then, is that you yourself would be inclined to include such a chip, and you recommend that others do, in the case that they want a very reliable reset. You could perhaps say that it's a good idea to include such a chip.

I say this because I believe we don't need to encourage over-engineering, and we don't benefit the community by insisting that every project should be built as industrial grade.


Sorry Ed, but I'll have to disagree with you on this one. What you're suggesting is a flawed design path I don't agree with, e.g..

1- If it works most of the time, then it's fine... nobody should need anything better
2- Giving mediocre advice is acceptable
3- Doing things properly (called engineering) in your view is over-engineering... and not necessary

When someone new shows up, especially with limited or possibly no actual experience, encouragement is great thing. Giving them proper hardware design advice is another.

Based on your comment, every Commodore home machine was over-engineered, as all had a decent reset circuit. Personally, I found most Commodore machines to be on the skimpy side of proper engineering, mostly for cost reasons.

Doing things in a half-*** way can work under a limited set of conditions, but when it doesn't or is intermittent, a new user will tend to get more frustrated and might even give up, especially if the collective advice given here promotes poor design, engineering or build techniques.
A new user could also get confused and think that the software is the problem, which could also lead to a waste of time and more frustration.

Including proper design/engineering into your hobby does NOT make it industrial grade, not even close!

_________________
Regards, KM
https://github.com/floobydust


Top
 Profile  
Reply with quote  
PostPosted: Sat Aug 13, 2022 4:32 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8190
Location: Midwestern USA
BigEd wrote:
You could perhaps say that it's a good idea to include such a chip.

If he were building an automobile, it might be a good idea to include brakes and a steering wheel. Let me know if you find a substitute for those items. :D

Quote:
I say this because I believe we don't need to encourage over-engineering, and we don't benefit the community by insisting that every project should be built as industrial grade.

Notice I said “...with a Maxim DS1813 or similar.” “Similar” means something with a similar level of function. Improper reset can and will cause obstreperous problems, same as will using an inadequate clock source.

I'm not encouraging over-engineering, only proper engineering.

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


Top
 Profile  
Reply with quote  
PostPosted: Sat Aug 13, 2022 9:07 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10802
Location: England
The missing ingredient here, I think, is context. I'm all for engineering, in its place, but we have topics here and they set a context. A kid on a home made sledge going down a steep hill may or may not get to the bottom in full control. A bobsleigh team on an Olympic course need a different level of discipline.

Robust engineering suggestions can be very welcome, but in their place. And they should only ever suggestions, based on personal experience and preference. There are no stone tablets here.


Top
 Profile  
Reply with quote  
PostPosted: Sat Aug 13, 2022 2:45 pm 
Offline

Joined: Fri Mar 18, 2022 6:33 pm
Posts: 449
BigDumbDinosaur wrote:
The pullup resistor (R17) should be 3.3K, or thereabouts.


Why is that?

As a hobbyist coming from zero electronics knowledge roughly two years ago, one of the things that's still elusive to me is picking *specific* resistor values.

What I think is, having a lower value pullup resistor will make RSB go high more quickly (i.e., return to normal after being pulled low for a reset). Is the inverse of that also the case, that using a higher value resistor will make it pull down to GND more quickly, getting a cleaner and more immediate reset signal?

_________________
"The key is not to let the hardware sense any fear." - Radical Brad


Top
 Profile  
Reply with quote  
PostPosted: Sat Aug 13, 2022 4:36 pm 
Offline
User avatar

Joined: Fri Dec 11, 2009 3:50 pm
Posts: 3354
Location: Ontario, Canada
Paganini wrote:
one of the things that's still elusive to me is picking *specific* resistor values.
For starters, be aware that many use cases for resistors have surprisingly forgiving tolerances -- like, 50% or even more (even though resistors are typically sold with a tolerance of 5% or better).

And pullups are a use case where the exact value isn't terribly fussy. But hobbyists often will, by default, stick with a value such as 2.2k or 3.3k that's familiar because they've seen it used in commercial products or mentioned in a data sheet or application note.

Yes having a lower value pullup resistor will make RSB go high more quickly. As the node goes high and low, you're charging and discharging the parasitic capacitance, and the delay is proportional to R times C.

But the speed with which the node goes low (ie, discharges the capacitance) is mainly determined by the "resistance" of whatever causes the node to go low (in this case, a transistor that's internal to the DS1813). I've simplified matters slightly, but I hope the gist is clear.

-- Jeff

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


Top
 Profile  
Reply with quote  
PostPosted: Sat Aug 13, 2022 5:29 pm 
Offline

Joined: Fri Mar 18, 2022 6:33 pm
Posts: 449
Dr Jefyll wrote:
I've simplified matters slightly, but I hope the gist is clear.


It is. Thank you!

_________________
"The key is not to let the hardware sense any fear." - Radical Brad


Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 21, 2022 12:01 pm 
Offline
User avatar

Joined: Tue Aug 11, 2020 3:45 am
Posts: 311
Location: A magnetic field
BigDumbDinosaur on Sat 13 Aug 2022 wrote:
obstreperous


BigDumbDinosaur continues to be our Thesaurus Rex.

_________________
Modules | Processors | Boards | Boxes | Beep, Beep! I'm a sheep!


Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 21, 2022 12:06 pm 
Offline
User avatar

Joined: Tue Aug 11, 2020 3:45 am
Posts: 311
Location: A magnetic field
BillO on Fri 12 Aug 2022 wrote:
Can you add a reset switch to it? I can't find mention of that in teh data sheet.


Empirically, MCP101 appears to be 1/5 price but otherwise the same as DS1813. It works with switch and 100 ohm resistors. I presume MCP130 also works. Try it.

_________________
Modules | Processors | Boards | Boxes | Beep, Beep! I'm a sheep!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 24 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 2 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: