6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Fri Jun 07, 2024 3:06 pm

All times are UTC




Post new topic Reply to topic  [ 80 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
Author Message
 Post subject: Re: 65c816 "Core"
PostPosted: Wed Sep 01, 2021 6:56 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8199
Location: Midwestern USA
GamerFox wrote:
Here's the new version of the sheet with the advice you gave me, and I'm a little afraid of cranking up phi2 too high to warrant memory bus ack lines.

According to the Maxim data sheet for the DS1233, the capacitor connected between reset and ground (C108) should be no larger than 0.01µF.

On the first page, I see some regulators with what looks to be zener diodes attached to the regulators' outputs. What are the zeners expected to do?

Otherwise, it looks as though you are good to go.

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


Top
 Profile  
Reply with quote  
 Post subject: Re: 65c816 "Core"
PostPosted: Wed Sep 01, 2021 8:54 am 
Offline

Joined: Thu Mar 18, 2021 8:11 am
Posts: 28
BigDumbDinosaur wrote:
On the first page, I see some regulators with what looks to be zener diodes attached to the regulators' outputs. What are the zeners expected to do?


For the life of me, I can't remember. I remember seeing it in one of Recom's application notes, either for overvoltage or reverse voltage protection.


Top
 Profile  
Reply with quote  
 Post subject: Re: 65c816 "Core"
PostPosted: Wed Sep 01, 2021 7:02 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8199
Location: Midwestern USA
GamerFox wrote:
BigDumbDinosaur wrote:
On the first page, I see some regulators with what looks to be zener diodes attached to the regulators' outputs. What are the zeners expected to do?

For the life of me, I can't remember. I remember seeing it in one of Recom's application notes, either for overvoltage or reverse voltage protection.

Garth reminded me that back in the day, we used to place a zener that way to protect the circuit from an overshoot that sometimes occurred at power-on. Regulators have improved a lot since "back in the day," and I have not done that in probably 25 years. It won't hurt, of course, so if it being there gives you a warm, fuzzy feeling... :D

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


Top
 Profile  
Reply with quote  
 Post subject: Re: 65c816 "Core"
PostPosted: Fri Sep 03, 2021 10:59 pm 
Offline
User avatar

Joined: Fri Dec 11, 2009 3:50 pm
Posts: 3364
Location: Ontario, Canada
BigDumbDinosaur wrote:
Garth reminded me that back in the day, we used to place a zener that way to protect the circuit from an overshoot that sometimes occurred at power-on.
Of course switching regulators like this weren't available back in the day, but it's well known that linear regulators require a protection diode in certain circumstances, the goal being to prevent current from flowing backwards through the regulator at powerdown.

Although superficially that may seem impossible, it can occur in certain circumstances. For example, the circuit (the load) attached to the regulator output may include considerable capacitance due to the bypass caps that are present, and that capacitance will contain stored energy. At powerdown, that energy needs to be discharged, and if the regulator input voltage plummets too rapidly, current will pass backwards through the regulator (unless the protection diode is present).

A look at the Recom datasheet (attached) reveals that their handy little switching regulator likewise faces that powerdown issue, and a protection diode may be required for that reason. (The datasheet also suggests a minimum load of 10 mA, which presumably explains GamerFox's inclusion of R2 and R3.)
Attachment:
R-78-1.0.pdf [675.15 KiB]
Downloaded 28 times
Attachment:
R-785.0-1.0 protection.png
R-785.0-1.0 protection.png [ 29.43 KiB | Viewed 515 times ]
Attachment:
minimum-load resistors.png
minimum-load resistors.png [ 1.62 KiB | Viewed 515 times ]
The datasheet doesn't mention zener (or other) diodes shunted to ground, so I'm drawing a blank on that subject. If such a precaution were necessary you'd think the datasheet would mention it. But possibly the App Note GamerFox mentioned explains it. (I'm also drawing a blank on zener diodes being used as shunts for linear regulators back in the day. Maybe Garth can clarify.)


GamerFox wrote:
I'm a little afraid of cranking up phi2 too high to warrant memory bus ack lines.
Um... bus ack lines? Not sure what you could mean by that. The Motorola 68000 bus protocol involves a Data Transfer Acknowledge signal, but there's nothing similar in the 65xx context. If you wanna overclock a 65xx you can just keep cranking up phi2 as far as you like. At some point your system will go off into the weeds, and that's how you know you've gone too far! :P

-- 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  
 Post subject: Re: 65c816 "Core"
PostPosted: Fri Sep 03, 2021 11:20 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8456
Location: Southern California
Dr Jefyll wrote:
BigDumbDinosaur wrote:
Garth reminded me that back in the day, we used to place a zener that way to protect the circuit from an overshoot that sometimes occurred at power-on.
Of course switching regulators like this weren't available back in the day, but it's well known that linear regulators require a protection diode in certain circumstances, the goal being to prevent current from flowing backwards through the regulator at powerdown.

My comment came specifically from using one of Power Trends' integrated switching regulators, the 78SR112 12V regulator, in a design in 1994. You can see it here as the approximately 1" square black thing with the "#12" label on it.
Image
It's kind of a thermoplastic box with the other side open where you can see the components in it. They required a 5W ZD at the output to shunt out turn-on overshoot. I don't know why they didn't just integrate it into the integrated switching regulator.

_________________
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  
 Post subject: Re: 65c816 "Core"
PostPosted: Sat Sep 04, 2021 12:35 am 
Offline
User avatar

Joined: Fri Dec 11, 2009 3:50 pm
Posts: 3364
Location: Ontario, Canada
Thanks, Garth. Switching reg's have gotten quite a lot smaller but evidently they did and still do need a zener shunt sometimes.

I spent some time looking around at http://www.recom-power.com but I was unable to locate the App Note GamerFox mentioned. But presumably the App Note is where the zener part numbers in the schematic (BZX79C5V6-T50A and BZX79C3V6) came from, isn't that right, Gamerfox ?

-- 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  
 Post subject: Re: 65c816 "Core"
PostPosted: Sat Sep 04, 2021 2:04 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8456
Location: Southern California
Here's the inside:
Attachment:
PT78SR112inside.jpg
PT78SR112inside.jpg [ 45.23 KiB | Viewed 497 times ]

It's an 18-watt regulator. Since the board is not all way way down in the box, there may be parts on the back, too (or maybe it's only the other half of the inductor core).

_________________
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  
 Post subject: Re: 65c816 "Core"
PostPosted: Sat Sep 04, 2021 3:07 am 
Offline

Joined: Thu Mar 18, 2021 8:11 am
Posts: 28
Dr Jefyll wrote:
Thanks, Garth. Switching reg's have gotten quite a lot smaller but evidently they did and still do need a zener shunt sometimes.

I spent some time looking around at http://www.recom-power.com but I was unable to locate the App Note GamerFox mentioned. But presumably the App Note is where the zener part numbers in the schematic (BZX79C5V6-T50A and BZX79C3V6) came from, isn't that right, Gamerfox ?

-- Jeff

Originally it was MMSZ4690T1G and MMSZ4685T1G but they were SMD-only

e: it's in this sheet https://recom-power.com/pdf/Innoline/R-78C-1.0.pdf


Top
 Profile  
Reply with quote  
 Post subject: Re: 65c816 "Core"
PostPosted: Wed Sep 08, 2021 7:01 am 
Offline

Joined: Thu Mar 18, 2021 8:11 am
Posts: 28
I took BDD's advice and changed the memory mapping a little. Here's the decoder circuit sheet.


Attachments:
address-Address.pdf [48.73 KiB]
Downloaded 34 times
Top
 Profile  
Reply with quote  
 Post subject: Re: 65c816 "Core"
PostPosted: Wed Sep 08, 2021 7:55 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8456
Location: Southern California
GamerFox wrote:
I took BDD's advice and changed the memory mapping a little. Here's the decoder circuit sheet.

That's an awful lot of gate delays. Have you added up all the timings and seen if it's still workable?

_________________
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  
 Post subject: Re: 65c816 "Core"
PostPosted: Wed Sep 08, 2021 10:15 am 
Offline

Joined: Sun Jul 11, 2021 9:12 am
Posts: 139
GARTHWILSON wrote:
GamerFox wrote:
I took BDD's advice and changed the memory mapping a little. Here's the decoder circuit sheet.

That's an awful lot of gate delays. Have you added up all the timings and seen if it's still workable?


Mixing and matching the HC and LS types might not be ideal either.

But yeah, that amount of gates, there’d be a solid 50-60nS delay going on there.


Top
 Profile  
Reply with quote  
 Post subject: Re: 65c816 "Core"
PostPosted: Wed Sep 08, 2021 12:02 pm 
Offline

Joined: Wed Jun 23, 2021 8:02 am
Posts: 165
The actual logic also looks incorrect. The "BANKZERO" signal, labelled with no bar, is actually active low. Any access to bank 0 would result in all four output selects (nEXTRAMSEL, nROMSEL, nIOSEL, nLORAMSEL) all going high, i.e. inactive.
This sort of thing is a good application for a PLD of some sort. If you could make do with 7 IO chip selects instead of 8 and 4 bank address bits (1MB address space), you could fit it all onto a 22V10. Even better, if you used a 1502/7032 you could fit the bank select latch on there as well.


Top
 Profile  
Reply with quote  
 Post subject: Re: 65c816 "Core"
PostPosted: Wed Sep 08, 2021 3:02 pm 
Offline

Joined: Thu Mar 18, 2021 8:11 am
Posts: 28
If I were to go use a 22v10 it looks like I'd have to change the primary power rail to 5V leading to needing level shifters for the SD card and display.


Top
 Profile  
Reply with quote  
 Post subject: Re: 65c816 "Core"
PostPosted: Wed Sep 08, 2021 3:22 pm 
Offline
User avatar

Joined: Tue Mar 05, 2013 4:31 am
Posts: 1373
GamerFox wrote:
If I were to go use a 22v10 it looks like I'd have to change the primary power rail to 5V leading to needing level shifters for the SD card and display.

You can use the low voltage version, the ATF22LV10C-10PU. It's rated for use down to 3.0 volts and has a 10ns rating. I was going to suggest this, but you already did yourself :wink:

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


Top
 Profile  
Reply with quote  
 Post subject: Re: 65c816 "Core"
PostPosted: Wed Sep 08, 2021 3:39 pm 
Offline
User avatar

Joined: Wed Feb 14, 2018 2:33 pm
Posts: 1433
Location: Scotland
GamerFox wrote:
If I were to go use a 22v10 it looks like I'd have to change the primary power rail to 5V leading to needing level shifters for the SD card and display.


Not sure about the display, but there are many microSD card modules that run from 5v and have the level shifters built in (and provide a handy 0.1" pin header thing)

I'm using them on my Ruby boards which are all 5v.

-Gordon

_________________
--
Gordon Henderson.
See my Ruby 6502 and 65816 SBC projects here: https://projects.drogon.net/ruby/


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 80 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next

All times are UTC


Who is online

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