6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Sep 28, 2024 10:55 pm

All times are UTC




Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Sat Jun 30, 2018 6:03 pm 
Offline
User avatar

Joined: Wed Mar 01, 2017 8:54 pm
Posts: 660
Location: North-Germany
From the W65C265S (Sept 13, 2010) datasheet:

2.2 RUN and SYNC outputs with WAI and STP defined (RUN)
2.2.1 The RUN function of the RUN output is pulled low as the result of a WAI or STP instruction. RUN is
used to signal an external oscillator to start PHI2. The processor is stopped when RUN is low.
2.2.2 When BCR3=1 (emulation mode), the SYNC function (SYNC=1 indicates an opcode fetch) is
multiplexed on RUN during PHI2 low time and RUN is multiplexed during PHI2 high time. When
BCR3=0 (normal operating mode), the RUN function is output during the entire clock cycle. An ICE
system can demultiplex RUN to provide full emulation capability for the RUN function.
2.2.3 The BE input has no effect on RUN.
2.2.4 When RUN goes low the PHI2 signal may be stopped when high or low; however, it is recommended
PHI2 stop in the high state. When RUN goes high due to an enabled interrupt or reset, the
internal PHI2 clock is requested to start. The clock control function is referred to as the RUN function
of RUN.
2.2.5 The WAI instruction pulls RUN low during PHI2 high time. RUN stays low until an enabled interrupt is
requested or until RESB goes from low to high, starting the microprocessor.
2.2.6 The STP instruction pulls RUN low during PHI2 high time and stops the internal PHI2 clock.
RUN remains low and the clock remains stopped until RESB goes from low to high.
2.2.7 FCLK can be started or stopped by writing to System Speed Control Register (SSCR) bit 0. When
SSCR0=0 (reset forces SSCR0=0), FCLK is stopped. When SSCR0=1, FCLK is started. When
starting FCLK oscillator, the system software should wait (100 milliseconds or an appropriate amount
of time) for the oscillator to be stable before using FCLK.


Top
 Profile  
Reply with quote  
PostPosted: Tue Jul 03, 2018 6:25 pm 
Offline
User avatar

Joined: Wed Mar 01, 2017 8:54 pm
Posts: 660
Location: North-Germany
Hmm, I don't intended to stop the discussion here :shock:

If you are willing to give the W65C265S a try then you may either buy a board (somehow a bit overprized) or built something from the scratch. Then it may help you to have a look at the schematic of that board.

Not mentioned so far and perhaps obsolete for you: the W65C134S. It's a 65C02 with a tiny amount of RAM (not enough) but an UART, some free port pins, some timers and a special serial interface for communication to other 65C134. If you haven't so far: risk a look :)


Cheers,
Arne


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

All times are UTC


Who is online

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