6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Nov 16, 2024 9:55 am

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Thu Apr 14, 2016 2:08 pm 
Offline
User avatar

Joined: Tue Mar 02, 2004 8:55 am
Posts: 996
Location: Berkshire, UK
I tried out Mike's idea of using a PIC16F18313 to create clock signals for a 65(C)02 and 65(C)51 plus a DS1813 like EconoReset pulse.

The code, schematics and resulting waveforms can be found here https://github.com/andrew-jacobs/hz-maker.

More testing is required but looks promising.

_________________
Andrew Jacobs
6502 & PIC Stuff - http://www.obelisk.me.uk/
Cross-Platform 6502/65C02/65816 Macro Assembler - http://www.obelisk.me.uk/dev65/
Open Source Projects - https://github.com/andrew-jacobs


Top
 Profile  
Reply with quote  
PostPosted: Thu Apr 14, 2016 7:59 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 9:02 pm
Posts: 1747
Location: Sacramento, CA
I like it. Great application!

_________________
Please visit my website -> https://sbc.rictor.org/


Top
 Profile  
Reply with quote  
PostPosted: Thu Apr 14, 2016 9:21 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8491
Location: Midwestern USA
BitWise wrote:
I tried out Mike's idea of using a PIC16F18313 to create clock signals for a 65(C)02 and 65(C)51 plus a DS1813 like EconoReset pulse.

The code, schematics and resulting waveforms can be found here https://github.com/andrew-jacobs/hz-maker.

More testing is required but looks promising.

Are you planning to produce these?

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


Top
 Profile  
Reply with quote  
PostPosted: Fri Apr 15, 2016 5:16 am 
Offline
User avatar

Joined: Wed Feb 13, 2013 1:38 pm
Posts: 589
Location: Michigan, USA
Hey, Andrew... nice job.

BigDumbDinosaur wrote:
BitWise wrote:
I tried out Mike's idea of using a PIC16F18313 to create clock signals for a 65(C)02 and 65(C)51 plus a DS1813 like EconoReset pulse.

The code, schematics and resulting waveforms can be found here https://github.com/andrew-jacobs/hz-maker.

More testing is required but looks promising.

Are you planning to produce these?

Hi BigD.

I have a programmer and could perhaps help out state-side users.

I should mention that this is an updated version of the 8-pin ClockGen circuit I posted a couple years ago. That version had a lower frequency Clock and an NCO (Numerically Controlled Oscillator) with only a 16-bit phase increment register which limited NCO output to about 307200-Hz (19200x16). The new PIC 18000 series devices support a higher speed clock and have 20-bit NCO phase accumulator and phase increment registers. Some possible settings for ACIA clock include;
Code:
  --- nco output -------  ncoinc   tolerance
  500000x16 (8000000-Hz)  524288   ±0.00000%
  460800x16 (7372800-Hz)  483184   ±0.00004%
  230400x16 (3686400-Hz)  241592   ±0.00004%
  115200x16 (1843200-Hz)  120796   ±0.00004%
   57600x16 ( 921600-Hz)   60398   ±0.00004%
   38400x16 ( 614400-Hz)   40265   ±0.00079%
   19200x16 ( 307200-Hz)   20133   ±0.00169%
    9600x16 ( 153600-Hz)   10066   ±0.00327%
    4800x16 (  76800-Hz)    5033   ±0.00327%
    2400x16 (  38400-Hz)    2517   ±0.01659%

A 14-pin version can include jumpers to set the CPU clock (1/2/4/8-MHz) and the ACIA clock. Having a jumper to select ACIA clock frequency might be handy if using a 68B50 or HD63B50.

Cheerful regards, Mike


Attachments:
Clk-Gen 14a.png
Clk-Gen 14a.png [ 64.54 KiB | Viewed 745 times ]
clkgen-14.png
clkgen-14.png [ 51.27 KiB | Viewed 775 times ]
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

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