6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Wed Oct 23, 2024 10:24 pm

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Wed Sep 14, 2016 9:49 pm 
Offline

Joined: Wed Sep 14, 2016 9:42 pm
Posts: 3
For my first project with MCU's im using the w65c265s, but I can't figure out if I need to generate a clock if it, and if I do, do I have to use a Crystal or Oscillator? Does anyone know?


Top
 Profile  
Reply with quote  
PostPosted: Wed Sep 14, 2016 10:07 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8451
Location: Midwestern USA
BloodyRum wrote:
For my first project with MCU's im using the w65c265s, but I can't figure out if I need to generate a clock if it, and if I do, do I have to use a Crystal or Oscillator? Does anyone know?

Have you read the W65C265S data sheet? You are likely to find the answer to your question in it.

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


Top
 Profile  
Reply with quote  
PostPosted: Wed Sep 14, 2016 10:17 pm 
Offline
User avatar

Joined: Sat Dec 07, 2013 4:32 pm
Posts: 246
Location: The Kettle Moraine
My memory says that the datasheet gives very specific, somewhat daunting, instructions on how to use two crystals.


Top
 Profile  
Reply with quote  
PostPosted: Wed Sep 14, 2016 10:33 pm 
Offline

Joined: Wed Sep 14, 2016 9:42 pm
Posts: 3
BigDumbDinosaur wrote:
BloodyRum wrote:
For my first project with MCU's im using the w65c265s, but I can't figure out if I need to generate a clock if it, and if I do, do I have to use a Crystal or Oscillator? Does anyone know?

Have you read the W65C265S data sheet? You are likely to find the answer to your question in it.

The data sheet is quite unclear, not only to me but too a friend who knows much more about this then me.
As he said,
"See, it's not clear there whether it has internal oscillator elements
that just require an external crystal and can also operate with
resistor-capacitor type oscillators instead"


Top
 Profile  
Reply with quote  
PostPosted: Wed Sep 14, 2016 10:37 pm 
Offline
User avatar

Joined: Sat Dec 07, 2013 4:32 pm
Posts: 246
Location: The Kettle Moraine
I guess I'll have to go look at the data sheet, because I sure remember it being specific. The one I have has very concise construction details.


Top
 Profile  
Reply with quote  
PostPosted: Wed Sep 14, 2016 10:39 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8524
Location: Southern California
I can't give it much time today, but I pulled out my old data sheet and found it to be very unclear as well. I have no doubt that you'll need something (not necessarily a whole oscillator) external, but it'll take time to find out if an RC will do it if you don't need the RS-232 or RTC or anything else that needs good accuracy. I don't have any experience with it. If it does require an external oscillator and you still don't need crystal accuracy, you could make one with a section of a 74xx14 and a resistor and capacitor.

_________________
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: Wed Sep 14, 2016 10:46 pm 
Offline
User avatar

Joined: Sat Dec 07, 2013 4:32 pm
Posts: 246
Location: The Kettle Moraine
Page 58 and 59 of the datasheet available on WDCs website shows their recommended clock circuits.

The datasheet is here: http://www.westerndesigncenter.com/wdc/ ... 5c265s.pdf


Top
 Profile  
Reply with quote  
PostPosted: Wed Sep 14, 2016 11:01 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8524
Location: Southern California
KC9UDX wrote:
Page 58 and 59 of the datasheet available on WDCs website shows their recommended clock circuits.

The datasheet is here: http://www.westerndesigncenter.com/wdc/ ... 5c265s.pdf

Darn--another WDC data-sheet booboo. Both crystals are labeled "XTAL1". Apparently the real XTAL1 is the lower one, and the one above it is XTAL2. I expect the variable capacitor is to trim the accuracy of the 4MHz crystal. Although it says 4MHz for the crystal there, page 3 says it goes to 8MHz.

_________________
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  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users 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: