<?php
	include 'ars2head.php';
?>
	<div class="justify">
		<div class="bold">PIC Interface</div>
		<br/>
		The PIC interface is the heart of the digital circuitry of the ARS2. This interface was not included in the original
		plan for the ARS2 and was developed during implementation, hence, it's a little messy. 
		The I/O is organized after a few dedicated functions and a generall data bus:
		<ul>
			<li>RA0-RA5 - reserved for 6-bit R2R network</li>
			<li>RC4, RC5 - reserved for USB</li>
			<li>RB0-RB7, RC1-RC2, RC6-RC7 - bus I/O</li>
			<li>RC0 - reserved for Gate (legacy)</li>
		</ul>
		The bus I/O is divided into two categories; generall data lines (multiplexed) and function-dedicated enable lines.
		RB4 is generally used to communicate any analog signals to the pic, RC7 is so far unused, RB6-RB7 are sometimes used for
		In-Circuit programming, RC6-RC7 could potentially be used for RS232 communication (MIDI) (depending on the status of 
		a silicon bug in the PIC18F2455). The dedicated vs. generall data lines are marked in the schematics as "Ded" and
		"Gen" along with some other internal markings.<br/>
		<br/>
		At the first designstage, the R2R together with Gate was designed to form a single CV/Gate pair with Op.Amp outputs on both.
		Since more analog outputs were desired the development of the Quad S&H was started and integrated, though without
		changing the original (legacy) support for a single CV/Gate pair.<br/>
		<br/>
		The "PGM"-box is only a symbol for the In-Circuit programming which can be omited (just connect the cables seen
		on the other side of the box) or implemented (see microchip's notes on the PIC18F2455).
		<br/>
		A word of warning; Interfacing a delicate analog instrument such as a synthesizer with something as dirty as a computer
		can yield problems, as i myself have experienced. I have yet to find a satisfying solution to this problem.<br/>
		<br/>
		<a href="schematics/picinterface.gif">&gt;&gt; Download schematic</a>
	</div>
<?php
	include $myroot . 'footer.html';
?>
