MARC-2 project
Re: MARC-2 project
Thanks for the article.
A crystal with two 22pF caps is what I also use with my AVR projects for years without any issues.
A crystal with two 22pF caps is what I also use with my AVR projects for years without any issues.
Marco
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: MARC-2 project
A crystal by itself won't oscillate; but if your UART has an onboard oscillator (like many microcontrollers do) and is made to just hang a crystal off it to control the frequency, then there's nothing wrong with that. A capacitor from each side of the crystal to groung is commonly needed.
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?
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
Re: MARC-2 project
GARTHWILSON wrote:
A crystal by itself won't oscillate; but if your UART has an onboard oscillator (like many microcontrollers do) and is made to just hang a crystal off it to control the frequency, then there's nothing wrong with that. A capacitor from each side of the crystal to groung is commonly needed.
Obviously a can oscillator will outpace a crystal plus internal oscillator plus caps in at least dealing with temperature compensation. I'm sure there are other advantages.
8 bit fun and games: https://www.aslak.net/
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: MARC-2 project
Quote:
I assume the contemporary NMOS 6502s did too
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?
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
- BigDumbDinosaur
- Posts: 9425
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: MARC-2 project
Figure 7 on page 24 of the 26C92's data sheet shows the hookup for using a crystal as the frequency source.
C1 and C2 are dependent on the crystal used. I can't vouch for the performance of this circuit, as I haven't tried it.
C1 and C2 are dependent on the crystal used. I can't vouch for the performance of this circuit, as I haven't tried it.
x86? We ain't got no x86. We don't NEED no stinking x86!
- BigDumbDinosaur
- Posts: 9425
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: MARC-2 project
GARTHWILSON wrote:
In the early years of can oscillators, it seems like they were all power hogs (like 75mA for just the oscillator!). I haven't shopped for any recently but I get the idea that they've improved a lot.
ECS (the oscillator manufacturer) states that a maximum of 10ms are required for oscillation to start following power application. As the Maxim DS1813 econo-reset holds /RESET down for at least 150ms, the Ø2 clock will be stable by the time the MPU comes out of reset.
x86? We ain't got no x86. We don't NEED no stinking x86!
- BigDumbDinosaur
- Posts: 9425
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: MARC-2 project
Aslak3 wrote:
Obviously a can oscillator will outpace a crystal plus internal oscillator plus caps in at least dealing with temperature compensation. I'm sure there are other advantages.
x86? We ain't got no x86. We don't NEED no stinking x86!
-
clockpulse
- Posts: 87
- Joined: 20 Oct 2012
- Location: San Diego
Re: MARC-2 project
BigDumbDinosaur wrote:
Figure 7 on page 24 of the 26C92's data sheet shows the hookup for using a crystal as the frequency source.
C1 and C2 are dependent on the crystal used. I can't vouch for the performance of this circuit, as I haven't tried it.
C1 and C2 are dependent on the crystal used. I can't vouch for the performance of this circuit, as I haven't tried it.
After a few weeks the UART began screwing up rx/tx data. It took me a while to figure it out.
As a last resort I switched to a half can osc. and my troubles were over. Could have been the crystal was defective, but it was odd that it worked fine for a while.
Re: MARC-2 project
I’ve come up with a solution to ease myself with leaving two options open to use on the circuit board. Given all the information I find the flip-flop the most appealing.
As a backup option, I’ll leave room for a crystal and two capacitors.
I also looked at the datasheet of the can oscillators I have (1,8432 and 7,3728
), and indeed they are improved since the 75mA. They need 20mA to 35mA depending on the frequency.
The odd thing is that my “local” supplier has can oscillators with a lot of different frequencies, except for the 3,6864MHz.
I also looked at the datasheet of the can oscillators I have (1,8432 and 7,3728
The odd thing is that my “local” supplier has can oscillators with a lot of different frequencies, except for the 3,6864MHz.
Marco
Re: MARC-2 project
I suppose the Flip-Flop uses a VCC=5V, so I think you better use a 74ACT74 so the 3.3V Logic Levels will be clearly recognized as high level. The AC only version are a bit tight, they need 3.15V at VCC=4.5 and for higher VCC it will be clearly more than 3.3V. The ACT version will recognize 2.0V as High Level regardless of Supply (4.5 to 5.5V). You also don't need R16.
Peter
Peter
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: MARC-2 project
Quote:
You also don't need R16.
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?
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
Re: MARC-2 project
cbscpe wrote:
I suppose the Flip-Flop uses a VCC=5V, so I think you better use a 74ACT74
cbscpe wrote:
You also don't need R16.
GARTHWILSON wrote:
The resistor is only recommended if you have to use something like 74xx TTL or 74LS.
Marco
- BigDumbDinosaur
- Posts: 9425
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: MARC-2 project
lordbubsy wrote:
cbscpe wrote:
I suppose the Flip-Flop uses a VCC=5V, so I think you better use a 74ACT74
x86? We ain't got no x86. We don't NEED no stinking x86!
Re: MARC-2 project
MARC-2 is taking shape.
• The system is based on the W65C816.
• It is ROM-less with 512 KiB RAM.
• All pins of the CPU and RAM are connected individually to the CPLD, a Xilinx XC95288XL 144 pin. The CPLD will also provide 65SPI and VGA.
• The ATMega1284P provides RESET, master clock and the firmware to the RAM during RESET.
• The DUART, a SC26C92, provides RS232 serial and TTL serial.
• There are two VIA’s for future expansion.
• One of the eight 65SPI interfaces is used for a Real Time Clock with environment temperature sensor, a RV-3049-C2. Initially I’ll try to get the computer going by only using the TTL serial port which also provides the 5V power. Later on I’ll add 65SPI and VGA. The CPLD should have enough resources to do even more.
At this moment the PCB is etched and all holes are drilled. Next, I have to solder the vias by hand and check all traces.
• It is ROM-less with 512 KiB RAM.
• All pins of the CPU and RAM are connected individually to the CPLD, a Xilinx XC95288XL 144 pin. The CPLD will also provide 65SPI and VGA.
• The ATMega1284P provides RESET, master clock and the firmware to the RAM during RESET.
• The DUART, a SC26C92, provides RS232 serial and TTL serial.
• There are two VIA’s for future expansion.
• One of the eight 65SPI interfaces is used for a Real Time Clock with environment temperature sensor, a RV-3049-C2. Initially I’ll try to get the computer going by only using the TTL serial port which also provides the 5V power. Later on I’ll add 65SPI and VGA. The CPLD should have enough resources to do even more.
At this moment the PCB is etched and all holes are drilled. Next, I have to solder the vias by hand and check all traces.
Marco
- BigDumbDinosaur
- Posts: 9425
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: MARC-2 project
lordbubsy wrote:
MARC-2 is taking shape.
x86? We ain't got no x86. We don't NEED no stinking x86!