MC3310 [ETC]

Motion Processor; 移动处理器
MC3310
型号: MC3310
厂家: ETC    ETC
描述:

Motion Processor
移动处理器

文件: 总83页 (文件大小:1080K)
中文:  中文翻译
下载:  下载PDF数据表文档文件
PilotMotion Processor  
MC3310 Single Chip  
Technical Specifications  
for Brushless Servo Motion Control  
Performance Motion Devices, Inc.  
55 Old Bedford Road  
Revision 1.7, July 2003  
Lincoln, MA 01773  
NOTICE  
This document contains proprietary and confidential information of Performance Motion Devices,  
Inc., and is protected by federal copyright law. The contents of this document may not be disclosed  
to third parties, translated, copied, or duplicated in any form, in whole or in part, without the express  
written permission of PMD.  
The information contained in this document is subject to change without notice. No part of this  
document may be reproduced or transmitted in any form, by any means, electronic or mechanical,  
for any purpose, without the express written permission of PMD.  
Copyright 2000 by Performance Motion Devices, Inc.  
Navigator, Pilot and C-Motion are trademarks of Performance Motion Devices, Inc  
Warranty  
PMD warrants performance of its products to the specifications applicable at the time of sale in  
accordance with PMD's standard warranty. Testing and other quality control techniques are utilized  
to the extent PMD deems necessary to support this warranty. Specific testing of all parameters of  
each device is not necessarily performed, except those mandated by government requirements.  
Performance Motion Devices, Inc. (PMD) reserves the right to make changes to its products or to  
discontinue any product or service without notice, and advises customers to obtain the latest version  
of relevant information to verify, before placing orders, that information being relied on is current  
and complete. All products are sold subject to the terms and conditions of sale supplied at the time  
of order acknowledgement, including those pertaining to warranty, patent infringement, and  
limitation of liability.  
Safety Notice  
Certain applications using semiconductor products may involve potential risks of death, personal  
injury, or severe property or environmental damage. Products are not designed, authorized, or  
warranted to be suitable for use in life support devices or systems or other critical applications.  
Inclusion of PMD products in such applications is understood to be fully at the customer's risk.  
In order to minimize risks associated with the customer's applications, adequate design and operating  
safeguards must be provided by the customer to minimize inherent procedural hazards.  
Disclaimer  
PMD assumes no liability for applications assistance or customer product design. PMD does not  
warrant or represent that any license, either express or implied, is granted under any patent right,  
copyright, mask work right, or other intellectual property right of PMD covering or relating to any  
combination, machine, or process in which such products or services might be or are used. PMD's  
publication of information regarding any third party's products or services does not constitute PMD's  
approval, warranty or endorsement thereof.  
MC3310 Technical Specifications  
iii  
MC3310 Technical Specifications  
iv  
Related Documents  
Pilot Motion Processor User’s Guide (MC3000UG)  
How to set up and use all members of the Pilot Motion Processor family.  
Pilot Motion Processor Programmer’s Reference (MC3000PR)  
Descriptions of all Pilot Motion Processor commands, with coding syntax and examples, listed  
alphabetically for quick reference.  
Pilot Motion Processor Technical Specifications  
These booklets contain physical and electrical characteristics, timing diagrams, pinouts and pin  
descriptions of each:  
MC3110, for brushed servo motion control (MC3110TS)  
MC3310, for brushless servo motion control (MC3310TS)  
MC3410, for microstepping motion control (MC3410TS)  
MC3510, for stepper motion control (MC3510TS)  
Pilot Motion Processor Developer’s Kit Manual (DK3000M)  
How to install and configure the DK3310 developer’s kit PC board.  
MC3310 Technical Specifications  
v
MC3310 Technical Specifications  
vi  
Table of Contents  
Warranty...................................................................................................................................................... iii  
Safety Notice ................................................................................................................................................ iii  
Disclaimer..................................................................................................................................................... iii  
Related Documents....................................................................................................................................... v  
Table of Contents........................................................................................................................................ vii  
1 The Pilot Family ........................................................................................................................................ 9  
2 Functional Characteristics...................................................................................................................... 11  
2.1  
2.2  
2.3  
2.4  
2.5  
Configurations, parameters, and performance.............................................................................. 11  
Physical characteristics and mounting dimensions....................................................................... 13  
Environmental and electrical ratings ............................................................................................ 14  
System configuration.................................................................................................................... 14  
Peripheral device address mapping............................................................................................... 15  
3 Electrical Characteristics........................................................................................................................ 16  
3.1  
3.2  
DC characteristics......................................................................................................................... 16  
AC characteristics......................................................................................................................... 16  
4 I/O Timing Diagrams .............................................................................................................................. 18  
4.1  
4.2  
4.3  
4.4  
Clock ............................................................................................................................................ 18  
Quadrature encoder input ............................................................................................................. 18  
Reset............................................................................................................................................. 18  
Host interface, 8/16 mode (requires external logic device) .......................................................... 19  
Instruction write, 8/16 mode................................................................................................. 19  
Data write, 8/16 mode........................................................................................................... 19  
Data read, 8/16 mode............................................................................................................ 20  
Status read, 8/16 mode.......................................................................................................... 20  
Host interface, 16/16 mode (requires external logic device) ........................................................ 21  
Instruction write, 16/16 mode............................................................................................... 21  
Data write, 16/16 mode......................................................................................................... 21  
Data read, 16/16 mode.......................................................................................................... 22  
Status read, 16/16 mode........................................................................................................ 22  
External memory timing............................................................................................................... 23  
External memory read........................................................................................................... 23  
External memory write ......................................................................................................... 23  
Peripheral device timing............................................................................................................... 24  
Peripheral device read........................................................................................................... 24  
Peripheral device write ......................................................................................................... 24  
4.4.1  
4.4.2  
4.4.3  
4.4.4  
4.5  
4.5.1  
4.5.2  
4.5.3  
4.5.4  
4.6  
4.6.1  
4.6.2  
4.7  
4.7.1  
4.7.2  
5 Pinouts and Pin Descriptions.................................................................................................................. 25  
5.1  
5.2  
Pinouts for MC3310 ..................................................................................................................... 25  
CP chip pin description table........................................................................................................ 26  
MC3310 Technical Specifications  
vii  
6 Parallel Communication ......................................................................................................................... 30  
6.1  
6.2  
6.3  
Host interface pin description table .............................................................................................. 30  
16-bit Host Interface (IOPIL16) ................................................................................................... 32  
8-bit Host Interface (IOPIL8)....................................................................................................... 46  
7 Application Notes..................................................................................................................................... 62  
7.1  
7.2  
7.3  
7.4  
7.5  
7.6  
7.7  
7.8  
7.9  
Design Tips................................................................................................................................... 62  
RS-232 Serial Interface ................................................................................................................ 64  
RS 422/485 Serial Interface.......................................................................................................... 66  
PWM Motor Interface .................................................................................................................. 68  
12-bit Parallel DAC Interface....................................................................................................... 70  
16-bit Serial DAC Interface.......................................................................................................... 72  
RAM Interface.............................................................................................................................. 74  
User-defined I/O........................................................................................................................... 76  
12-bit A/D Interface...................................................................................................................... 78  
7.10 16-bit A/D Input ........................................................................................................................... 80  
7.11 External Gating Logic Index ........................................................................................................ 82  
MC3310 Technical Specifications  
viii  
1 The Pilot Family  
MC3110  
1
MC3310  
1
MC3410  
1
MC3510  
1
Number of axes  
Brushless servo  
Stepping  
Microstepping  
Stepping  
Brushed servo  
Motor type supported  
Brushed servo  
(single phase)  
Commutated (6-  
step or sinusoidal)  
Pulse and Direction  
Output format  
Incremental encoder  
input  
Parallel word device  
input  
Parallel communication  
Serial communication  
S-curve profiling  
1
1
1
1
On-the-fly changes  
Directional limit  
switches  
Programmable bit output  
Software-invertable  
signals  
PID servo control  
Feedforward (accel &  
vel)  
Derivative sampling time  
Data trace/diagnostics  
PWM output  
Pulse & direction output  
Index & Home signals  
Motion error detection  
Axis settled indicator  
DAC-compatible output  
Position capture  
-
-
-
-
-
-
-
-
-
-
(with encoder)  
(with encoder)  
(with encoder)  
(with encoder)  
-
Analog input  
User-defined I/O  
External RAM support  
Multi-chip  
synchronization  
Chip part numbers  
Developer's Kit p/n's:  
(MC3113)  
MC3110  
(MC3313)  
MC3310  
(MC3413)  
MC3410  
-
MC3510  
DK3510  
DK3110  
DK3310  
DK3410  
1
Parallel communication is available via an additional logic device  
Introduction  
This manual describes the operational characteristics of the MC3310 Motion Processor from PMD.  
This device is a member of the MC3000 family of single-chip, single-axis motion processors.  
MC3310 Technical Specifications  
9
Each device of the MC3000 family is a complete chip-based motion processor providing trajectory  
generation and related motion control functions for one axis including servo loop closure or on-  
board commutation where appropriate. This family of products provides a software-compatible  
selection of dedicated motion processors that can handle a large variety of system configurations.  
The chip architecture not only makes it ideal for the task of motion control, it allows for similarities  
in software commands, so software written for one motor type can be re-used if the motor type is  
changed.  
Pilot Family Summary  
MC3110 – This single-chip, single-axis motion processor outputs motor commands in either  
Sign/Magnitude PWM or DAC-compatible format for use with brushed servo motors, or with  
brushless servo motors having external commutation.  
MC3310 – This single-chip, single-axis motion processor outputs sinusoidally commutated motor  
signals appropriate for driving brushless motors. Depending on the motor type, the output is a two-  
phase or three-phase signal in either PWM or DAC-compatible format.  
MC3410 – This single-chip, single-axis motion processor outputs microstepping signals for stepping  
motors. Two phased signals per axis are generated in either PWM or DAC-compatible format.  
MC3510 – This single-chip, single-axis motion processor outputs pulse and direction signals for  
stepping motor systems.  
MC3310 Technical Specifications  
10  
2 Functional Characteristics  
2.1 Configurations, parameters, and performance  
Single axis, single chip.  
Configuration  
Closed loop (motor command is driven from output of servo filter)  
Open loop (motor command is driven from user-programmed register)  
Operating modes  
8/16 parallel (8 bit external parallel bus with 16 bit internal command word size)  
Communication modes  
16/16 parallel (16 bit external parallel bus with 16 bit internal command word  
size)  
Point to point asynchronous serial  
Multi-drop asynchronous serial  
1,200 baud to 416,667 baud  
Serial port baud rate range  
Position range  
-2,147,483,648 to +2,147,483,647 counts  
-32,768 to +32,767 counts/sample with a resolution of 1/65,536 counts/sample  
-32,768 to +32,767 counts/sample2 with a resolution of 1/65,536 counts/sample2  
0 to ½ counts/sample3, with a resolution of 1/4,294,967,296 counts/sample3  
S-curve point-to-point (Velocity, acceleration, jerk, and position parameters)  
Velocity range  
Acceleration/deceleration ranges  
Jerk range  
Profile modes  
Trapezoidal point-to-point (Velocity, acceleration, deceleration, and position  
parameters)  
Velocity-contouring (Velocity, acceleration, and deceleration parameters)  
Scalable PID + Velocity feedforward + Acceleration feedforward + Bias. Also  
includes integration limit, settable derivative sampling time, and output motor  
command limiting  
Filter modes  
16 bits  
Filter parameter resolution  
Position error tracking  
Motion error window (allows axis to be stopped upon exceeding programmable  
window)  
Tracking window (allows flag to be set if axis exceeds a programmable position  
window)  
Axis settled (allows flag to be set if axis exceeds a programmable position  
window for a programmable amount of time after trajectory motion is compete)  
PWM (9-bit resolution at 20 kHz)  
DAC (16 bits)  
Motor output modes  
20 kHz  
Commutation rate  
Incremental (up to 5 million counts/sec)  
Parallel-word (up to 160 million counts/sec)  
16 bits  
Maximum encoder rate  
Parallel encoder word size  
Parallel encoder read rate  
Servo loop timing range  
Minimum servo loop time  
Multi-chip synchronization  
20 kHz (reads all axes every 50 µsec)  
153.6 µsec to 32.767 milliseconds  
153.6 µsec  
<10µsec difference between master and slave servo cycle  
MC3313 chipset only  
2 per axis: one for each direction of travel  
2 per axis: index and home signals  
Limit switches  
Position-capture triggers  
MC3310 Technical Specifications  
11  
1 AxisIn signal per axis, 1 AxisOut signal per axis  
Other digital signals (per axis)  
Software-invertable signals  
Index, Home, AxisIn, AxisOut, PositiveLimit, NegativeLimit (all individually  
programmable)  
8 10-bit analog inputs  
Analog input  
256 16-bit wide user defined I/O  
User defined discrete I/O  
RAM/external memory support  
65,536 blocks of 32,768 16-bit words per block. Total accessible memory is  
2,147,483,648 16 bit words  
one-time  
Trace modes  
continuous  
4
Max. number of trace variables  
Number of traceable variables  
Number of host instructions  
28  
152  
MC3310 Technical Specifications  
12  
2.2 Physical characteristics and mounting dimensions  
All dimensions are in inches (with millimeters in brackets).  
Dimension  
Minimum  
(inches)  
Maximum  
(inches)  
D
1.070  
0.934  
1.088  
1.090  
0.966  
1.112  
D1  
D2  
D3  
0.800 nominal  
MC3310 Technical Specifications  
13  
2.3  
Environmental and electrical ratings  
Storage Temperature (Ts)  
-55 °C to 150 °C  
0 °C to 70 °C*  
400 mW  
Operating Temperature (Ta)  
Power Dissipation (Pd)  
20.0 MHz  
Nominal Clock Frequency (Fclk)  
Supply Voltage limits (Vcc)  
Supply Voltage operating range (Vcc)  
-0.3V to +7.0V  
4.75V to 5.25V  
* An industrial version with an operating range of -40°C to 85°C is also available. Please contact  
PMD for more information.  
2.4 System configuration  
The following figure shows the principal control and data paths in an MC3310 system.  
Host  
HostIntrpt  
Serial Port  
Parallel port  
Home  
Index  
B
Pilot Motion Processor  
System clock  
(40 MHz)  
20MHz clock  
Parallel Communication  
PLD/FPGA  
CP  
A
16 bit data/address bus  
External memory  
Limit  
switches  
D/A  
converter  
Motor  
Amplifier  
DAC output  
User I/O  
Parallel-word input  
Serial port configuration  
The shaded area shows the CPLD/FPGA that must be provided by the designer if parallel  
communication is required. A description and the necessary logic (in the form of schematics) of this  
device are detailed in section 6 of this manual. The CP chip contains the profile generator, which  
calculates velocity, acceleration, and position values for a trajectory; and the digital servo filter, which  
stabilizes the motor output signal.  
MC3310 Technical Specifications  
14  
The filter produces one of two types of output:  
a Pulse-Width Modulated (PWM) signal output; or  
a DAC-compatible value routed via the data bus to the appropriate D/A converter.  
Axis position information returns to the motion processor in the form of encoder feedback using  
either the incremental encoder input signals, or via the bus as parallel word input.  
2.5 Peripheral device address mapping  
Device addresses on the CP chip’s data bus are memory-mapped to the following locations:  
Address  
Device  
Description  
0200h  
Serial port data  
Contains the configuration data (transmission rate,  
parity, stop bits, etc) for the asynchronous serial port  
0800h  
1000h  
2000h  
4000h  
8000h  
Parallel-word encoder Base address for parallel-word feedback devices  
User-defined  
Base address for user-defined I/O devices  
Page pointer to external memory  
RAM page pointer  
Motor-output DACs  
Parallel interface  
Base address for motor-output D/A converters  
Base address for parallel interface communication  
MC3310 Technical Specifications  
15  
3 Electrical Characteristics  
3.1 DC characteristics  
(Vcc and Ta per operating ratings, Fclk = 20.0 MHz)  
Symbol  
Parameter  
Supply Voltage  
Supply Current  
Minimum Maximum  
Conditions  
Vcc  
Idd  
4.75 V  
5.25 V  
80 mA  
open outputs  
Input Voltages  
Vih  
Vil  
Vihclk  
Logic 1 input voltage  
Logic 0 input voltage  
Logic 1 voltage for clock pin  
(ClockIn)  
2.0 V  
-0.3 V  
3.0 V  
Vcc + 0.3 V  
0.8 V  
Vcc + 0.3 V  
Voclk  
Logic 0 voltage for clock pin  
(ClockIn)  
-0.3 V  
0.7 V  
Vihreset  
Logic 1 voltage for reset pin (reset) 2.2 V  
Vcc + 0.3 V  
Output Voltages  
Voh  
Vol  
Logic 1 Output Voltage  
Logic 0 Output Voltage  
2.4 V  
@CP Io = -23 mA  
@CP Io = 6 mA  
0.33 V  
Other  
Iout  
Iin  
Tri-State output leakage current  
Input current  
@CP  
0 < Vout < Vcc  
@CP  
0 < Vi < Vcc  
-5 µA  
-10 µA  
15 pF  
5 µA  
10 µA  
Cio  
Input/Output capacitance  
@CP typical  
Analog Input  
Zai  
Analog input source impedance  
9kΩ  
Ednl  
Differential nonlinearity error.  
Difference between the step width  
and the ideal value.  
-1  
1.5 LSB  
Einl  
Integral nonlinearity error.  
Maximum deviation from the best  
straight line through the ADC  
transfer characteristics, excluding  
the quantization error.  
+/-1.5 LSB  
3.2 AC characteristics  
See timing diagrams, Section 4, for Tn numbers. The symbol “~” indicates active low signal.  
Timing Interval  
Tn  
Minimum  
Maximum  
Clock Frequency (Fclk)  
Clock Pulse Width  
Clock Period (note 2)  
Encoder Pulse Width  
Dwell Time Per State  
~HostSlct Hold Time  
> 0 MHz  
25 nsec  
50 nsec  
150 nsec  
75 nsec  
0 nsec  
20 MHz (note 1)  
T1  
T2  
T3  
T4  
T6  
MC3310 Technical Specifications  
16  
Timing Interval  
Tn  
Minimum  
Maximum  
~HostSlct Setup Time  
HostCmd Setup Time  
HostCmd Hold Time  
T7  
T8  
T9  
0 nsec  
0 nsec  
0 nsec  
Read Data Access Time  
Read Data Hold Time  
~HostRead High to HI-Z Time  
HostRdy Delay Time  
~HostWrite Pulse Width  
Write Data Delay Time  
Write Data Hold Time  
Read Recovery Time (note 2)  
Write Recovery Time (note 2)  
Read Pulse Width  
Address Setup Delay Time  
Data Access Time  
T10  
T11  
T12  
T13  
T14  
T15  
T16  
T17  
T18  
T19  
T20  
T21  
T22  
T23  
T24  
T25  
T26  
T27  
T28  
T29  
T30  
T31  
T32  
T33  
T34  
T35  
T36  
T37  
T38  
T39  
T40  
T50  
T51  
T52  
T53  
T54  
T55  
T56  
25 nsec  
10 nsec  
20 nsec  
150 nsec  
100 nsec  
70 nsec  
35 nsec  
0 nsec  
60 nsec  
60 nsec  
70 nsec  
7 nsec  
19 nsec  
2 nsec  
7 nsec  
Data Hold Time  
Address Setup Delay Time  
Address Setup to WriteEnable High  
RAMSlct Low to WriteEnable High  
Address Hold Time  
WriteEnable Pulse Width  
Data Setup Time  
Data Setup before Write High Time  
Address Setup Delay Time  
Data Access Time  
72 nsec  
79 nsec  
17 nsec  
39 nsec  
3 nsec  
42 nsec  
7 nsec  
71 nsec  
2 nsec  
7 nsec  
Data Hold Time  
Address Setup Delay Time  
Address Setup to WriteEnable High  
PeriphSlct Low to WriteEnable High  
Address Hold Time  
WriteEnable Pulse Width  
Data Setup Time  
Data Setup before Write High Time  
Read to Write Delay Time  
Reset Low Pulse Width  
RAMSlct Low to Strobe Low  
Strobe High to RAMSlct High  
WriteEnable Low to Strobe Low  
Strobe High to WriteEnable High  
PeriphSlct Low to Strobe Low  
Strobe High to PeriphSlct High  
122 nsec  
129 nsec  
17 nsec  
89 nsec  
3 nsec  
92 nsec  
50 nsec  
5.0 µsec  
1 nsec  
4 nsec  
1 nsec  
3 nsec  
1 nsec  
4 nsec  
Note 1 Performance figures and timing information valid at Fclk = 20.0 MHz only. For timing  
information and performance parameters at Fclk < 20.0 MHz see section 7.1.  
Note 2 The clock low/high split has an allowable range of 45-55%.  
MC3310 Technical Specifications  
17  
4 I/O Timing Diagrams  
For the values of Tn, please refer to the table in Section 3.2.  
The host interface timing shown in diagrams 4.4 and 4.5 is only valid when an external logic device is  
used to provide a parallel communication interface. Refer to section 6 for more information.  
4.1 Clock  
ClockIn  
T1  
T1  
T2  
4.2 Quadrature encoder input  
T3  
T3  
Quad A  
Quad B  
~Index  
T4  
T4  
4.3 Reset  
Vcc  
ClockIn  
~RESET  
T50  
MC3310 Technical Specifications  
18  
4.4 Host interface, 8/16 mode (requires external logic device)  
4.4.1 Instruction write, 8/16 mode  
T7  
T6  
T9  
see note  
~HostSlct  
HostCmd  
T8  
see note  
T18  
T14  
T14  
~HostWrite  
T16  
T16  
HostData0-7  
HostRdy  
High byte  
Low byte  
T15  
T15  
T13  
Note: If setup and hold times are met, ~HostSlct and HostCmd may be de-asserted at this point.  
4.4.2 Data write, 8/16 mode  
T7  
T8  
T6  
T9  
~HostSlct  
see note  
see note  
HostCmd  
T18  
T14  
T14  
~HostWrite  
T16  
T16  
High byte  
Low byte  
HostData0-7  
HostRdy  
T15  
T15  
T13  
Note: If setup and hold times are met, ~HostSlct and HostCmd may be de-asserted at this  
point.  
MC3310 Technical Specifications  
19  
4.4.3 Data read, 8/16 mode  
T7  
T8  
T6  
T9  
~HostSlct  
see note  
see note  
HostCmd  
~HostRead  
T19  
T12  
High  
byte  
High-Z  
High-Z  
High-Z  
Low byte  
HostData0-7  
HostRdy  
T10  
T11  
T13  
Note: If setup and hold times are met, ~HostSlct and HostCmd may be de-asserted at this  
point.  
4.4.4 Status read, 8/16 mode  
T7  
T6  
~HostSlct  
HostCmd  
T9  
T8  
T17  
~HostRead  
T19  
T12  
High-Z  
High-Z  
High-Z  
High  
byte  
Low byte  
HostData0-7  
T10  
T11  
MC3310 Technical Specifications  
20  
4.5 Host interface, 16/16 mode (requires external logic device)  
4.5.1 Instruction write, 16/16 mode  
T7  
T6  
~HostSlct  
HostCmd  
T8  
T9  
T14  
~HostWrite  
T16  
HostData0-15  
HostRdy  
T15  
T13  
4.5.2 Data write, 16/16 mode  
T7  
T6  
T9  
~HostSlct  
T8  
HostCmd  
T14  
~HostWrite  
T16  
HostData0-15  
T15  
HostRdy  
T13  
MC3310 Technical Specifications  
21  
4.5.3 Data read, 16/16 mode  
T6  
T7  
T8  
~HostSlct  
HostCmd  
T9  
T19  
~HostRead  
T12  
High-Z  
High-Z  
HostData0-15  
HostRdy  
T10  
T11  
T13  
4.5.4 Status read, 16/16 mode  
T7  
T6  
~HostSlct  
HostCmd  
~HostRead  
T9  
T8  
T19  
T12  
High-Z  
High-Z  
HostData0-15  
T10  
T11  
MC3310 Technical Specifications  
22  
4.6 External memory timing  
4.6.1 External memory read  
Note: PMD recommends using memory with an access time no greater than 15 nsec.  
T20  
T40  
~RAMSlct  
Addr0-Addr15  
W/~R  
~WriteEnbl  
T21  
Data0-Data15  
T51  
T52  
~Strobe  
4.6.2 External memory write  
T23  
~RAMSlct  
Addr0-Addr15  
R/~W  
T24  
T25  
T26  
W/~R  
T29  
~WriteEnbl  
Data0-Data15  
~Strobe  
T28  
T27  
T27  
T53  
T54  
MC3310 Technical Specifications  
23  
4.7 Peripheral device timing  
4.7.1 Peripheral device read  
T30  
T40  
~PeriphSlct  
Addr0-Addr15  
W/~R  
T31  
~WriteEnbl  
T31  
Data0-Data15  
T55  
T32  
T56  
~Strobe  
4.7.2 Peripheral device write  
T33  
~PeriphSlct  
Addr0-Addr15  
R/~W  
T34  
T35  
T36  
W/~R  
T39  
~WriteEnbl  
Data0-Data15  
~Strobe  
T38  
T37  
T37  
T53  
T54  
MC3310 Technical Specifications  
24  
5 Pinouts and Pin Descriptions  
5.1 Pinouts for MC3310  
2, 7, 13, 21, 35, 36, 40, 47, 50,  
52, 60, 62, 66, 93, 103, 121  
1
4
6
130  
129  
41  
132  
43  
44  
99  
~WriteEnbl  
R/~W  
VCC  
AnalogVcc  
AnalogRefHigh  
AnalogRefLow  
AnalogGnd  
Analog1  
84  
85  
86  
87  
74  
89  
75  
88  
76  
83  
77  
82  
63  
64  
94  
72  
100  
101  
102  
96  
97  
67  
68  
69  
70  
73  
90  
91  
54  
~Strobe  
~PeriphSlct  
~RAMSlct  
~Reset  
W/~R  
SrlRcv  
SrlXmt  
SrlEnable  
~HostIntrpt  
ClockIn  
Addr0  
Addr1  
Addr2  
Addr3  
Addr4  
Addr5  
Addr6  
Addr7  
Addr8  
Analog2  
Analog3  
Analog4  
Analog5  
Analog6  
Analog7  
Analog8  
PosLim1  
NegLim1  
AxisOut1  
AxisIn1  
PWMMag1  
PWMMag2  
PWMMag3  
PWMSign1  
PWMSign2  
QuadA1  
QuadB1  
~Index1  
~Home1  
Hall1A  
Hall1B  
Hall1C  
NC/Synch  
98  
58  
110  
111  
112  
114  
115  
116  
117  
118  
119  
122  
123  
124  
125  
126  
127  
128  
9
Addr9  
Addr10  
Addr11  
Addr12  
Addr13  
Addr14  
Addr15  
Data0  
CP  
10  
Data1  
11  
Data2  
12  
15  
Data3  
Data4  
I/OIntrpt  
PrlEnable  
53  
65  
16  
Data5  
17  
Data6  
18  
Data7  
19  
Data8  
22  
Data9  
23  
24  
25  
26  
27  
28  
Data10  
Data11  
Data12  
Data13  
Data14  
Data15  
GND  
3, 8, 14, 20, 29, 37, 46, 56, 59,  
61, 71, 92, 104, 113, 120  
Unassigned  
5, 30-34, 38, 39, 42, 45, 48, 49,  
51, 55, 57, 95, 105, 106, 107-  
109, 131  
AGND  
78-81  
MC3310 Technical Specifications  
25  
5.2 CP chip pin description table  
Pin Name and number Direction  
Description  
~WriteEnbl  
1
output  
output  
When low, this signal enables data to be written to the bus.  
This signal is high when the CP chip is performing a read, and low when it is  
performing a write.  
R/~W  
4
~Strobe  
6
output  
This signal is low when the data and address are valid during CP  
communications.  
~PeriphSlct  
~RAMSlct  
~Reset  
130  
129  
41  
output  
output  
input  
This signal is low when peripheral devices on the data bus are being addressed.  
This signal is low when external memory is being accessed.  
This is the master reset signal. When brought low, this pin resets the processor to  
its initial conditions.  
W/~R  
132  
43  
output  
input  
This signal is the inverse of R/~W; it is high when R/~W is low, and vice versa. For  
some decode circuits, this is more convenient than R/~W.  
This pin receives serial data from the asynchronous serial port. If serial  
communication is not used, this pin should be tied to Vcc.  
SrlRcv  
SrlXmt  
44  
99  
output  
output  
This pin transmits serial data to the asynchronous serial port.  
SrlEnable  
This pin sets the serial port enable line. SrlEnable is always high for the point-to-  
point protocol and is high during transmission for the multi-drop protocol.  
When low, this signal causes an interrupt to be sent to the host processor.  
This signal interrupts the CP chip when a host I/O transfer is complete. It  
should be connected to CPIntrpt of the parallel interface chip.  
If the parallel interface is disabled (see below) this signal can be left unconnected  
or tied to Vcc.  
~HostIntrpt  
I/OIntrpt  
98  
53  
output  
input  
PrlEnable  
65  
input  
This signal enables/disables the parallel communication with the host. If this  
signal is tied high, the parallel interface is enabled. If this signal is tied low the  
parallel interface is disabled. See section 6 of this manual for more information  
on parallel communication.  
WARNING! This signal should only be tied high if an external  
logic device that implements the parallel communication logic  
included in the design. This signal is an output during device reset  
and as such any connection to GND or Vcc must be via a series  
resistor.  
Data0  
Data1  
Data2  
Data3  
Data4  
Data5  
Data6  
Data7  
Data8  
Data9  
Data10  
Data11  
Data12  
Data13  
Data14  
Data15  
9
bi-directional Multi-purpose data lines. These pins comprise the CP chip’s external data bus,  
used for all communications with peripheral devices such as external memory or  
DACs. They may also be used for parallel-word input and for user-defined I/O  
operations.  
10  
11  
12  
15  
16  
17  
18  
19  
22  
23  
24  
25  
26  
27  
28  
MC3310 Technical Specifications  
26  
Pin Name and number Direction  
Description  
Addr0  
Addr1  
Addr2  
Addr3  
Addr4  
Addr5  
Addr6  
Addr7  
Addr8  
Addr9  
Addr10  
Addr11  
Addr12  
Addr13  
Addr14  
Addr15  
ClockIn  
110  
111  
112  
114  
115  
116  
117  
118  
119  
122  
123  
124  
125  
126  
127  
128  
58  
output  
Multi-purpose Address lines. These pins comprise the CP chip’s external address  
bus, used to select devices for communication over the data bus.  
They may be used for DAC output, parallel word input, or user-defined I/O  
operations. See the Pilot Motion Processor User’s Guide for a complete memory map.  
input  
input  
This is the clock signal for the Motion Processor. It is driven at a nominal  
20MHz.  
CP chip analog power supply voltage. This pin must be connected to the analog  
input supply voltage, which must be in the range 4.5-5.5 V  
AnalogVcc  
84  
If the analog input circuitry is not used, this pin must be connected to Vcc.  
AnalogRefHigh 85  
AnalogRefLow 86  
input  
input  
CP chip analog high voltage reference for A/D input. The allowed range is  
AnalogRefLow to AnalogVcc.  
If the analog input circuitry is not used, this pin must be connected to Vcc.  
CP chip analog low voltage reference for A/D input. The allowed range is  
AnalogGND to AnalogRefHigh.  
If the analog input circuitry is not used, this pin must be connected to GND.  
AnalogGND  
87  
CP chip analog input ground. This pin must be connected to the analog input  
power supply return.  
If the analog input circuitry is not used, this pin must be connected to GND.  
Analog1  
Analog2  
Analog3  
Analog4  
74  
89  
75  
88  
input  
These signals provide general-purpose analog voltage levels, which are sampled  
by an internal A/D converter. The A/D resolution is 10 bits.  
The allowed range is AnalogRefLow to AnalogRefHigh.  
Analog5  
Analog6  
Analog7  
76  
83  
77  
Any unused pins should be tied to AnalogGND.  
If the analog input circuitry is not used, these pins should be tied to GND.  
Analog8  
82  
PWMMag1  
PWMMag2  
PWMMag3  
PWMSign1  
PWMSign2  
100  
101  
102  
96  
output  
These pin provide the Pulse Width Modulated signals for each phase to the  
motor. The PWM resolution is 9 bits at a frequency of 20.0 KHz.  
In 2 or 3-phase PWM 50/50 mode, PWMMag1/2/3 are the only signals and  
encode both the magnitude and direction in the one signal.  
97  
In single-phase PWM sign/magnitude mode, PWMMag1 and PWMSign1 are the  
PWM magnitude and direction signals respectively.  
In 2-phase PWM sign/magnitude mode, PWMMag1 and PWMSign1 are the  
PWM magnitude and direction signals for Phase A. PWMMag2 and PWMSign2,  
are the PWM magnitude and direction signals for Phase B.  
Unused pins may be left unconnected.  
MC3310 Technical Specifications  
27  
Pin Name and number Direction  
Description  
QuadA1  
QuadB1  
67  
68  
input  
These pins provide the A and B quadrature signals for the incremental encoder.  
When the axis is moving in the positive (forward) direction, signal A leads signal  
B by 90°.  
The theoretical maximum encoder pulse rate is 5.1 MHz. Actual maximum rate  
will vary, depending on signal noise.  
NOTE: Many encoders require a pull-up resistor on each signal to establish a  
proper high signal. Check your encoder’s electrical specification.  
This pin provides the Index signal for the incremental encoder. A valid index  
pulse is recognized by the chip when this signal transitions from high to low.  
~Index1  
69  
input  
There is no internal gating of the index signal with the encoder A  
and B inputs. This must be performed externally if desired. Refer  
to the Application Notes section at the end of this manual for an  
example.  
~Home1  
PosLim1  
NegLim1  
70  
63  
64  
input  
input  
input  
This pin provides the Home signal, general-purpose inputs to the position-  
capture mechanism. A valid Home signal is recognized by the chip when ~Home  
goes low.  
WARNING! If this pin is not used, its signal should be tied high.  
This signal provides input from the positive-side (forward) travel limit switch.  
On power-up or Reset this signal defaults to active low interpretation, but the  
interpretation can be set explicitly using the SetSignalSense instruction.  
WARNING! If this pin is not used, its signal should be tied high.  
This signal provides input from the negative-side (reverse) travel limit switch. On  
power-up or Reset this signal defaults to active low interpretation, but the  
interpretation can be set explicitly using the SetSignalSense instruction.  
WARNING! If this pin is not used, its signal should be tied high.  
This signal is an output during device reset and as such any  
connection to GND or Vcc must be via a series resistor.  
AxisOut1  
AxisIn1  
94  
72  
output  
input  
This pin can be programmed to track the state of any bit in the Status registers.  
If this pin is not used it may be left unconnected.  
This is a general-purpose or programmable input. It can be used as a breakpoint  
input, to stop a motion axis, or to cause an Update to occur.  
If this pin is not used it may be left unconnected.  
Hall1A  
Hall1B  
Hall1C  
73  
90  
91  
Input  
Hall sensor inputs. Each set (A, B, and C) of signals encodes 6 valid states as  
follows: A on, A and B on, B on, B and C on, C on, C and A on. A sensor is  
defined as being on when its signal is high.  
These signals should only be connected to Hall sensors that are  
mounted at a 120° offset. Schemes that provide Hall signals 60°  
apart will not work.  
If these pins are not used they may be left unconnected.  
NC/Synch  
54  
input/output On the MC3310 this pin is not used.  
On the MC3313 this pin is the synchronization signal. In the disabled mode, the  
pin is configured as an input and is not used. In the master mode, the pin  
outputs a synchronization pulse that can be used by slave nodes or other devices  
to synchronize with the internal chip cycle of the master node. In the slave  
mode, the pin is configured as an input and a pulse on the pin synchronizes the  
internal chip cycle.  
MC3310 Technical Specifications  
28  
Pin Name and number Direction  
Description  
Vcc  
2, 7, 13, 21, 35, 36, 40, CP digital supply voltage. All of these pins must be connected to the supply  
47, 50, 52, 60, 62, 66, voltage. Vcc must be in the range 4.75 - 5.25 V  
93, 103, 121  
WARNING! Pin 35 must be tied HIGH with a pull-up resistor. A  
nominal value of 22K Ohms is suggested.  
GND  
3, 8, 14, 20, 29, 37, 46, CP ground. All of these pins must be connected to the power supply return.  
56, 59, 61, 71, 92, 104,  
113, 120  
AGND  
78-81  
These signals must be tied to AnalogGND.  
If the analog input circuitry is not used, these pins must be tied to GND.  
unassigned  
unassigned  
45, 48, 49, 51, 55, 105, These signals may be connected to GND for better noise immunity and reduced  
106, 107, 108, 109  
power consumption or they can be left unconnected (floating).  
5, 30-34, 38, 39, 42,  
57, 95, 131  
These signals must be left unconnected (floating).  
MC3310 Technical Specifications  
29  
6 Parallel Communication  
With the addition of an external logic device, the Pilot motion processor can communicate with a  
host processor using a parallel data stream. This offers a higher communication rate than a serial  
interface and may be used in configurations where a serial connection is not available or not  
convenient. This section details the required logic that must be implemented in the external device  
as well as the necessary connections to the CP chip.  
The reference design files for the parallel interface chip, in Actel/ViewLogic format, are available  
from PMD. There are two versions of the design, one for interfacing with host processors that have  
an 8-bit data bus and one for host processors that have a 16-bit data bus. The designs are called  
IOPIL8 and IOPIL16 respectively. The interface to the CP chip is essentially identical in both.  
The function of the I/O chip is to provide a shared-memory style interface between the host and CP  
chip, comprised of four 16-bit wide locations. These are used for transferring commands and data  
between the host and Pilot motion processor. The CP chip accesses the command/data registers  
using its 16-bit external data bus while the host accesses the registers via a parallel interface with chip  
select, read, write and command/data signals. If necessary, the host side interface can be modified  
by the designer to match specific requirements of the host processor.  
6.1 Host interface pin description table  
Pin Name  
Direction  
input  
Description  
HostCmd  
This signal is asserted high to write a host instruction to the motion processor, or to  
read the status of the HostRdy and HostIntrpt signals. It is asserted low to read or write  
a data word.  
This signal is used to synchronize communication between the motion processor  
and the host. HostRdy will go low (indicating host port busy) at the end of a read or  
write operation according to the interface mode in use, as follows:  
Interface Mode HostRdy goes low  
HostRdy  
output  
8/16  
16/16  
serial  
after the second byte of the instruction word  
after the second byte of each data word is transferred  
after the 16-bit instruction word  
after each 16-bit data word  
n/a  
HostRdy will go high, indicating that the host port is ready to transmit, when the last  
transmission has been processed. All host port communications must be made  
with HostRdy high (ready).  
A typical busy-to-ready cycle is 12.5 microseconds, but can be substantially longer,  
up to 100 microseconds.  
~HostRead  
~HostWrite  
~HostSlct  
CPIntrpt  
input  
input  
input  
output  
When ~HostRead is low, a data word is read from the motion processor.  
When ~HostWrite is low, a data word is written to the motion processor.  
When ~HostSlct is low, the host port is selected for reading or writing operations.  
I/O chip to CP chip interrupt. This signal sends an interrupt to the CP chip  
whenever a host–chipset transmission occurs. It should be connected to CP chip  
pin 53, I/OIntrpt.  
CPR/~W  
input  
input  
This signal is high when the I/O chip is reading data from the I/O chip, and low  
when it is writing data. It should be connected to CP chip pin 4, R/W.  
CPStrobe  
This signal goes low when the data and address become valid during Motion  
processor communication with peripheral devices on the data bus, such as external  
memory or a DAC. It should be connected to CP chip pin 6, Strobe.  
MC3310 Technical Specifications  
30  
Pin Name  
Direction  
input  
Description  
CPPeriphSlct  
This signal goes low when a peripheral device on the data bus is being addressed. It  
should be connected to CP chip pin 130, PeriphSlct.  
CPAddr0  
CPAddr1  
CPAddr15  
input  
These signals are high when the CP chip is communicating with the I/O chip (as  
distinguished from any other device on the data bus). They should be connected to  
CP chip pins 110 (Addr0), 111 (Addr1), and 128 (Addr15).  
MasterClkIn  
input  
This is the master clock signal for the motion processor. It is driven at a nominal  
40 MHz  
This signal provides the clock pulse for the CP chip. Its frequency is half that of  
MasterClkIn (pin 89), or 20 MHz nominal. It is connected directly to the CP chip  
I/Oclk signal (pin 58).  
CPClk  
output  
HostData0  
HostData1  
HostData2  
HostData3  
HostData4  
HostData5  
HostData6  
HostData7  
HostData8  
HostData9  
HostData10  
HostData11  
HostData12  
HostData13  
HostData14  
HostData15  
CPData0  
bi-directional, These signals transmit data between the host and the Motion processor through  
tri-state  
the parallel port. Transmission is mediated by the control signals ~HostSlct,  
~HostWrite, ~HostRead and HostCmd.  
In 16-bit mode, all 16 bits are used (HostData0-15). In 8-bit mode, only the low-  
order 8 bits of data are used (HostData0-7).  
bi-directional  
These signals transmit data between the I/O chip and pins Data0-15 of the CP chip,  
CPData1  
via the motion processor data bus.  
CPData2  
CPData3  
CPData4  
CPData5  
CPData6  
CPData7  
CPData8  
CPData9  
CPData10  
CPData11  
CPData12  
CPData13  
CPData14  
CPData15  
MC3310 Technical Specifications  
31  
6.2 16-bit Host Interface (IOPIL16)  
This design implements a parallel interface with a host processor utilizing a 16-bit data bus. An  
understanding of the underlying operation of the design is only necessary if the designer intends to  
make modifications. In most cases this design can be implemented without changes. The following  
notes should be read while referencing the schematics. IOPIL16 1 is the top level schematic. The  
timing for the host to I/O chip communication can be found in section 4.5 and the timing for the  
CP to I/O chip communication can be found in section 4.7.  
The description below identifies the key elements of each schematic starting with the host side  
signals. The paragraph title identifies the key schematic(s) being described in the text.  
IOPIL16 3  
The host interface is shown in sheet IOPIL16 3. The incoming data HD[15:0] is latched in the  
transparent latches when ~HG1 and ~HG2 go high. This would be the result of a write from the  
host to the CP. The latched data HI[15:8] and HI[7:0] go to schematic IOPIL16 1 and IOPIL16 5.  
Data from the interface to the host, HO[15:8] and HO[7:0] is enabled onto the host bus, HD[15:0],  
by HOES2 and HOES1 respectively. The output latches, which present the data during a host read,  
are always transparent because GOUT is connected to VDD. The latched I/O is an I/O option on  
the Actel part used and could be omitted in the host interface if a different CPLD or FPGA does not  
have this feature.  
IOPIL16 1  
The control for the host interface starts on IOPIL16 1. HOES1 and HOES2 are the AND of  
~HSEL and ~HRD and enable read data onto the host bus, as previously described. HRDY is a  
handshaking signal to the host to allow asynchronous communication between the host and the CP.  
The host must wait until HRDY is true before attempting to communicate with the CP. This signal  
is copied as a bit in the host status register. The host status register may be read at any time to  
determine the state of HRDY, or the HRDY output may be used as an interrupt to the host.  
~HSEL, ~HRD, ~HWR, and HA0 are the buffered inputs of the host control signals.  
HOST INTERFACE/IOPIL16 5  
Data from the host HI[15:8] and HI[7:0] is written into REG1 and REG2 on the schematic HOST  
INTERFACE by ~EN1 and ~EN2. These registers have a 2 to 1 multiplexed input with both the  
host data and the CP data being written to these registers. This is convenient for diagnostic purposes  
and is very efficient in the Actel A42MX FPGA's, which are multiplexer based but if the  
configuration of the logic device used demands it, separate registers could be used for the host and  
CP data. The schematic for this register is shown as DFME8. Only commands and checksums are  
written to registers REG1 and REG2 while data is written and read from the set of data registers,  
DATREG shown on IOPIL16 5. These 3 data registers buffer data sent to and from the CP,  
reducing the number of interrupts the CP must handle. The output from REG1 and REG2,  
CIQ[15:8] and CIQ[7:0] go to IOPIL16 5, where they are multiplexed with the other data registers.  
The multiplexed result, IQ[15:8] and IQ[7:0], is multiplexed with HST[15:8] and HST[7:0] - the  
output of the host status registers REG3 and REG4. As previously mentioned, HRDY becomes  
HST15 so it can be read by the host. The rest of the status register is written by the CP to provide  
information to the host. HA0 acts as an address bit, and usually is an address bit on the bus. When  
the host is writing, HA0 low indicates data and HA0 high indicates a command. When the host is  
reading, HAO low indicates data and HA0 high indicates status. Read status is the only transaction  
MC3310 Technical Specifications  
32  
allowed while HRDY is low. During a host write the AND gate (G1:HOST INTERFACE) and two  
flops latch the incoming data in the interface latches by driving ~HG1, and ~HG2 low from the  
start of the write transaction until the first negative clock transition after the first positive transition  
following the start of the write cycle. This tail-biting circuit removes the requirement for hold time  
on the data bus.  
HICTLA  
Most of the control logic for the host interface is shown on schematic HICTLA. The sequencer at  
the top generates HCYC one clock interval after the interface has been accessed and the host has  
finished the transaction. The nature of the transaction, rd/wr, command/data, and read status is  
preserved in the three flops F13, F8, and F9. A host write or a CP write, DSIW, enable REG1 and  
REG2 on the HOST INTERFACE schematic discussed previously. A host data write generates  
~ENHD1 and ~ENHD2 for the data registers on the DATREG schematic. The logic at the bottom  
of the page generates the CP interrupt, the HRDY and the HCMDFL. The HCMDFL is used in the  
CP status to indicate a command. DSIW, the CP writing to REG1 and REG2 on the HOST  
INTERFACE schematic clears the interrupt and reasserts HRDY. HRDY is de-asserted during all  
host transactions except read status, and stays de-asserted until the CP has completed the DSIW  
cycle that clears the interrupt and reasserts HRDY. As mentioned previously data transfers to and  
from the host use the data registers and do not interrupt the CP. The CP knows the number of data  
transfers that must take place after decoding the command. It places this number, 0-3, in the 2 least  
significant bits of the host status register, HST[1:0]. These become DPNT[1:0] on this page of the  
schematic and enable an interrupt at 0 for a read and 1 or 0 for a write. The CP always leaves theses  
bit set to 0 unless setting up a multiple word data transfer. If INTEN is true and LRDST, latched  
read status, is false, HCYC will generate an interrupt to the CP. This will also hold HRDY false until  
after the CP writes to the interface register, DSIW, thereby generating ~CLRFLGS.  
IOPIL16 4  
The CP interface is shown in sheet IOPIL16 4. The incoming data DSD[15:0] is latched in the  
transparent latches when ~DG1 and ~DG2 go high. This occurs at the completion of a write from  
the CP to the I/O chip. The latched data DSI[15:8] and DSI[7:0] go to schematic IOPIL16 1 and  
IOPIL16 5. DSI[7:0] also goes to IOPIL16 2. Data from the interface to the CP, DO[15:8] and  
DO[7:0] is enabled onto the CP bus, DSD[15:0], by DOE2 and DOE1 respectively. The output  
latches, which present the data during a CP read, are always transparent because GOUT is connected  
to VDD. The latched I/O in the Actel part contains both input and output latches. The output  
latches could be omitted in the CP interface if a different CPLD or FPGA does not have this feature.  
The two incoming CP address bits CPA0 and CPA1 are also latched using ~DG3. The 20CK signal  
is the clock for the CP. This is a 20 MHz clock derived from a 40 MHz clock input.  
IOPIL16 2  
The CP control starts on IOPIL16 2. The I/O control is generated from ~CPSTRB, ~CPIS,  
CPSEL and R/W. ~DG1, ~DG2, and ~DG3 latch the incoming data and DOE1 and DOE2 out-  
enable the data from this chip to the CP. F2 and F4 tail-bite the write to avoid having to specify hold  
times on the data. Flop F1 divides the 40MHz clock down to 20 MHz. A 20 MHz clock could be  
used for this interface and the CP.  
MC3310 Technical Specifications  
33  
DSPWA  
The CP write control is contained on schematic DSPWA. The CP interface uses page addressing to  
save I/O pins. F0, F1 and F2 make up the page register. In addition there are the 2 address bits,  
LA0 and LA1. A write to address 0 selects the page register with DSI[2:0] going to the page register  
and selecting the page for the successive transfers. A read from address 0 reads the status register on  
all pages. Pages 4 and 6 are the only ones implemented in this device. L1 latches the r/w level. The  
write decoding generates DSIW which enables writes to the DFME8 registers reg1 and reg2 shown  
on the HOST INTERFACE schematic. DSIW also clears the CP interrupt and restores HRDY.  
DSWST writes to the host status register also shown on the HOST INTERFACE schematic.  
DSWDREG implements writing to the data registers shown on IOPIL16 5 and DATREG. Finally  
the logic at the bottom of the page generates CPCYC, a 1-clock interval after the CP cycle is over  
that implements the actual writes to the registers. The use of the data bus latches and the post bus  
cycle transfers keeps as much of the logic synchronous as possible given two asynchronous devices,  
without requiring clocking at several times the bus speed.  
DSPRA  
The CP read control is contained on schematic DSPRA. The 2 by 16 bit mux selects CP status if the  
CP latched address is 0 and IQ[15:0] if the address is not 0. The only significant status bits are bits 15  
(indicating the CP is interrupting the host), bits 13 and 14 (both 0 indicating a 16 bit host interface)  
and bit 0 (set to 1 during a host command transfer and 0 during data transfer).  
HOST INTERFACE  
Both the CP and the host use a special mode to transfer data to avoid unnecessary CP interrupts.  
This special mode is under the control of the CP and is transparent to the host. When the CP  
receives a command from the host it initializes the transfer by setting the number of transfers  
expected (0,1,2 or 3) in the 2 LSB's of the host status register, REG3 and REG4 on HOST  
INTERFACE. This write (DSWST) also loads these bits into the 2 bit down counter DCNT2 on  
IOPIL16 5. Note that a Q8 low, which indicates a host command, asynchronously clears this  
register enabling interrupts on schematic HICTLA. If DPNT[1:0] is not 0 and Q8 is high, indicating  
a host data transfer, and SINT goes high indicating the end of a host cycle the counter is  
decremented. MXAD2 selects address RA from the CP latched address bits if the page register  
contains 6, or the counter contents DPNT[1:0] if not. This allows the CP to have direct access to  
registers 1, 2, and 3, using addresses 1,2,and 3 on page 6. The host on the other hand can only read  
or write to the data register, HA0 low and the counter will auto decrement from 3 down to 0  
allowing the host to access the registers on DATREG where REG1=R1 and R2, REG2=R3 and R4,  
and REG3=R5 and R6. The writes are enabled by the two decoders DECE2X4, while the reads are  
selected by the two 4x8 muxes, MUX1 and MUX2 controlled by the two 2x1 muxes MDS1 and  
MDS0. The output data IQ[15:0] goes to HOST INTERFACE schematic below IOPIL16 1 and to  
DSPRA below IOPIL16 2. The write data is HI[15:8], HI[7:0] from the host and DSI[15:8] and  
DSI[7:0] from the CP.  
MC3310 Technical Specifications  
34  
A
B
C
D
HINTF  
HSEL  
HRD  
INBUF  
INBUF  
INBUF  
INBUF  
IN17  
PAD  
PAD  
PAD  
PAD  
Y
HSTSEL  
HSTRD  
HSTWR  
HADR0  
HSEL  
HRD  
HWR  
HA0  
HOST INTERFACE  
(HINTRFA)  
IN18  
HWR  
HA0  
HO[7:0]  
Y
HO[7:0]  
1
2
3
4
1
2
3
4
HO[15:8]  
HO[15:8]  
IN19  
HI[7:0]  
Y
HI[7:0]  
HI[15:8]  
DSI[15:8]  
DSI[7:0]  
DPNT[1:0]  
HI[15:8]  
IN20  
Y
CIQ[7:0]  
DSI[15:8]  
DSI[7:0]  
HST[1:0]  
CIQ[7:0]  
CIQ[15:8]  
CIQ[15:8]  
Q8  
Q8  
DSWST  
DSIW  
DSWST  
DSIW  
SINT  
SINT  
HG1  
HG2  
HG1  
HG2  
IQ[7:0]  
IQ[7:0]  
HST14  
ST15  
IQ[15:8]  
IQ[15:8]  
HCMDFL  
DSPINTR  
ST0  
DSPINTR  
OUTBUF  
CLK  
CLK  
HST15  
ENHD1  
ENHD2  
RDY  
D
PAD  
HRDY  
ENHD1  
ENHD2  
HRD  
A
B
Y
Y
HOES1  
HOES2  
AND2B  
HSEL  
HRD  
A
B
AND2B  
HSEL  
OUTBUF  
DSPINTR  
D
PAD  
DSPINT  
OUT5  
IOPIL16 1  
22 OCT 2002  
DBS  
DRAWN BY:  
A
B
C
D
A
B
C
D
PNT0  
PNT1  
CSEL0  
CSEL1  
DSPRA  
DSWDREG  
DSWDREG  
1
2
3
4
ST0  
ST0  
1
2
3
4
ST15  
ST15  
DSI[7:0]  
DSIW  
DSWST  
PP6  
DSIW  
DSWST  
PP6  
DSI[7:0]  
IQ[15:0]  
IQ[15:0]  
PP4  
PP4  
IN27  
INBUF  
INBUF  
PAD  
PAD  
Y
CS  
CPSEL  
DG3  
DG3  
IN28  
Y
CPR-W  
DO[15:0]  
LA0  
LA1  
LA0  
LA1  
DO[15:0]  
IN26  
Y
INBUF  
INBUF  
PAD  
PAD  
STRB  
IS  
IN30  
Y
CPSEL  
R/W  
R/W  
CPSTRB  
CPIS  
CPSTRB  
CPIS  
LA0  
LA1  
LA0  
LA1  
CKBUF  
A
CPCYC  
CPCYC  
Y
20CK  
CLK  
CLK  
DSPRA  
DSPWA  
CLKINT  
CPSTRB  
CPIS  
A
B
G1  
Y
CSACC  
NAND3B  
CPSEL  
C
A
B
C
D
A
B
C
D
G2  
F1  
D
Y
Y
DOE1  
DOE2  
20CK  
AND4B  
QN  
DF1A  
R/W  
IB1  
INBUF  
PAD  
Y
CLKIN  
40CK  
CLK  
G3  
AND4B  
G4  
A
B
C
Y
Y
DG1  
DG2  
NAND3B  
G5  
A
B
C
NAND3B  
F2  
F4  
CSACC  
CLK  
CQ1  
CQ3  
D
Q
D
Q
A
G6  
DF1  
DF1  
CSACC  
CQ3  
B
C
D
Y
DG3  
NAND4B  
CLK  
CLK  
IOPIL16 2  
24 OCT 2002  
DBS  
DRAWN BY:  
A
B
C
D
A
B
C
D
HIGH SLEW  
HIGH SLEW  
HIGH SLEW  
HIGH SLEW  
E
D
PAD  
HO0  
HD0  
HI0  
E
E
E
D
Q
Q
D
PAD  
D
PAD  
D
PAD  
HO4  
HD4  
HI4  
HO8  
HD8  
HI8  
HO12  
HD12  
HI12  
D
G
D
Q
D
G
D
Q
Q
D
G
D
Q
Q
GOUT  
G
D
GOUT  
GOUT  
GOUT  
1
2
3
4
VDD  
VDD  
VDD  
1
2
3
4
Q
Q
Q
Q
VDD  
Q
BBDLHS  
BBDLHS  
BBDLHS  
BBDLHS  
GIN  
D
G
GIN  
D
GIN  
D
GIN  
D
G
G
G
HIGH SLEW  
HIGH SLEW  
HIGH SLEW  
HIGH SLEW  
HIGH SLEW  
HIGH SLEW  
HIGH SLEW  
HIGH SLEW  
E
PAD  
HO1  
HD1  
HI1  
E
E
E
E
E
E
E
D
G
D
Q
Q
PAD  
PAD  
PAD  
HO5  
HD5  
HI5  
HO9  
HD9  
HI9  
HO13  
HD13  
HI13  
D
G
D
Q
Q
D
G
D
Q
Q
D
G
D
Q
Q
GOUT  
GOUT  
GOUT  
GOUT  
Q
Q
Q
Q
BBDLHS  
BBDLHS  
BBDLHS  
BBDLHS  
GIN  
D
G
GIN  
D
GIN  
D
GIN  
D
G
G
G
HIGH SLEW  
HIGH SLEW  
E
PAD  
HO2  
HD2  
HI2  
E
D
G
D
Q
Q
PAD  
PAD  
PAD  
HO6  
HD6  
HI6  
HO10  
HD10  
HI10  
HO14  
HD14  
HI14  
D
G
D
Q
Q
D
G
D
Q
Q
D
G
D
Q
Q
GOUT  
GOUT  
GOUT  
GOUT  
Q
Q
Q
Q
BBDLHS  
BBDLHS  
BBDLHS  
BBDLHS  
GIN  
D
G
GIN  
D
GIN  
D
GIN  
D
G
G
G
HIGH SLEW  
HIGH SLEW  
E
PAD  
PAD  
PAD  
HO3  
HD3  
HI3  
HO7  
HD7  
HI7  
HO15  
HD15  
HI15  
E
D
G
D
Q
Q
D
G
D
Q
Q
D
G
D
Q
Q
PAD  
HO11  
HD11  
HI11  
D
G
D
Q
Q
GOUT  
GOUT  
GOUT  
GOUT  
Q
Q
Q
Q
BBDLHS  
BBDLHS  
BBDLHS  
BBDLHS  
GIN  
GIN  
GIN  
G
G
G
GIN  
HI[7:0]  
G
HI[15:0]  
HG1  
HG1  
HO[15:8]  
HG2  
HO[7:0]  
HG2  
VCC  
Y
HOES1  
HOES2  
VDD  
IOPIL16 3  
21 OCT 2002  
DBS  
DRAWN BY:  
A
B
C
D
A
B
C
D
DOE1  
DO0  
HIGH SLEW  
DOE1  
DO4  
DOE2  
DO8  
DOE2  
HIGH SLEW  
HIGH SLEW  
HIGH SLEW  
E
D
PAD  
DSD0  
DSI0  
E
E
E
D
G
D
Q
Q
D
PAD  
D
PAD  
D
PAD  
DSD4  
DSI4  
DSD8  
DSI8  
DO12  
DSD12  
DSI12  
D
G
D
Q
Q
D
G
D
Q
D
G
D
Q
Q
GOUT  
VDD  
GOUT  
GOUT  
GOUT  
VDD  
VDD  
VDD  
1
2
3
4
1
2
3
4
Q
Q
Q
Q
Q
BBDLHS  
BBDLHS  
BBDLHS  
BBDLHS  
GIN  
D
G
GIN  
D
GIN  
D
GIN  
D
G
G
G
DOE1  
DO1  
HIGH SLEW  
DOE1  
DOE2  
DOE2  
HIGH SLEW  
HIGH SLEW  
HIGH SLEW  
HIGH SLEW  
HIGH SLEW  
HIGH SLEW  
HIGH SLEW  
E
PAD  
DSD1  
DSI1  
E
E
E
E
E
E
E
D
G
D
Q
Q
PAD  
PAD  
PAD  
DO5  
DSD5  
DSI5  
DO9  
DSD9  
DSI9  
DO13  
DSD13  
DSI13  
D
G
D
Q
Q
D
G
D
Q
Q
D
G
D
Q
Q
GOUT  
GOUT  
GOUT  
GOUT  
Q
Q
Q
Q
BBDLHS  
BBDLHS  
BBDLHS  
BBDLHS  
GIN  
D
G
GIN  
D
GIN  
D
GIN  
D
G
G
G
DOE1  
DO2  
HIGH SLEW  
DOE1  
DO6  
DOE2  
DO10  
DOE2  
DO14  
HIGH SLEW  
E
PAD  
DSD2  
DSI2  
E
D
G
D
Q
Q
PAD  
PAD  
PAD  
DSD6  
DSI6  
DSD10  
DSI10  
DSD14  
DSI14  
D
G
D
Q
Q
D
G
D
Q
Q
D
G
D
Q
Q
GOUT  
GOUT  
GOUT  
GOUT  
Q
Q
Q
Q
BBDLHS  
BBDLHS  
BBDLHS  
BBDLHS  
GIN  
D
G
GIN  
D
GIN  
D
GIN  
D
G
G
G
DOE1  
DO7  
DOE2  
DO15  
DOE1  
DO3  
DOE2  
DO11  
HIGH SLEW  
HIGH SLEW  
PAD  
PAD  
DSD7  
DSI7  
DSD15  
DSI15  
E
E
D
G
D
Q
Q
D
G
D
Q
Q
PAD  
PAD  
DSD3  
DSI3  
DSD11  
DSI11  
D
G
D
Q
Q
D
G
D
Q
Q
GOUT  
GOUT  
GOUT  
GOUT  
Q
Q
Q
Q
BBDLHS  
BBDLHS  
BBDLHS  
BBDLHS  
GIN  
GIN  
G
G
GIN  
GIN  
DSI[7:0]  
G
G
DSI[15:8]  
DG1  
DO[15:8]  
DG2  
DO[7:0]  
DOE2  
DOE2  
DG2  
DOE1  
GND  
VCC  
Y
GND  
HIGH SLEW  
HIGH SLEW  
E
D
PAD  
CPA1  
VDD  
E
D
G
D
Q
Q
D
PAD  
CPA0  
D
Q
GOUT  
GOUT  
G
D
IOPIL16 4  
OUTBUF  
Q
LA1  
20CK  
D
PAD  
CLKOUT  
Q
LA0  
Q
BBDLHS  
BBDLHS  
GIN  
DG3  
G
GIN  
DG3  
G
21 OCT 2002  
DBS  
DRAWN BY:  
A
B
C
D
A
B
C
D
ENHD1  
DSWDREG  
A
Y
Y
END1  
END2  
OR2A  
B
1
2
3
4
1
2
3
4
DREG  
DOE1  
PP4  
ENHD2  
A
DOE1  
PP4  
OR2A  
B
CIQ[7:0]  
CIQ[7:0]  
CIQ[15:8]  
HI[7:0]  
CIQ[15:8]  
HI[7:0]  
Q8  
HI[15:8]  
DSI[7:0]  
DSI[15:8]  
RA[1:0]  
LA[1:0]  
SINT  
A
B
C
HIH[15:8]  
DSI[7:0]  
DSI[15:8]  
RA[1:0]  
IQ[7:0]  
IQ[7:0]  
Y
DPINC  
AND3  
DPNT0  
DPNT1  
A
B
IQ[15:8]  
Y
NAND2B  
IQ[15:8]  
LA[1:0]  
PP6  
PP6  
END1  
END2  
CLK  
END1  
END2  
CLK  
DATREG  
DCNT2  
DSWST  
SLOAD  
ENABLE  
ACLR  
DPINC  
Q8  
CLK  
CLOCK  
DPNT[1:0]  
MXAD2  
Q[1:0]  
DSI[1:0]  
DATA[1:0]  
RA[1:0]  
DATA0_[1:0]  
DATA1_[1:0]  
RESULT[1:0]  
LA[1:0]  
LA0  
LA1  
IOPIL16 5  
PP6  
22 OCT 2002  
DBS  
DRAWN BY:  
A
B
C
D
A
B
C
D
REG1  
EN1  
HST[1:0]  
MUX1  
MUX2X8  
EN1  
IQ[7:0]  
REG3  
S
DFME8  
REG6  
CK  
1
2
3
4
1
2
3
4
HI[7:0]  
HO[7:0]  
DATA0_[7:0]  
DATA1_[7:0]  
A[7:0]  
B[7:0]  
CIQ[7:0]  
DSWST  
HST[7:0]  
RESULT[7:0]  
ENABLE  
Q[7:0]  
DSI[7:0]  
CLK  
CLOCK  
HST[7:2]  
Q[5:0]  
DSI[7:2]  
DATA[5:0]  
BUF1  
DSIW  
CLK  
A
Y
DSL  
REG2  
REG4  
BUF  
REG7  
EN2  
EN1  
BUF2  
DSWST  
VDD  
ENABLE  
ACLR  
A
Y
DSLA  
S
DFME8  
HA0  
BUF  
CK  
CLK  
CLOCK  
HI[15:8]  
HST[14:8]  
A[7:0]  
B[7:0]  
CIQ[15:8]  
Q[6:0]  
Q[7:0]  
DSI[14:8]  
DSI[15:8]  
DATA[6:0]  
HST14  
MUX2  
IQ[15:8]  
MUX2X8  
HICTLA  
HO[15:8]  
DATA0_[7:0]  
DATA1_[7:0]  
RESULT[7:0]  
ENHD1  
ENHD1  
ENHD2  
SINT  
Q8  
ENHD2  
SINT  
Q8  
HST[1:0]  
DPNT[1:0]  
HST[15:8]  
HSEL  
HWR  
HRD  
HA0  
HSEL  
HWR  
HRD  
HA0  
EN1  
EN2  
EN1  
EN2  
HRDY  
HST15  
DSPINTR  
HCMDFL  
DSPINTR  
HCMDFL  
DSIW  
CLK  
DSIW  
CK  
HA0  
HICTLA  
G2  
A
G1  
A
HWR  
HSEL  
Y
HG1  
HG2  
NAND2  
HOST INTERFACE  
(HINTRFA)  
Y
B
AND2B  
D
Q
D
QN  
B
DF1  
DF1C  
G3  
CLK  
CLK  
A
B
Y
NAND2  
CLK  
24 OCT 2002  
DBS  
DRAWN BY:  
A
B
C
D
A
B
C
D
INV1  
HRD  
A
Y
HRD  
F13  
J
INV  
F1  
HCYC  
CK  
LWR  
Q
A
B
HWR  
HRD  
F2  
F3  
JKF2C  
G1  
Q1  
Q2  
HCYC  
CS  
D0  
D
Q
D
Q
Q
GND  
CLK  
D1  
D2  
D3  
Y
VDD  
DF1  
DF1  
OA1C  
K
C
HSEL  
CLR  
DFM6A  
CLK  
CLK  
S0  
S1  
CLK  
CLR  
G2  
1
2
3
4
HWR  
A
B
VCC  
Y
HSEL  
HWR  
A
B
1
2
3
4
Y
HWR  
Q1  
Y
SHWR  
AND2B  
AND2B  
HSEL  
F8  
J
HCYC  
INV3  
INV  
CK  
HCYC  
CK  
Q8  
A
Y
HCMD  
Q
JKF2C  
CS  
CLK  
VDD  
K
CLR  
G7  
HSEL  
HWR  
HA0  
A
B
C
Y
SHCMD  
AND3B  
F9  
INV4  
HCYC  
CK  
Q9  
A
Y
LRDST  
INV  
J
Q
JKF2C  
CS  
CLK  
VDD  
K
CLR  
G10  
A
HSEL  
HRD  
HA0  
B
C
Y
SLRDST  
AND3B  
INV2  
A
Y
DSPINTR  
INV  
HWR  
A
B
HWR  
A
Y
Y
EN2  
EN1  
Y
Y
ENHD2  
G21  
NOR2  
NAND2  
A
B
C
D
DSIW  
Q8  
B
2
2
Y
HRDY  
NOR4  
CC  
A
B
F5  
F10  
NOR2  
D
Q
D
Q
A
B
ENHD1  
DF1  
DF1  
NAND2  
CLK  
CLK  
CK  
A
DPNT[1:0]  
Q1  
Q2  
DPNT0  
A
B
Y
Y
DPNT1  
LWR  
B
C
RDEN  
WREN  
A
NAND3B  
NAND2B  
C
D
HCYC  
Q9  
Y
B
C
Y
INTEN  
EBSY  
OR3C  
OA4  
Q8  
A
A
B
F6  
DSPINTR  
SINT  
CLRFLGS  
B
C
Y
SINTR  
AND3  
J
Q
JKF  
CLK  
LRDST  
HCYC  
A
B
K
Y
AND2A  
G19  
A
HCYC  
HCMD  
F7  
Y
HCCYC  
CK  
HCMDFL  
AND2  
J
Q
B
JKF  
CLK  
HICTLA  
K
DSIW  
A
Y
CLRFLGS  
INV  
21 OCT 2002  
DBS  
DRAWN BY:  
A
B
C
D
A
B
C
D
DSI[7:0]  
DSI0  
F0  
PNT0  
PNT1  
PNT2  
A
B
C
D
E
Q
Q
Q
Y
Y
PP4  
PP6  
DFE1B  
AND3B  
AND3A  
1
2
3
4
1
2
3
4
CLK  
A
B
C
DSI1  
F1  
D
E
DFE1B  
CLK  
DSDWSPI2NT  
F2  
D
E
CLK  
DFE1B  
G2  
CLK  
CPCYC  
ADW0  
A
B
DEC2  
Y
DSWPNT  
NAND2  
Y0  
Y1  
DECE2X4D  
LA0  
A
LR/W  
LA1  
E
B
ADW2  
ADW3  
Y2  
Y3  
L1  
R/W  
LR/W  
D
Q
DL1B  
DG3  
G
G11  
A
CPCYC1  
PP4  
B
Y
Y
DSIW  
AND3  
AND3  
ADW2  
CPCYC1  
PP4  
C
G12  
A
B
C
DSWST  
ADW3  
A
B
ADW0  
LR/W  
Y
VCC  
DSWDREG  
AND4B  
C
D
CPCYC1  
PP6  
Y
F4  
Q2  
D
E
Q
Q3  
DFE3A  
CLK  
CLR  
A
Y
Q2  
INV  
BUF2  
A
Y
Y
CPCYC  
BUF  
F5  
Q3  
D0  
Q
A
Y
GND  
INV  
D1  
D2  
D3  
BUF3  
A
CPCYC1  
BUF  
DFM6A  
CPS  
S0  
S1  
G6  
DSPWA  
CPIS  
A
CLK  
CLR  
VCC  
Y
CPSTRB  
CPSEL  
B
C
Y
CPS  
AND3B  
Q3  
CLK  
24 OCT 2002  
DBS  
DRAWN BY:  
A
B
C
D
A
B
C
D
ST0  
A
A
Y
Y
CH0  
BUF  
1
2
3
4
ST15  
CH15  
1
2
3
4
BUF  
MUX2X16  
CH15,GND,GND,GND[12:1],CH0  
IQ[15:0]  
DO[15:0]  
DATA0_[15:0]  
DATA1_[15:0]  
RESULT[15:0]  
GND[12:1]  
A
Y
BUF  
$ARRAY=12  
Y
LA0  
LA1  
A
B
Y
IQSEL  
OR2  
GND  
DSPRA  
24 OCT 2002  
DBS  
DRAWN BY:  
A
B
C
D
A
B
C
D
A[7:0]  
B[7:0]  
1
2
3
4
1
2
3
4
B0  
A0  
B1  
A1  
B2  
A2  
B3  
A3  
B4  
A4  
B5  
A5  
B6  
A6  
B7  
A7  
S
EN1  
CK  
F0  
F1  
F2  
F3  
F4  
F5  
F6  
F7  
Q0  
Q1  
Q2  
Q3  
Q4  
Q5  
Q6  
Q7  
Q[7:0]  
DFME8  
19 NOV. 2002  
DBS  
DRAWN BY:  
A
B
C
D
A
B
C
D
R1  
R5  
MUX1  
MUX4X8  
EN1R1  
DSPSEL  
HI[7:0]  
EN1  
S
EN1R3  
EN1  
S
CIQ[7:0]  
R1[7:0]  
DFME8  
DSPSEL2  
HI[7:0]  
DFME8  
CK  
DATA0_[7:0]  
CK  
1
2
3
4
IQ[7:0]  
1
2
3
4
DATA1_[7:0]  
DATA2_[7:0]  
DATA3_[7:0]  
A[7:0]  
B[7:0]  
EN1  
R1[7:0]  
RESULT[7:0]  
Q[7:0]  
A[7:0]  
B[7:0]  
R3[7:0]  
R2[7:0]  
R3[7:0]  
Q[7:0]  
DSI[7:0]  
DSI[7:0]  
R2  
R6  
EN2R1  
EN2R3  
EN1  
S
DFME8  
CLK  
CK  
S
DFME8  
HIH[15:8]  
CLK  
CK  
A[7:0]  
B[7:0]  
R1[15:8]  
Q[7:0]  
HIH[15:8]  
MDS1  
MDS0  
A[7:0]  
B[7:0]  
R3[15:8]  
DSI[15:8]  
Q[7:0]  
DSI[15:8]  
R3  
MUX2  
MUX4X8  
A
B
LA0  
EN1R2  
EN1  
LA1  
Y
DSIR  
CIQ[15:8]  
R1[15:8]  
AND4A  
C
D
PP4  
DOE1  
DSPSEL1  
HI[7:0]  
S
DFME8  
DATA0_[7:0]  
DATA1_[7:0]  
DATA2_[7:0]  
DATA3_[7:0]  
CK  
IQ[15:8]  
S
S
A
B
A
B
RA0  
RA1  
RESULT[7:0]  
A[7:0]  
B[7:0]  
R2[7:0]  
R2[15:8]  
R3[15:8]  
Y
Y
Q[7:0]  
MDS0  
MDS1  
MX2  
MX2  
DSI[7:0]  
GND  
GND  
R4  
Y
EN2R2  
EN1  
DEC1  
DATA0  
GND  
DECE2X4  
EQ0  
S
DFME8  
EN1R1  
EN1R2  
EN1R3  
DATA1  
EQ1  
EQ2  
EQ3  
CLK  
CK  
HIH[15:8]  
MDS1  
MDS0  
A[7:0]  
B[7:0]  
R2[15:8]  
Q[7:0]  
DSI[15:8]  
LA[1:0]  
END1  
ENABLE  
B1  
B2  
PP6  
A
Y
Y
Y
DSPSEL  
DSPSEL1  
DSPSEL2  
BUF  
BUF  
BUF  
RA[1:0]  
A
DEC2  
DECE2X4  
B3  
RA0  
RA1  
DATA0  
DATA1  
EQ0  
EQ1  
EQ2  
EQ3  
A
EN2R1  
EN2R2  
EN2R3  
DATREG  
END2  
ENABLE  
24 OCT 2002  
DBS  
DRAWN BY:  
A
B
C
D
6.3 8-bit Host Interface (IOPIL8)  
This design implements a parallel interface with a host processor utilizing an 8-bit data bus. An  
understanding of the underlying operation of the design is only necessary if the designer intends to  
make modifications. In most cases this design can be implemented without changes. The following  
notes should be read while referencing the schematics. IOPIL16 1 is the top level schematic. The  
timing for the host to I/O chip communication can be found in section 4.4 and the timing for the  
CP to I/O chip communication can be found in section 4.7.  
The description below identifies the key elements of each schematic starting with the host side  
signals. The paragraph title identifies the key schematic(s) being described in the text.  
IOPIL8 3  
The host interface for IOPIL8 is shown in sheet IOPIL8 3. The incoming data HD[7:0] is latched in  
the transparent latches when ~HG1 goes high. This would be a write from the host to the CP. The  
latched data HI[7:0] goes to IOPIL8 1 and IOPIL8 5. Data from the interface to the host, HO[7:0]  
is enabled onto the host bus, HD[7:0], by HOES1. The output latches, which present the data  
during a host read, are always transparent because GOUT is connected to VDD. The latched I/O is  
an I/O option on the Actel part used and could be omitted in the host interface if a different CPLD  
or FPGA does not have this feature. HD[15:8] are tri-stated outputs because Actel grounds unused  
I/O pins and this would interfere with using existing PMD test equipment. These reserved I/O's can  
be ommitted in a different implementation with an 8 bit bus.  
IOPIL8 1  
The control for the host interface starts on IOPIL8 1. HOES1 is the AND of ~HSEL and ~HRD,  
and enable read data onto the host bus, as previously described. HRDY is a handshaking signal to  
the host to allow asynchronous communication between the host and the CP. The host must wait  
until HRDY is true before attempting to communicate with the CP. This signal is copied as a bit in  
the host status register. The host status register may be read at any time to determine the state of  
HRDY, or the HRDY output may be used as an interrupt to the host. ~HSEL, ~HRD, ~HWR, and  
HA0 are the buffered inputs of the host control signals.  
HOST INTERFACE/IOPIL8 5  
Data from the host HI[7:0] is written into REG1 and REG2 on the schematic HOST INTERFACE  
by ~EN1 and ~EN2. All transfers are 16 bits and take two writes or reads on the 8-bit bus. These  
registers have a 2 to 1 multiplexed input with both the host data and the CP data being written to this  
register.  
This is convenient for diagnostic purposes and is very efficient in the Actel A42MX FPGA's, which  
are multiplexer based but if the configuration of the logic device used demands it, separate registers  
could be used for the host and CP data. The schematic for this register is shown as DFME8. Only  
commands and checksums are written to registers REG1 and REG2 while data is written and read  
from the set of data registers, DATREG shown on IOPIL8 5. These 3 data registers buffer data sent  
to and from the CP, reducing the number of interrupts the CP must handle. The output from REG1  
and REG2, CIQ[15:8] and CIQ[7:0] go to IOPIL8 5, where they are multiplexed with the other data  
registers. The multiplexed result, IQ[15:8] and IQ[7:0], is multiplexed with HST[15:8] and HST[7:0] -  
the output of the host status registers REG3 and REG4. This four input mux, MUX4X8, also  
muxes the 16 bit data onto the 8-bit bus. As previously mentioned HRDY becomes HST15 so it can  
be read by the host. The rest of the status register is written by the CP to provide information to the  
MC3310 Technical Specifications  
46  
host. HA0 acts as an address bit, and usually is an address bit on the bus. When the host is writing,  
HA0 low indicates data and HA0 high indicates a command. When the host is reading, HAO low  
indicates data and HA0 high indicates status. Read status is the only transaction allowed while  
HRDY is low. During a host write the AND gate (G1:HOST INTERFACE) and two flops latch the  
incoming data in the interface latches by driving ~HG1 low from the start of the write transaction  
until the first negative clock transition after the first positive transition following the start of the write  
cycle. This tail-biting circuit removes the requirement for hold time on the data bus.  
HICTLA  
Most of the control logic for the host interface is shown on schematic HICTLA. The sequencer at  
the top generates HCYC one clock interval after the interface has been accessed and the host has  
finished the transaction. The nature of the transaction, rd/wr, command/data, and read status is  
preserved in the three flops F13, F8, and F9. Since 16 bit transfers must take place over an 8 bit bus  
two transfers are required. The toggle flop is used to determine whether a cycle is the first or second  
of the 2 required. The toggle flop may be initialized to the 0 state, which indicates that this is the  
first transfer (high byte), by the CP writing a one to host status bit 15. This status bit is read by the  
host as the HRDY bit and is not writable by the CP. In addition flop F12 and the associated gating  
determine if the present command transaction is the first or second byte of a command. If the  
toggle flop gets into the wrong state due to a missed or aborted transfer the next command will set it  
back to the correct state. A host write or a CP write, DSIW, enable REG1 and REG2 on the HOST  
INTERFACE schematic discussed previously. A host data write generates ~ENHD1 and  
~ENHD2 for the data registers on the DATAREG schematic. For host writes ~EN2, ~EN1,  
~ENHD2, and ~ENHD1 are also determined by the state of the toggle flop using HIEN and  
LOEN. 1CMD is used in this logic to ensure correct behavior when the command is correcting the  
state of the toggle. The logic at the bottom of the page generates the CP interrupt, the HRDY and  
the HCMDFL. The HCMDFL is used in the CP status to indicate a command. DSIW, the CP  
writing to REG1 and REG2 on the HOST INTERFACE schematic clears the interrupt and reasserts  
HRDY. HRDY is de-asserted during all host transactions except read status, and stays de-asserted  
until the CP has completed the DSIW cycle that clears the interrupt and reasserts HRDY. As  
mentioned previously data transfers to and from the host use the data registers and do not interrupt  
the CP. The CP knows the number of data transfers that must take place after decoding the  
command. It places this number, 0-3, in the 2 least significant bits of the host status register,  
HST[1:0]. These become DPNT[1:0] on this page of the schematic and enable an interrupt at 0 for a  
read and 1 or 0 for a write. The CP always leaves these bits at 0 unless setting up a multiple word  
data transfer. If INTEN is true and LRDST, latched read status, is false, HCYC will generate an  
interrupt to the CP. This will also hold HRDY false until after the CP writes to the interface register,  
DSIW, thereby generating ~CLRFLGS.  
IOPIL8 4  
The CP interface is shown in sheet IOPIL8 4. The incoming data DSD[15:0] is latched in the  
transparent latches when ~DG1 and ~DG2 go high. This occurs at the completion of a write from  
the CP to the I/O chip. The latched data DSI[15:8] and DSI[7:0] go to schematic IOPIL8 1 and  
IOPIL16 5. DSI[7:0] also goes to IOPIL16 2. Data from the interface to the CP, DO[15:8] and  
DO[7:0] is enabled onto the CP bus, DSD[15:0], by DOE2 and DOE1 respectively. The output  
latches, which present the data during a CP read, are always transparent because GOUT is connected  
to VDD. The latched I/O in the Actel part contains both input and output latches. The output  
latches could be omitted in the CP interface if a different CPLD or FPGA does not have this feature.  
The two incoming CP address bits CPA0 and CPA1 are also latched using ~DG3. The 20CK signal  
is the clock for the CP. This is a 20 MHz clock derived from a 40 MHz clock input.  
MC3310 Technical Specifications  
47  
IOPIL8 2  
The CP control starts on IOPIL8 2. The I/O control is generated from ~CPSTRB, ~CPIS, CPSEL  
and R/W. ~DG1, ~DG2, and ~DG3 latch the incoming data and DOE1 and DOE2 out-enable  
the data from this chip to the CP. F2 and F4 tail-bite the write to avoid having to specify hold times  
on the data. Flop F1 divides the 40MHz clock down to 20 MHz. A 20 MHz clock could be used for  
this interface and the CP.  
DSPWA  
The CP write control is contained on schematic DSPWA. The CP interface uses page addressing to  
save I/O pins. F0, F1 and F2 make up the page register. In addition there are the 2 address bits,  
LA0 and LA1. A write to address 0 selects the page register with DSI[2:0] going to the page register  
and selecting the page for the successive transfers. A read from address 0 reads the status register on  
all pages. Pages 4 and 6 are the only ones implemented in this device. L1 latches the r/w level. The  
write decoding generates DSIW which enables writes to the DFME8 registers reg1 and reg2 shown  
on the HOST INTERFACE schematic. DSIW also clears the CP interrupt and restores HRDY.  
DSWST writes to the host status register also shown on the HOST INTERFACE schematic.  
DSWDREG implements writing to the data registers shown on IOPIL8 5 and DATREG. Finally  
the logic at the bottom of the page generates CPCYC, a 1-clock interval after the CP cycle is over  
that implements the actual writes to the registers. The use of the data bus latches and the post bus  
cycle transfers keeps as much of the logic synchronous as possible given two asynchronous devices,  
without requiring clocking at several times the bus speed.  
DSPRA  
The CP read control is contained on schematic DSPRA. The 2 by 16 bit mux selects CP status if the  
CP latched address is 0 and IQ[15:0] if the address is not 0. The only significant status bits are bits 15  
(indicating the CP is interrupting the host), bit 14 (1 indicating an 8-bit host interface) and bit 0 (set  
to 1 during a host command transfer and 0 during data transfer).  
HOST INTERFACE  
Both the CP and the host use a special mode to transfer data to avoid unnecessary CP interrupts.  
This special mode is under the control of the CP and is transparent to the host. When the CP  
receives a command from the host it initializes the transfer by setting the number of transfers  
expected (0,1,2 or 3) in the 2 LSB's of the host status register, REG3 and REG4 on HOST  
INTERFACE. This write (DSWST) also loads these bits into the 2 bit down counter DCNT2 on  
IOPIL8 5. Note that a Q8 low, which indicates a host command, asynchronously clears this register  
enabling interrupts on schematic HICTLA. If DPNT[1:0] is not 0 and Q8 is high, indicating a host  
data transfer, and SINT goes high indicating the end of a host cycle the counter is decremented.  
MXAD2 selects address RA from the CP latched address bits if the page register contains 6, or the  
counter contents DPNT[1:0] if not. This allows the CP to have direct access to registers 1, 2, and 3,  
using address 1,2,and 3 on page 6. The host on the other hand can only read or write to the data  
register, HA0 low and the counter will auto decrement from 3 down to 0 allowing the host to access  
the registers on DATAREG where REG1=R1 and R2, REG2=R3 and R4, and REG3=R5 and R6.  
The writes are enabled by the two decoders DECE2X4 while the reads are selected by the two 4x8  
muxes, MUX1 and MUX2 controlled by the two 2x1 muxes MDS1 and MDS0. The output data  
IQ[15:0] goes to HOST INTERFACE schematic below IOPIL8 1 and to DSPRA below IOPIL8 2.  
The write data is HI[7:0] from the host and DSI[15:8] and DSI[7:0] from the CP. Note that END1  
MC3310 Technical Specifications  
48  
and END2, the write enables, are both high for DSWDREG, while they are high one at a time for  
host writes controlled by the toggle flop. SINT enables DPINC only when the toggle is high after  
the second transfer.  
MC3310 Technical Specifications  
49  
A
B
C
D
HINTF  
HSEL  
HRD  
INBUF  
INBUF  
INBUF  
INBUF  
IN17  
PAD  
PAD  
PAD  
PAD  
Y
HSTSEL  
HSTRD  
HSTWR  
HADR0  
HSEL  
HRD  
HWR  
HA0  
HOST INTERFACE  
(HINTRFA)  
IN18  
HWR  
HA0  
HO[7:0]  
Y
HO[7:0]  
1
2
3
4
1
2
3
4
IN19  
HI[7:0]  
Y
HI[7:0]  
IN20  
Y
DSI[15:8]  
DSI[7:0]  
CIQ[7:0]  
DSI[15:8]  
DSI[7:0]  
HST[1:0]  
CIQ[7:0]  
CIQ[15:8]  
CIQ[15:8]  
DPNT[1:0]  
Q8  
Q8  
DSWST  
DSIW  
DSWST  
DSIW  
SINT  
SINT  
HG1  
HG1  
IQ[7:0]  
IQ[7:0]  
HST14  
HCMDFL  
ST15  
IQ[15:8]  
IQ[15:8]  
ST0  
DSPINTR  
DSPINTR  
OUTBUF  
CLK  
CLK  
HST15  
ENHD1  
ENHD2  
RDY  
D
PAD  
HRDY  
ENHD1  
ENHD2  
HRD  
A
B
Y
HOES1  
AND2B  
HSEL  
OUTBUF  
DSPINTR  
D
PAD  
DSPINT  
OUT5  
IOPIL8 1  
22 OCT 2002  
DRAWN BY:  
DBS  
A
B
C
D
A
B
C
D
PNT0  
PNT1  
CSEL0  
CSEL1  
DSPRA  
ST0  
ST0  
DSWDREG  
DSWDREG  
1
2
3
4
1
2
3
4
ST15  
ST15  
DSI[7:0]  
DSIW  
DSWST  
PP4  
DSIW  
DSWST  
PP4  
IQ[15:0]  
DSI[7:0]  
IQ[15:0]  
PP6  
PP6  
IN27  
Y
INBUF  
INBUF  
PAD  
PAD  
CS  
DG3  
DG3  
IN28  
Y
CPR-W  
DO[15:0]  
DO[15:0]  
LA0  
LA1  
LA0  
LA1  
IN26  
Y
INBUF  
INBUF  
PAD  
PAD  
STRB  
IS  
IN30  
Y
CPSEL  
R/W  
CPSEL  
R/W  
LA0  
LA1  
LA0  
LA1  
CPSTRB  
CPIS  
CPSTRB  
CPIS  
CKBUF  
A
CPCYC  
CPCYC  
DSPRA  
Y
20CK  
CLK  
CLK  
DSPWA  
CLKINT  
CPSTRB  
CPIS  
A
B
G1  
Y
CSACC  
DOE1  
NAND3B  
CPSEL  
C
A
B
C
D
G2  
F1  
D
Y
20CK  
AND4B  
QN  
DF1A  
R/W  
IB1  
INBUF  
PAD  
Y
CLKIN  
40CK  
CLK  
A
B
G3  
Y
Y
DOE2  
DG1  
AND4B  
C
D
G4  
A
B
C
NAND3B  
G5  
A
B
C
F2  
F4  
CSACC  
CQ1  
CQ3  
D
Q
D
Q
Y
Y
DG2  
DG3  
NAND3B  
DF1  
DF1  
CLK  
CLK  
IOPIL8 2  
A
G6  
CSACC  
CQ3  
CLK  
B
C
D
NAND4B  
30 OCT 2002  
DBS  
DRAWN BY:  
A
B
C
D
A
B
C
D
HIGH SLEW  
HIGH SLEW  
E
D
PAD  
HO0  
HD0  
HI0  
E
D
Q
Q
D
PAD  
HO4  
HD4  
HI4  
D
G
D
Q
E
D
D
D
D
D
D
D
D
PAD  
PAD  
PAD  
PAD  
PAD  
PAD  
PAD  
PAD  
HD8  
GOUT  
G
D
GOUT  
TRIBUFF  
1
2
3
4
VDD  
1
2
3
4
Q
Q
VDD  
E
Q
HD9  
BBDLHS  
BBDLHS  
GIN  
D
TRIBUFF  
G
GIN  
D
G
HIGH SLEW  
E
HIGH SLEW  
HIGH SLEW  
HIGH SLEW  
HD10  
HD11  
HD12  
HD13  
HD14  
HD15  
E
PAD  
HO1  
HD1  
HI1  
E
E
E
D
G
D
Q
Q
PAD  
TRIBUFF  
HO5  
HD5  
HI5  
D
G
D
Q
Q
GOUT  
GOUT  
E
Q
TRIBUFF  
Q
BBDLHS  
BBDLHS  
GIN  
D
E
G
GIN  
D
G
TRIBUFF  
HIGH SLEW  
E
PAD  
HO2  
HD2  
HI2  
D
G
D
Q
Q
PAD  
HO6  
HD6  
HI6  
D
G
D
Q
Q
E
GOUT  
GOUT  
TRIBUFF  
Q
Q
E
BBDLHS  
BBDLHS  
GIN  
D
TRIBUFF  
G
GIN  
D
G
HIGH SLEW  
E
E
PAD  
PAD  
HO3  
HD3  
HI3  
HO7  
HD7  
HI7  
D
G
D
Q
Q
D
G
D
Q
Q
TRIBUFF  
GOUT  
GOUT  
Y
GND  
Q
Q
BBDLHS  
BBDLHS  
HI BYTE TRISTATE TO  
AVOID LOADING 16 BIT BUSSES  
GIN  
GIN  
G
G
HI[7:0]  
HG1  
HG1  
HO[7:0]  
VCC  
Y
HOES1  
VDD  
IOPIL8 3  
24 OCT 2002  
DBS  
DRAWN BY:  
A
B
C
D
A
B
C
D
DOE1  
DO0  
HIGH SLEW  
DOE1  
DO4  
DOE2  
DO8  
DOE2  
DO12  
HIGH SLEW  
HIGH SLEW  
HIGH SLEW  
E
D
PAD  
DSD0  
DSI0  
E
E
E
D
G
D
Q
Q
D
PAD  
D
PAD  
D
PAD  
DSD4  
DSI4  
DSD8  
DSI8  
DSD12  
DSI12  
D
G
D
Q
Q
D
G
D
Q
D
G
D
Q
Q
GOUT  
VDD  
GOUT  
GOUT  
GOUT  
VDD  
VDD  
VDD  
1
2
3
4
1
2
3
4
Q
Q
Q
Q
Q
BBDLHS  
BBDLHS  
BBDLHS  
BBDLHS  
GIN  
D
G
GIN  
D
GIN  
D
GIN  
D
G
G
G
DOE1  
HIGH SLEW  
DOE1  
DOE2  
DO9  
DOE2  
HIGH SLEW  
HIGH SLEW  
HIGH SLEW  
HIGH SLEW  
HIGH SLEW  
HIGH SLEW  
HIGH SLEW  
E
PAD  
DO1  
DSD1  
DSI1  
E
E
E
E
E
E
E
D
G
D
Q
Q
PAD  
PAD  
PAD  
DO5  
DSD5  
DSI5  
DSD9  
DSI9  
DO13  
DSD13  
DSI13  
D
G
D
Q
Q
D
G
D
Q
Q
D
G
D
Q
Q
GOUT  
GOUT  
GOUT  
GOUT  
Q
Q
Q
Q
BBDLHS  
BBDLHS  
BBDLHS  
BBDLHS  
GIN  
D
G
GIN  
D
GIN  
D
GIN  
D
G
G
G
DOE1  
DO2  
HIGH SLEW  
DOE1  
DO6  
DOE2  
DO10  
DOE2  
DO14  
HIGH SLEW  
E
PAD  
DSD2  
DSI2  
E
D
G
D
Q
Q
PAD  
PAD  
PAD  
DSD6  
DSI6  
DSD10  
DSI10  
DSD14  
DSI14  
D
G
D
Q
Q
D
G
D
Q
Q
D
G
D
Q
Q
GOUT  
GOUT  
GOUT  
GOUT  
Q
Q
Q
Q
BBDLHS  
BBDLHS  
BBDLHS  
BBDLHS  
GIN  
D
G
GIN  
D
GIN  
D
GIN  
D
G
G
G
DOE1  
DO7  
DOE2  
DO15  
DOE1  
DO3  
DOE2  
DO11  
HIGH SLEW  
HIGH SLEW  
PAD  
PAD  
DSD7  
DSI7  
DSD15  
DSI15  
E
E
D
G
D
Q
Q
D
G
D
Q
Q
PAD  
PAD  
DSD3  
DSI3  
DSD11  
DSI11  
D
G
D
Q
Q
D
G
D
Q
Q
GOUT  
GOUT  
GOUT  
GOUT  
Q
Q
Q
Q
BBDLHS  
BBDLHS  
BBDLHS  
BBDLHS  
GIN  
GIN  
G
G
GIN  
GIN  
DSI[7:0]  
G
G
DSI[15:8]  
DG1  
DO[15:8]  
DG2  
DO[7:0]  
DOE2  
DOE2  
DG2  
DOE1  
GND  
VCC  
Y
GND  
HIGH SLEW  
HIGH SLEW  
E
D
PAD  
CPA1  
VDD  
E
D
G
D
Q
Q
D
PAD  
CPA0  
D
Q
GOUT  
GOUT  
G
D
OUTBUF  
IOPIL8 4  
Q
LA1  
20CK  
D
PAD  
CLKOUT  
Q
LA0  
Q
BBDLHS  
BBDLHS  
GIN  
DG3  
G
GIN  
DG3  
G
22 OCT 2002  
DBS  
DRAWN BY:  
A
B
C
D
A
B
C
D
ENHD1  
DSWDREG  
A
Y
Y
END1  
END2  
OR2A  
B
1
2
3
4
1
2
3
4
DREG  
DOE1  
PP4  
ENHD2  
A
DOE1  
PP4  
OR2A  
B
CIQ[7:0]  
CIQ[15:8]  
HI[7:0]  
CIQ[7:0]  
CIQ[15:8]  
HI[7:0]  
Q8  
SINT  
A
B
C
IQ[7:0]  
IQ[7:0]  
Y
DPINC  
AND3  
DSI[7:0]  
DSI[15:8]  
RA[1:0]  
LA[1:0]  
DPNT0  
DPNT1  
A
B
DSI[7:0]  
DSI[15:8]  
RA[1:0]  
IQ[15:8]  
Y
NAND2B  
IQ[15:8]  
LA[1:0]  
PP6  
PP6  
END1  
END2  
CLK  
END1  
END2  
CLK  
DATREG  
DCNT2  
DSWST  
SLOAD  
ENABLE  
ACLR  
DPINC  
Q8  
CLK  
CLOCK  
DPNT[1:0]  
MXAD2  
Q[1:0]  
DSI[1:0]  
DATA[1:0]  
RA[1:0]  
DATA0_[1:0]  
DATA1_[1:0]  
RESULT[1:0]  
LA[1:0]  
LA0  
LA1  
IOPIL8 5  
PP6  
22 OCT 2002  
DBS  
DRAWN BY:  
A
B
C
D
A
B
C
D
REG1  
EN1  
HST[1:0]  
EN1  
MUX4X8  
REG3  
S
DFME8  
REG6  
IQ[7:0]  
CK  
1
2
3
4
1
2
3
4
HI[7:0]  
DATA0_[7:0]  
DATA1_[7:0]  
DATA2_[7:0]  
DATA3_[7:0]  
A[7:0]  
B[7:0]  
CIQ[7:0]  
DSWST  
HST[7:0]  
IQ[15:8]  
HST[15:8]  
ENABLE  
Q[7:0]  
HO[7:0]  
RESULT[7:0]  
DSI[7:0]  
CLK  
CLOCK  
HST[7:2]  
Q[5:0]  
DSI[7:2]  
DATA[5:0]  
BUF1  
DSIW  
CLK  
A
Y
DSL  
EN2  
REG2  
REG4  
BUF  
REG7  
EN1  
BUF2  
DSWST  
VDD  
ENABLE  
ACLR  
A
Y
DSLA  
S
DFME8  
BUF  
TOGGLEA  
HA0  
Y
INV  
CK  
CLK  
CLOCK  
HI[7:0]  
HST[14:8]  
A[7:0]  
B[7:0]  
CIQ[15:8]  
Q[6:0]  
Q[7:0]  
DSI[14:8]  
TOGGLE LO  
SELECTS [15:8], HI BYTE FIRST  
DSI[15:8]  
DATA[6:0]  
HST14  
DSWST  
A
B
Y
RSTOG  
NAND2  
DSI15  
HICTLA  
ENHD1  
ENHD2  
SINT  
ENHD1  
HST[15:8]  
ENHD2  
SINT  
Q8  
HST[1:0]  
DPNT[1:0]  
RSTOG  
HSEL  
RSTOG  
HSEL  
HWR  
HRD  
Q8  
TOGGLE  
EN1  
TOGGLE  
EN1  
HWR  
HRD  
EN2  
EN2  
HA0  
HA0  
HRDY  
HST15  
DSPINTR  
HCMDFL  
DSPINTR  
HCMDFL  
DSIW  
CLK  
DSIW  
CK  
HICTLA  
G2  
A
Y
HG1  
NAND2  
G1  
A
B
HWR  
HSEL  
HOST INTERFACE  
(HINTRFA)  
Y
AND2B  
D
Q
D
QN  
B
DF1  
DF1C  
CLK  
CLK  
CLK  
24 AUG 2001  
DBS  
DRAWN BY:  
D
A
B
C
A
B
C
D
INV1  
F13  
J
HRD  
A
Y
HRD  
INV  
F1  
HCYC  
CK  
LWR  
Q
F2  
F3  
JKF2C  
A
B
HWR  
HRD  
Q1  
Q2  
HCYC  
CS  
D0  
D
Q
D
Q
Q
G1  
GND  
CLK  
D1  
D2  
D3  
VDD  
DF1  
DF1  
K
Y
CLR  
OA1C  
C
HSEL  
DFM6A  
CLK  
CLK  
S0  
S1  
CLK  
CLR  
G2  
1
2
3
4
HWR  
HSEL  
A
VCC  
Y
HSEL  
HWR  
A
B
1
2
3
4
Y
HWR  
Q1  
Y
SHWR  
AND2B  
AND2B  
B
F8  
J
HCYC  
INV3  
INV  
CK  
HCYC  
CK  
Q8  
A
Y
HCMD  
Q
JKF2C  
CS  
CLK  
VDD  
K
CLR  
1CMD  
TOGGLE  
A
G7  
Y
HSEL  
HWR  
HA0  
A
B
C
NAND2A  
F4  
B
Y
SHCMD  
AND3B  
D
Q
F9  
J
HCYC  
CK  
A
B
INV4  
INV  
DFE3A  
E
Y
1CMD  
HCYC  
CK  
Q9  
A
Y
LRDST  
AND2A  
Q
LCMD  
CLK  
CLR  
JKF2C  
CS  
CLK  
VDD  
K
F12  
CLR  
RSTOG  
Q8  
D
Q
G10  
A
HCYC  
CK  
HSEL  
HRD  
HA0  
DFE  
E
TOGGLE LO (1ST BYTE) LD HI, RD HI  
B
C
Y
SLRDST  
AND3B  
CLK  
INV2  
G12  
A
HIEN  
A
A
Y
DSPINTR  
INV  
HWR  
Y
Y
TOGGLE  
1CMD  
A
HWR  
Q8  
B
C
ENHD2  
ENHD1  
NAND3  
Y
HIEN  
B
C
G21  
OR2A  
Y
Y
A
B
C
D
B
EN2  
EN1  
2
2
AOI1  
DSIW  
Y
HRDY  
NOR4  
CC  
LOEN  
A
B
C
F5  
F10  
D
Q
D
Q
G14  
A
NAND3  
HWR  
LOEN  
DSIW  
DF1  
DF1  
1CMD  
TOGGLE  
A
Y
B
C
AND2A  
CLK  
CLK  
B
AOI1  
CK  
A
DPNT[1:0]  
Q1  
DPNT0  
A
B
C
Q2  
B
Y
DPNT1  
LWR  
RDEN  
A
B
C
NAND3B  
NAND2B  
C
D
HCYC  
Q9  
Y
WREN  
Q8  
Y
INTEN  
EBSY  
OR3C  
OA4  
A
A
B
F6  
Y
SINT  
B
C
Y
SINTR  
DSPINTR  
AND3  
J
Q
JKF  
CLRFLGS  
CLK  
LRDST  
HCYC  
A
K
B
C
Y
AND3A  
1CMD  
TOGGLE  
A
Y
ENINTR  
AND2A  
B
G19  
A
HCYC  
HCMD  
F7  
Y
HCCYC  
CK  
HCMDFL  
AND2  
J
Q
B
JKF  
CLK  
K
HICTLA  
DSIW  
A
Y
CLRFLGS  
INV  
22 OCT 2002  
DRAWN BY: DBS  
A
B
C
D
A
B
C
D
DSI[7:0]  
DSI0  
F0  
PNT0  
PNT1  
A
B
C
D
E
Q
Q
Y
Y
PP4  
PP6  
DFE1B  
AND3B  
AND3A  
CLK  
1
2
3
4
1
2
3
4
DSI1  
F1  
A
B
C
D
E
DFE1B  
CLK  
DSI2  
F2  
PNT2  
D
E
Q
DSWPNT  
G2  
DFE1B  
CPCYC  
A
CLK  
DEC2  
Y
DSWPNT  
CLK  
NAND2  
Y0  
Y1  
ADW0  
B
DECE2X4D  
LA0  
A
LR/W  
LA1  
E
B
ADW2  
ADW3  
Y2  
Y3  
L1  
R/W  
DG3  
LR/W  
D
Q
DL1B  
G11  
A
G
CPCYC1  
PP4  
B
C
Y
DSIW  
AND3  
ADW2  
G12  
A
CPCYC1  
PP4  
B
C
Y
DSWST  
AND3  
ADW3  
A
B
C
D
ADW0  
LR/W  
Y
DSWDREG  
AND4B  
CPCYC1  
PP6  
VCC  
Y
F4  
Q2  
D
E
Q
Q3  
DFE3A  
CLK  
CLR  
A
Y
Q2  
INV  
BUF2  
A
Y
Y
CPCYC  
BUF  
F5  
Q3  
D0  
Q
A
Y
GND  
INV  
D1  
D2  
D3  
BUF3  
A
CPCYC1  
BUF  
DFM6A  
CPS  
S0  
S1  
G6  
DSPWA  
CPIS  
A
CLK  
CLR  
VCC  
Y
CPSTRB  
CPSEL  
B
C
Y
CPS  
AND3B  
Q3  
CLK  
24 OCT 2002  
DBS  
DRAWN BY:  
A
B
C
D
A
B
C
D
VCC  
Y
ST0  
A
A
Y
Y
CH0  
BUF  
VDD  
1
2
3
4
1
2
3
4
ST15  
CH15  
BUF  
MUX2X16  
CH15,VDD,GND,GND[12:1],CH0  
GND[12:1]  
A
Y
BUF  
DO[15:0]  
DATA0_[15:0]  
DATA1_[15:0]  
$ARRAY=12  
RESULT[15:0]  
GND  
IQ[15:0]  
Y
GND  
LA0  
LA1  
A
B
Y
IQSEL  
OR2  
DSPRA  
30 OCT 2002  
DBS  
DRAWN BY:  
A
B
C
D
A
B
C
D
A[7:0]  
B[7:0]  
1
2
3
4
1
2
3
4
B0  
A0  
B1  
A1  
B2  
A2  
B3  
A3  
B4  
A4  
B5  
A5  
B6  
A6  
B7  
A7  
S
EN1  
CK  
F0  
F1  
F2  
F3  
F4  
F5  
F6  
F7  
Q0  
Q1  
Q2  
Q3  
Q4  
Q5  
Q6  
Q7  
Q[7:0]  
DFME8  
19 NOV. 2002  
DBS  
DRAWN BY:  
A
B
C
D
A
B
C
D
R1  
R5  
MUX1  
MUX4X8  
EN1R1  
DSPSEL  
HI[7:0]  
EN1  
S
EN1R3  
DSPSEL2  
HI[7:0]  
EN1  
S
CIQ[7:0]  
R1[7:0]  
DFME8  
DFME8  
CK  
DATA0_[7:0]  
CK  
1
2
3
4
IQ[7:0]  
1
2
3
4
DATA1_[7:0]  
DATA2_[7:0]  
DATA3_[7:0]  
A[7:0]  
B[7:0]  
EN1  
R1[7:0]  
RESULT[7:0]  
Q[7:0]  
A[7:0]  
B[7:0]  
R3[7:0]  
R2[7:0]  
R3[7:0]  
Q[7:0]  
DSI[7:0]  
DSI[7:0]  
R2  
R6  
EN2R1  
EN2R3  
EN1  
S
DFME8  
CLK  
CK  
S
DFME8  
HI[7:0]  
CLK  
CK  
A[7:0]  
B[7:0]  
R1[15:8]  
Q[7:0]  
HI[7:0]  
MDS1  
MDS0  
A[7:0]  
B[7:0]  
R3[15:8]  
DSI[15:8]  
Q[7:0]  
DSI[15:8]  
R3  
MUX2  
MUX4X8  
A
B
C
D
EN1R2  
EN1  
LA0  
LA1  
CIQ[15:8]  
R1[15:8]  
Y
DSIR  
AND4A  
DSPSEL1  
HI[7:0]  
S
DFME8  
PP4  
DOE1  
DATA0_[7:0]  
DATA1_[7:0]  
DATA2_[7:0]  
DATA3_[7:0]  
CK  
IQ[15:8]  
RESULT[7:0]  
S
A
B
A[7:0]  
B[7:0]  
R2[7:0]  
RA0  
R2[15:8]  
R3[15:8]  
Q[7:0]  
Y
MDS0  
MX2  
DSI[7:0]  
GND  
R4  
EN2R2  
EN1  
DSIR  
A
S
DFME8  
S
RA1  
CLK  
CK  
Y
MDS1  
MX2  
HI[7:0]  
MDS1  
MDS0  
B
A[7:0]  
B[7:0]  
R2[15:8]  
GND  
Q[7:0]  
DSI[15:8]  
Y
GND  
B1  
B2  
PP6  
A
Y
Y
Y
DSPSEL  
DSPSEL1  
DSPSEL2  
LA[1:0]  
RA[1:0]  
BUF  
BUF  
BUF  
DECE2X4  
A
EQ0  
DATA0  
ENABLE  
DATA1  
END1  
EQ1  
EQ2  
EQ3  
EN1R1  
EN1R2  
EN1R3  
B3  
A
DECE2X4  
RA0  
RA1  
EQ0  
EQ1  
EQ2  
EQ3  
DATA0  
ENABLE  
DATA1  
DATREG  
END2  
EN2R1  
EN2R2  
EN2R3  
30 OCT 2002  
DBS  
DRAWN BY:  
A
B
C
D
MC3310 Technical Specifications  
61  
7 Application Notes  
7.1 Design Tips  
The following are recommendations for the design of circuits that utilize a PMD Motion Processor.  
Serial Interface  
If the serial configuration decode logic is not implemented (see section 7.2) the CP data bus should  
be tied high. This places the serial interface in a default configuration of 9600,n,8,1 after power on  
or reset.  
Controlling PWM output during reset  
When the motion processor is in a reset state (when the reset line is held low) or immediately after a  
power on, the PWM outputs can be in an unknown state, causing undesirable motor movement. It is  
recommended that the enable line of any motor amplifier be held in a disabled state by the host  
processor or some logic circuitry until communication to motion processor is established. This can  
be in the form of a delay circuit on the amplifier enable line after power up, or the enable line can be  
ANDed with the CP reset line.  
Parallel word encoder input  
When using parallel word input for motor position, it is useful to also decode this information into  
the User I/O space. This allows the current input value to be read using the chip instruction ReadIO  
for diagnostic purposes.  
Using a non standard system clock frequency  
It is often desirable to share a common clock among several components in a design. In the case of  
the PMD Motion Processors it is possible to use a clock below the standard value of 20MHz. In this  
case all system frequencies will be reduced as a fraction of the input clock verses the standard  
20MHz clock. The list below shows the affected system parameters:-  
Serial baud rate  
PWM carrier frequency  
Timing characteristics as shown in section 3.2  
Cycle time  
Commutation rate  
For example, if an input clock of 17MHz is used with a serial baud rate of 9600 the following timing  
changes will result:-  
Serial baud rate decreases to 9600 bps *17/20 = 8160 bps  
PWM frequency decreases to 20 KHz *17/20 = 17 KHz  
MC3310 Technical Specifications  
62  
Cycle time increases to 153.6 µsec *20/17 = 180.71 µsec  
Commutation rate decreases to 20KHz *17/20 = 17 KHz  
MC3310 Technical Specifications  
63  
7.2 RS-232 Serial Interface  
The interface between the MC3310 chip and an RS-232 serial port is shown in the following figure.  
Comments on Schematic  
S1 and S2 encode the characteristics of the serial port such as baud rate, number of stop bits, parity,  
etc. The CP will read these switches during initialization, but these parameters may also be set or  
changed using the SetSerialPort chipset command. The DB9 connector wired as shown can be  
connected directly to the serial port of a PC without requiring a null modem cable.  
MC3310 Technical Specifications  
64  
8
7
6
5
4
3
2
1
R?  
RS1  
COM  
RS2  
COM  
VCC  
VCC  
SW1  
SW2  
SW3  
SW4  
SW5  
SW6  
SW7  
SW8  
VCC  
SW9  
1
2
3
4
5
6
7
8
9
1
2
3
4
5
6
7
8
9
R1  
R2  
R3  
R4  
R5  
R6  
R7  
R8  
R1  
R2  
R3  
R4  
R5  
R6  
R7  
R8  
A[0..15]  
SW10  
SW11  
SW12  
SW13  
SW14  
SW15  
SW16  
22K  
DS[0..15]  
U1  
D
C
B
A
D
C
B
A
A0  
A1  
A2  
A3  
A4  
A5  
A6  
A7  
DS[0..15]  
DS[0..15]  
110  
111  
112  
114  
115  
116  
117  
118  
119  
122  
123  
124  
125  
126  
127  
128  
131  
129  
130  
4
ADDR0  
ADDR1  
ADDR2  
ADDR3  
ADDR4  
ADDR5  
ADDR6  
ADDR7  
ADDR8  
ADDR9  
ADDR10  
ADDR11  
ADDR12  
ADDR13  
ADDR14  
ADDR15  
N/C  
DS0  
DS1  
DS2  
DS3  
DS4  
DS5  
DS6  
DS7  
9
DATA0  
DATA1  
DATA2  
DATA3  
DATA4  
DATA5  
DATA6  
DATA7  
DATA8  
DATA9  
DATA10  
DATA11  
DATA12  
DATA13  
DATA14  
DATA15  
10  
11  
12  
15  
16  
17  
18  
19  
22  
23  
24  
25  
26  
27  
28  
RSIP9  
RSIP9  
S1  
U2  
S2  
U3  
SW1  
SW2  
SW3  
SW4  
SW5  
SW6  
SW7  
SW8  
DS0  
DS1  
DS2  
DS3  
DS4  
DS5  
DS6  
DS7  
SW9  
DS8  
DS9  
1
2
3
4
5
6
7
8
16  
15  
14  
13  
12  
11  
10  
9
2
4
6
18  
16  
14  
12  
9
7
5
3
1
2
3
4
5
6
7
8
16  
15  
14  
13  
12  
11  
10  
9
2
4
6
18  
16  
14  
12  
9
7
5
3
1A1  
1A2  
1A3  
1A4  
2A1  
2A2  
2A3  
2A4  
1Y1  
1Y2  
1Y3  
1Y4  
2Y1  
2Y2  
2Y3  
2Y4  
1A1  
1A2  
1A3  
1A4  
2A1  
2A2  
2A3  
2A4  
1Y1  
1Y2  
1Y3  
1Y4  
2Y1  
2Y2  
2Y3  
2Y4  
A8  
A9  
SW10  
SW11  
SW12  
SW13  
SW14  
SW15  
SW16  
DS10  
DS11  
DS12  
DS13  
DS14  
DS15  
DS8  
DS9  
A10  
A11  
A12  
A13  
A14  
A15  
8
8
11  
13  
15  
17  
11  
13  
15  
17  
DS10  
DS11  
DS12  
DS13  
DS14  
DS15  
SW DIP-8  
SW DIP-8  
1
19  
1
19  
1G  
2G  
1G  
2G  
~RAMSLCT  
~PERIPHSLCT  
R/~W  
~STROBE  
~WRITEENBL  
W/~R  
IS-  
R/W  
STRB-  
74LS244  
74LS244  
U2  
63  
64  
6
1
132  
POSLIM1  
NEGLIM1  
U2 AND U3 COULD BE IMPLEMENTED IN  
A
PLD  
IS-  
U2  
2
2
1
1
2
3
A9  
72  
94  
98  
1
AXISIN1  
AXISOUT1  
~HOSTINTRPT  
R/W  
NOT  
U2  
4
5
100  
101  
102  
PWMMAG1  
PWMMAG2  
PWMMAG3  
NAND4  
67  
68  
69  
70  
QUADA1  
QUADB1  
~INDEX1  
~HOME1  
STRB-  
VCC  
96  
97  
PWMSIGN1  
PWMSIGN2  
NOT  
43  
44  
99  
SRLRCV  
SRLXMT  
SRLENABLE  
73  
90  
91  
HALL1A  
HALL1B  
HALL1C  
C1  
C3  
.1UF  
50V  
C5  
.1UF  
50V  
.1UF  
50V  
U3  
53  
65  
54  
I/OINTRPT  
PRLENABLE  
SYNCH  
C1+  
C1-  
1
3
C1+  
C1-  
V+  
V-  
2
V+  
V-  
C2+  
C2-  
74  
89  
75  
88  
76  
83  
77  
82  
4
5
6
ANALOG1  
ANALOG2  
ANALOG3  
ANALOG4  
ANALOG5  
ANALOG6  
ANALOG7  
ANALOG8  
C2  
C2-  
C2  
.1UF  
50V  
SERXMIT  
TXD  
C4  
.1UF  
50V  
11  
10  
14  
7
T1IN  
T2IN  
T1OUT  
T2OUT  
SERRCV  
RXD  
J1  
12  
9
13  
8
R1OUT  
R2OUT  
R1IN  
R2IN  
GND  
5
9
4
8
3
7
2
6
1
84  
85  
86  
87  
ANALOGVCC  
ANALOGREFHIGH  
ANALOGREFLOW  
ANALOGGND  
AD232  
RS-  
41  
58  
~RESET  
CLK  
CONNECTOR DB9  
CLOCKIN  
FEMALE DB9 WIRED  
AS SHOWN WILL  
CP2N11  
GND  
CONNECT TO  
WITHOUT  
MODEM.  
A
PC  
A
DUMMY  
PERFORMANCE MOTION DEVICES  
55 OLD BEDFORD RD  
LINCOLN, MA 01773  
Title  
RS232 SERIAL INTERFACE  
Document Number  
Size  
B
Rev  
B
Date:  
Monday, July 07, 2003  
2
Sheet  
1
of  
1
0
8
7
6
5
4
3
7.3 RS 422/485 Serial Interface  
The interface between the MC3310 chip and an RS-422/485 serial port is shown in the following  
figure.  
Comments on Schematic  
Use the included table to determine the jumper setup that matches the chosen configuration. If  
using RS485, the last CP must have its jumpers set to RS485 LAST. The DB9 connector wiring is  
for example only. The DB9 should be wired according to the specification that accompanies the  
connector to which it is attached.  
For correct operation, logic should be provided that contains the start up serial configuration for the  
motion processor. Refer to the RS232 Serial Interface schematic for an example of the required  
logic.  
Note that the RS485 interface cannot be used in point to point mode. It can only be used in a multi-  
drop configuration where the chip SrlEnable line is used to control transmit/receive operation of the  
serial transceiver.  
Chips in a multi-drop environment should not be operated at different baud rates. This will result in  
communication problems.  
MC3310 Technical Specifications  
66  
8
7
6
5
4
3
2
1
TERMINATE  
TRANSMIT  
TX-RX  
+
D
C
B
A
D
C
B
A
JP3  
JP1  
1
TXT  
1
3
2
3
2
JMP3  
JMP3  
VCC  
R3  
R1  
4.7K  
120  
U1  
P1  
TX+  
TX-  
9
5
9
4
8
3
7
2
6
1
Y
Z
5
4
3
2
SRLXMT  
SRLRCV  
DI  
10  
SRLENABLE  
DE  
RE  
RO  
GND  
VCC  
TO HOST  
RX+  
RX-  
12  
A
B
C1  
11  
MAX491  
4.7UF  
10V  
CONNECTOR DB9  
RT ANGLE MALE  
TANT  
C2  
GND  
.1UF  
50V  
CER  
R2  
120  
JP4  
JP2  
1
RXT  
1
3
2
3
2
JMP3  
JMP3  
TX-RX  
-
TERMINATE  
RECEIVE  
COM TYPE  
RS422  
JP1  
1-2  
2-3  
1-2  
JP2  
1-2  
2-3  
2-3  
JP3  
JP4  
2-3  
1-2  
1-2  
2-3  
1-2  
1-2  
RS485  
RS485 LAST  
NOTE:RS422 IS CAPABLE OF FULL DUPLEX AND USES  
RS485 IS HALF-DUPLEX ON PAIR AND MAY BE DAISY CHAINED  
THE CP USES RS485. SINGLE CP MAY COMMUNICATE WITH AN  
RS422 HOST AS SHOWN IN THE TABLE.  
SINGLE PAIR MAY BE WIRED TO EITHER P1-1,9 OR P1-2,3  
FOR RS485.  
2 PAIRS.  
1
A
PERFORMANCE MOTION DEVICES  
55 OLD BEDFORD RD  
LINCOLN, MA 01773  
A
Title  
RS422/485 Interface  
Document Number  
Size  
B
Rev  
A
Date:  
Thursday, April 11, 2002  
2
Sheet  
1
of  
1
8
7
6
5
4
3
1
7.4 PWM Motor Interface  
The following schematic shows a typical interface circuit between the MC3310 and an amplifier used  
in PWM 50/50 output mode.  
Comments on Schematic  
The L6234 from ST MicroElectronics is an integrated package that provides 3 half-bridge amplifiers  
on a single chip. It can drive up to 2 Amps continuous at 52 Volts.  
MC3310 Technical Specifications  
68  
8
7
6
5
4
3
2
1
R?  
VCC  
22K  
U1  
D
C
B
A
D
C
B
A
110  
111  
112  
114  
115  
116  
117  
118  
119  
122  
123  
124  
125  
126  
127  
128  
131  
129  
130  
4
ADDR0  
ADDR1  
ADDR2  
ADDR3  
ADDR4  
ADDR5  
ADDR6  
ADDR7  
ADDR8  
9
DATA0  
DATA1  
DATA2  
DATA3  
DATA4  
DATA5  
DATA6  
DATA7  
DATA8  
DATA9  
DATA10  
DATA11  
DATA12  
DATA13  
DATA14  
DATA15  
10  
11  
12  
15  
16  
17  
18  
19  
22  
23  
24  
25  
26  
27  
28  
BOOTSTRAP DIODES AND CAPS TYPICAL  
DIODES AND CAPS SHOULD BE RATED 2-3 TIMES MPWR VOLTAGE  
MPWR  
ADDR9  
ADDR10  
ADDR11  
ADDR12  
ADDR13  
ADDR14  
ADDR15  
N/C  
C?  
C?  
D?  
+
.1UF  
100UF  
1N4148  
HF CER  
~RAMSLCT  
~PERIPHSLCT  
R/~W  
~STROBE  
~WRITEENBL  
W/~R  
D?  
1N4148  
MGND  
63  
64  
6
1
132  
POSLIM1  
NEGLIM1  
C?  
C?  
.01UF  
.22UF  
72  
94  
98  
R?  
AXISIN1  
AXISOUT1  
~HOSTINTRPT  
VCC  
PWM1A  
PWM1B  
PWM1C  
100  
101  
102  
PWMMAG1  
PWMMAG2  
PWMMAG3  
AXIS1  
15K  
U?  
QUADA1  
QUADB1  
INDX1  
EN  
67  
68  
69  
70  
QUADA1  
QUADB1  
~INDEX1  
~HOME1  
PWM1A  
PWM1B  
PWM1C  
0
0
0
0
0
IN1  
EN1  
IN2  
EN2  
IN3  
EN3  
VCP  
OUT1  
OUT2  
OUT3  
96  
97  
0
0
0
0
0
PWMSIGN1  
PWMSIGN2  
HOME1  
MTR1A  
MTR1B  
MTR1C  
43  
44  
99  
SRLRCV  
SRLXMT  
SRLENABLE  
73  
90  
91  
HALL1A  
HALL1B  
HALL1C  
53  
65  
54  
0
0
I/OINTRPT  
PRLENABLE  
SYNCH  
VREF  
SENSE  
L6234  
C?  
1UF  
74  
89  
75  
88  
76  
83  
77  
82  
ANALOG1  
ANALOG2  
ANALOG3  
ANALOG4  
ANALOG5  
ANALOG6  
ANALOG7  
ANALOG8  
MGND  
AXIS  
1
84  
85  
86  
87  
ANALOGVCC  
ANALOGREFHIGH  
ANALOGREFLOW  
ANALOGGND  
NOTE:L6234 AVAILABLE FROM ST MICROELECTRONICS  
FORMERLY SGS-THOMPSON  
41  
58  
~RESET  
CLOCKIN  
CP24N11  
GND  
PERFORMANCE MOTION DEVICES  
55 OLD BEDFORD RD  
LINCOLN, MA 01773  
Title  
3 Phase PWM 50/50  
Document Number  
Size  
B
Rev  
A
Date:  
Tuesday, November 19, 2002  
2
Sheet  
1
of  
1
1
8
7
6
5
4
3
7.5 12-bit Parallel DAC Interface  
The interface between the MC3310 chip and a quad 12 bit DAC is shown in the following figure.  
Comments on Schematic  
The 12 data bits are written to the DAC addressed by address bits A0 and A1 in Quad DAC 1, when  
A2 is 0. In this fashion CP address 4000h is used for axis 1, phase A, and 4001h is used for axis 1  
phase B.  
MC3310 Technical Specifications  
70  
8
7
6
5
4
3
2
1
VCC  
R?  
A[0..15]  
VDD  
22K  
U1  
DS[0..15]  
VCC  
VREFH  
A0  
A1  
A2  
A3  
A4  
A5  
A6  
A7  
110  
111  
112  
114  
115  
116  
117  
118  
119  
122  
123  
124  
125  
126  
127  
128  
131  
129  
130  
4
ADDR0  
ADDR1  
ADDR2  
ADDR3  
ADDR4  
ADDR5  
ADDR6  
ADDR7  
ADDR8  
ADDR9  
ADDR10  
ADDR11  
ADDR12  
ADDR13  
ADDR14  
ADDR15  
N/C  
U7  
DS0  
DS1  
DS2  
DS3  
DS4  
DS5  
DS6  
DS7  
9
DATA0  
DATA1  
DATA2  
DATA3  
DATA4  
DATA5  
DATA6  
DATA7  
DATA8  
DATA9  
DATA10  
DATA11  
DATA12  
DATA13  
DATA14  
DATA15  
D
C
B
A
D
C
B
A
10  
11  
12  
15  
16  
17  
18  
19  
22  
23  
24  
25  
26  
27  
28  
DS[4..15]  
DS4  
DS5  
DS6  
DS7  
DS8  
DS9  
DS10  
DS11  
DS12  
DS13  
DS14  
DS15  
8
9
DB0  
A8  
A9  
DB1  
DB2  
DB3  
DB4  
DB5  
DB6  
DB7  
DB8  
DB9  
DB10  
DB11  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
DS8  
DS9  
A10  
A11  
A12  
A13  
A14  
A15  
DACVA1  
DACVB1  
DACVA2  
DACVB2  
3
VOUTA  
VOUTB  
VOUTC  
VOUTD  
DS10  
DS11  
DS12  
DS13  
DS14  
DS15  
2
~RAMSLCT  
~PERIPHSLCT  
R/~W  
~STROBE  
~WRITEENBL  
W/~R  
IS-  
27  
26  
STRB-  
WE-  
63  
64  
6
1
132  
POSLIM1  
NEGLIM1  
GND  
CS1-  
20  
23  
R/W  
/CS  
72  
94  
98  
AXISIN1  
AXISOUT1  
~HOSTINTRPT  
A0  
A1  
100  
101  
102  
22  
21  
PWMMAG1  
PWMMAG2  
PWMMAG3  
A0  
A1  
67  
68  
69  
70  
QUADA1  
QUADB1  
~INDEX1  
~HOME1  
96  
97  
PWMSIGN1  
PWMSIGN2  
GND  
RS-  
7
6
/LDAC  
43  
44  
99  
SRLRCV  
SRLXMT  
SRLENABLE  
73  
90  
91  
HALL1A  
HALL1B  
HALL1C  
/RESET  
53  
65  
54  
I/OINTRPT  
PRLENABLE  
SYNCH  
BURR-BROWN 7724,7725  
SO or PLCC  
GND  
VSS  
74  
89  
75  
88  
76  
83  
77  
82  
ANALOG1  
ANALOG2  
ANALOG3  
ANALOG4  
ANALOG5  
ANALOG6  
ANALOG7  
ANALOG8  
IF CLEAN SUPPLIES +- 10V ARE  
PROVIDED FOR VREFH AND VREFL  
IT IS GENERALLY NOT NECESSARY  
TO PROVIDE OFFSET ADJUST.  
VREFL  
4 DACS @ CP ADR  
0X4000+ 0,1,2,3.  
84  
85  
86  
87  
ANALOGVCC  
ANALOGREFHIGH  
ANALOGREFLOW  
ANALOGGND  
IS-  
RS-  
41  
58  
~RESET  
CLK  
STRB-  
WE-  
CLOCKIN  
U?  
2
3
4
5
6
CP24N1  
GND  
CS1-  
1
A2  
OR5  
THE LOGIC WITHIN THE DOTTED LINES  
A14-  
IS EASILY IMPLEMENTED WITHIN  
A CPLD.  
PERFORMANCE MOTION DEVICES  
55 OLD BEDFORD RD  
LINCOLN, MA 01773  
Title  
2 or 3 Phase 12-bit DAC OUT  
Document Number  
Size  
B
Rev  
A
Date:  
Tuesday, November 19, 2002  
2
Sheet  
1
of  
1
1
8
7
6
5
4
3
7.6 16-bit Serial DAC Interface  
The following schematic shows an interface circuit between the MC3310 and a dual 16-bit serial  
DAC.  
Comments on Schematic  
The 16 data bits from the CP chip are latched in the two 74H165 shift registers when the CP writes  
to address 400x hex, and the address bits A1 and A2 are latched in the 2 DLAT latches and decoded  
by the 138 CPU cycle. The fed-back and-or gate latches, the decoded WRF, and the next clock will  
st  
clear the 1 sequencer flop DFF3. This will disable the WRF latch and the second clock will clear  
the second DFF3 flop, forcing DACWRN low, and setting the first flop since WRF will have gone  
high. DACWRN low will clear the 74109, SHFTCNTN. The 4 bit counter, 74161, is also parallel  
loaded to 0, and the counter is enabled by ENP going high. The counter will not start counting nor  
the shift register start shifting until the clock after the DACWRN flop sets since the load overrides  
the count enable. When the DACWR flop is set the shift register will start shifting and the counter  
will count the shifts. After 15 shifts CNT15 from the counter will go high and the next clock will set  
the DACLAT flop and set the SHFTCNTN flop. This will stop the shift after 16 shifts and assert  
L1 through L4 depending on the address stored in the latch. The 16th clock also was counted  
causing the counter to roll over to 0 and CNT15 to go low. The next clock will therefore clear the  
DACLAT flop causing the DAC latch signal L1 through L4 to terminate and the 16 bits of data to be  
latched in the addressed DAC. The control logic is now back in its original state waiting for the next  
write to the DACs by the CP. SERCK is a 10MHz clock, the 20MHz CP clock divided by 2, since  
the AD1866 DACs will not run at 20MHz.  
MC3310 Technical Specifications  
72  
8
7
6
5
4
3
2
1
U2  
DACL  
2
1
U2  
DS[0..15]  
U2  
D
U2A  
SERCK  
NOT  
U2  
2
1
2
3
1
SERCK  
Q
GND  
GND  
2
3
5
10  
11  
12  
13  
14  
3
4
5
6
D
Q
Q
SER  
A
B
C
D
E
F
G
H
CLK  
DS0  
DS1  
DS2  
DS3  
DS4  
DS5  
DS6  
DS7  
CLK  
NOT  
CLK  
U2  
6
DS[0..15]  
DFF  
DS[0..15]  
D
C
B
A
D
C
B
A
A14  
A14N  
IS-  
74LS74  
2
1
2
3
4
5
6
U?  
A0  
A1  
A2  
U2  
A0  
A1  
A2  
A14  
IS-  
R/W  
A0  
R/W  
STRB-  
WRF  
1
2
3
9
7
QH  
QH  
LDN  
NOT  
U2  
1
A14  
IS-  
2
3
2
15  
1
CLK  
INH  
SH/LD  
CLKINH  
LDN  
OR5  
1
R/W  
SHTCNTN  
NAND2  
U2  
STRB-  
STRB-  
OR2  
74165  
CLK  
RS-  
RS-  
CLK  
RS-  
GND  
U2  
U2  
U2  
U2  
WRF  
2
3
3
14  
13  
12  
11  
15  
10  
11  
12  
13  
14  
3
4
5
6
A
B
C
D
QA  
QB  
QC  
QD  
RCO  
SER  
A
B
C
D
E
F
G
H
DACWRN  
DS8  
DS9  
DS10  
DS11  
DS12  
DS13  
DS14  
1
2
3
1
2
3
1
4
5
6
D
Q
D
Q
CLK  
CLK  
U2  
OR2  
U2  
2
3
7
10  
2
9
1
ENP  
ENT  
CLK  
LOAD  
CLR  
RS-  
U2  
2
3
4
1
DFF3  
DFF3  
VCC  
1
1
DS15  
SERD  
2
1
9
7
QH  
QH  
U?  
NOR2  
SERCK  
AND3  
5VA  
2
15  
1
CLK  
INH  
SH/LD  
74161  
NOT  
2
NOT  
74165  
VCC  
U2A  
SHFTCNTN  
2
4
3
6
J
Q
U3  
CLK  
K
U2  
U2  
7
U2  
D
Q
VB1  
VO1  
A1  
L1  
SDAT  
16  
14  
13  
11  
10  
8
2
3
1
1
1
2
3
15  
2
3
1
L1  
L2  
L3  
L4  
SDAT  
VBL  
VOL  
NRL  
NRR  
VOR  
VBR  
D
Q
Q
A
B
C
Y0  
Y1  
Y2  
Y3  
Y4  
Y5  
Y6  
Y7  
Q
L2  
L3  
L4  
74109  
14  
13  
12  
11  
10  
9
L1  
GND  
2
LL  
G
CLK  
VCC  
SDAT  
3
5
6
DL  
DR  
LR  
DACL  
SERCK  
GND  
U2A  
6
4
5
G1  
G2A  
G2B  
DLAT  
DFF  
DACL  
7
2
4
3
6
J
Q
Q
L2  
VO2  
VB2  
U2  
D
A2  
2
3
138  
CLK  
K
WRF  
7
G
SERCK  
4
CLK  
74109  
AD1866  
DLAT  
GND  
ALL LOGIC LABELLED U2 MAY BE IMPLEMENTED IN  
A
CPLD  
VCC  
5VA  
THE MODULE PORTS REPRESENT INPUTS AND OUTPUTS FROM THE CPLD  
ALL INPUT SIGNALS ARE COMMON TO THE CP.  
U4  
VB3  
+12VA  
16  
14  
13  
11  
10  
8
VBL  
VOL  
NRL  
NRR  
VOR  
VBR  
L3  
L4  
VO3  
U4A  
2
3
5
6
LL  
R1  
VO1  
VB1  
3
2
DL  
DR  
LR  
+
-
DACV1  
1
DACV1  
10K  
VO4  
VB4  
OP497  
PERFORMANCE MOTION DEVICES  
55 OLD BEDFORD RD  
LINCOLN, MA 01773  
-12VA  
R2  
R3  
Title  
4
CLK  
SERIAL DAC OUT  
Document Number  
10K  
100K  
AD1866  
Size  
B
Rev  
AXIS  
1
AMP SHOWN TYPICAL OF ALL 4 AXIS  
A
GND  
Date:  
Thursday, April 11, 2002  
2
Sheet  
1
of  
1
0
8
7
6
5
4
3
7.7 RAM Interface  
The following schematic shows an interface circuit between the MC3310 and external ram.  
Comments on Schematic  
The CP is capable of directly addressing 32K words of 16-bit memory. It will also use a 16 bit  
paging register to address up to 32K word pages. The schematic shows the paging and addressing  
for 128KB RAM chips, i.e. 4 pages per RAM chip. The page address decoding is shown for only 6 of  
the 16 possible paging bits. The decoding time from W/R and DS- to the memory output must not  
exceed 18 ns. for a read with no wait states. The writes provide 25 extra ns access time for W/R and  
DS- to reverse the CP data bus.  
MC3310 Technical Specifications  
74  
8
7
6
5
4
3
2
1
D[0..15]  
A[0..14]  
D
C
B
A
D
C
B
A
R?  
VCC  
U?  
U?  
A0  
A1  
A2  
A3  
A4  
A5  
A6  
A7  
A0  
A1  
A2  
A3  
A4  
A5  
A6  
A7  
12  
11  
10  
9
8
7
12  
11  
10  
9
8
7
A0  
A1  
A2  
A3  
A4  
A5  
A6  
A7  
A0  
A1  
A2  
A3  
A4  
A5  
A6  
A7  
VCC  
U?  
D0  
D1  
D2  
D3  
D4  
D5  
D6  
D7  
D8  
D9  
22K  
13  
14  
15  
17  
18  
19  
20  
21  
13  
DQ0  
DQ1  
DQ2  
DQ3  
DQ4  
DQ5  
DQ6  
DQ7  
DQ0  
DQ1  
DQ2  
DQ3  
DQ4  
DQ5  
DQ6  
DQ7  
NOTE: POS139 IS  
OUTPUTS  
A
STANDARD 139 WITH INVERTED  
14  
15  
17  
18  
19  
20  
21  
D10  
D11  
D12  
D13  
D14  
D15  
U2  
D0  
D1  
D2  
D3  
D4  
D5  
D6  
D7  
MPG0  
MPG1  
3
4
7
2
5
6
9
12  
15  
16  
19  
D1  
D2  
D3  
D4  
D5  
D6  
D7  
D8  
Q1  
Q2  
Q3  
Q4  
Q5  
Q6  
Q7  
Q8  
A0  
A1  
A2  
A3  
A4  
A5  
A6  
A7  
A8  
A9  
A10  
A11  
A12  
A13  
A14  
U2A  
2
A
3
B
110  
111  
112  
114  
115  
116  
117  
118  
119  
122  
123  
124  
125  
126  
127  
128  
131  
129  
130  
4
6
5
6
5
ADDR0  
ADDR1  
ADDR2  
ADDR3  
ADDR4  
ADDR5  
ADDR6  
ADDR7  
CS1  
CS2  
CS3  
CS4  
4
5
6
7
Y0  
Y1  
Y2  
Y3  
D0  
D1  
D2  
D3  
D4  
D5  
D6  
D7  
A8  
A9  
A8  
A9  
9
8
27  
26  
23  
25  
4
28  
3
27  
26  
23  
25  
4
28  
3
DATA0  
DATA1  
DATA2  
DATA3  
DATA4  
DATA5  
DATA6  
DATA7  
DATA8  
DATA9  
DATA10  
DATA11  
DATA12  
DATA13  
DATA14  
DATA15  
A8  
A9  
A8  
A9  
10  
11  
12  
15  
16  
17  
18  
19  
22  
23  
24  
25  
26  
27  
28  
13  
14  
17  
18  
A10  
A11  
A12  
A13  
A14  
MPG0  
MPG1  
A10  
A11  
A12  
A13  
A14  
MPG0  
MPG1  
1
G
A10  
A11  
A12  
A13  
A14  
A15  
A16  
A10  
A11  
A12  
A13  
A14  
A15  
A16  
POS139  
WE-  
PGR-  
11  
1
ADDR8  
ADDR9  
CLK  
G
U2B  
31  
2
31  
2
D8  
D9  
CS5  
CS6  
CS7  
CS8  
14  
13  
12  
11  
10  
9
ADDR10  
ADDR11  
ADDR12  
ADDR13  
ADDR14  
ADDR15  
N/C  
A
B
Y0  
Y1  
Y2  
Y3  
74LS377  
D10  
D11  
D12  
D13  
D14  
D15  
DS-  
CS1  
DS-  
CS1  
22  
30  
22  
30  
CE1  
CE2  
CE1  
CE2  
GND  
15  
G
WE-  
W/R  
WE-  
W/R  
POS139  
29  
24  
29  
24  
WE  
OE  
WE  
OE  
U2  
NOTE:THE CRITICAL DECODE AND MEMORY  
ACCESS TIME IS DURING READ,  
THE REQUIRED ACCESS TIME IS  
18 NS. FROM DS- LOW.  
DS-  
IS-  
R/W  
D8  
D9  
3
4
7
2
5
6
9
12  
15  
16  
19  
~RAMSLCT  
~PERIPHSLCT  
R/~W  
~STROBE  
~WRITEENBL  
W/~R  
D1  
D2  
D3  
D4  
D5  
D6  
D7  
D8  
Q1  
Q2  
Q3  
Q4  
Q5  
Q6  
Q7  
Q8  
MCM6226  
MCM6226  
D10  
D11  
D12  
D13  
D14  
D15  
63  
64  
6
1
132  
8
POSLIM1  
NEGLIM1  
AS ILLUSTRATED THERE IS  
~ 100NS.  
WE-  
W/R  
13  
14  
17  
18  
TO ACCOMPLISH THE DECODING  
FROM PAGE REG WRITE TO  
MEMORY READ OR WRITE.  
DECODING WILL HAVE TO BE  
CAREFULLY DONE ON MEMORIES  
D[0..15]  
72  
94  
98  
AXISIN1  
AXISOUT1  
~HOSTINTRPT  
WE-  
PGR-  
100  
101  
102  
11  
1
PWMMAG1  
PWMMAG2  
PWMMAG3  
CLK  
G
WITH  
A
SINGLE CHIP SELECT.  
A[0..14]  
67  
68  
69  
70  
QUADA1  
QUADB1  
~INDEX1  
~HOME1  
74LS377  
96  
97  
PWMSIGN1  
PWMSIGN2  
PAGE REGISTER UP TO 16 BITS  
U?  
U?  
A0  
A1  
A2  
A3  
A4  
A5  
A6  
A7  
A0  
A1  
A2  
A3  
A4  
A5  
A6  
A7  
12  
11  
10  
9
8
7
12  
11  
10  
9
8
7
A0  
A1  
A2  
A3  
A4  
A5  
A6  
A7  
A0  
A1  
A2  
A3  
A4  
A5  
A6  
A7  
D0  
D1  
D2  
D3  
D4  
D5  
D6  
D7  
D8  
D9  
43  
44  
99  
13  
14  
15  
17  
18  
19  
20  
21  
13  
14  
15  
17  
18  
19  
20  
21  
SRLRCV  
SRLXMT  
SRLENABLE  
DQ0  
DQ1  
DQ2  
DQ3  
DQ4  
DQ5  
DQ6  
DQ7  
DQ0  
DQ1  
DQ2  
DQ3  
DQ4  
DQ5  
DQ6  
DQ7  
U2  
73  
90  
91  
HALL1A  
HALL1B  
HALL1C  
D10  
D11  
D12  
D13  
D14  
D15  
U2  
A13  
2
1
2
3
4
IS-  
PGR-  
53  
65  
54  
1
I/OINTRPT  
PRLENABLE  
SYNCH  
R/W  
6
5
6
5
NOT  
A8  
A9  
A8  
A9  
OR3  
27  
26  
23  
25  
4
28  
3
27  
26  
23  
25  
4
28  
3
A8  
A9  
A8  
A9  
74  
89  
75  
88  
76  
83  
77  
82  
ANALOG1  
ANALOG2  
ANALOG3  
ANALOG4  
ANALOG5  
ANALOG6  
ANALOG7  
ANALOG8  
A10  
A11  
A12  
A13  
A14  
MPG0  
MPG1  
A10  
A11  
A12  
A13  
A14  
MPG0  
MPG1  
A10  
A11  
A12  
A13  
A14  
A15  
A16  
A10  
A11  
A12  
A13  
A14  
A15  
A16  
31  
2
31  
2
DS-  
CS2  
DS-  
CS2  
84  
85  
86  
87  
22  
30  
22  
30  
ANALOGVCC  
ANALOGREFHIGH  
ANALOGREFLOW  
ANALOGGND  
CE1  
CE2  
CE1  
CE2  
WE-  
W/R  
WE-  
W/R  
29  
24  
29  
24  
WE  
OE  
WE  
OE  
RS-  
CLK  
MCM6226  
MCM6226  
41  
58  
~RESET  
CLOCKIN  
CP2N11  
GND  
PERFORMANCE MOTION DEVICES  
55 OLD BEDFORD RD  
LINCOLN, MA 01773  
Title  
RAM INTERFACE  
Document Number  
Size  
Rev  
B
B
Date:  
Tuesday, November 19, 2002  
2
Sheet  
1
of  
1
0
8
7
6
5
4
3
7.8 User-defined I/O  
The interface between the MC3310 chip and 16 bits of user output and 16 bits of user input is shown  
in the following figure.  
Comments on Schematic  
The schematic implements 1 word of user output registered in the 74LS377’s and 1 word of user  
inputs read via the 244’s. The schematic decodes the low 3 bits of the address to 8 possible UIO  
addresses UIO0 through UIO7. Registers and buffers are shown for only UIO0, but the  
implementation shown may be easily extended. The lower 8 address bits may be decoded to provide  
up to 256 user output words and 256 user input words of 16 bits.  
MC3310 Technical Specifications  
76  
8
7
6
5
4
3
2
1
D[0..15]  
A[0..14]  
R?  
D
C
B
A
D
C
B
A
VCC  
22K  
U2  
A0  
A1  
A2  
UIO0  
UIO1  
UIO2  
UIO3  
UIO4  
UIO5  
UIO6  
UIO7  
U?  
1
2
3
15  
14  
13  
12  
11  
10  
9
A
B
C
Y0  
Y1  
Y2  
Y3  
Y4  
Y5  
Y6  
Y7  
U2  
D0  
D1  
D2  
D3  
D4  
D5  
D6  
D7  
UO0-0  
UO0-1  
UO0-2  
UO0-3  
UO0-4  
UO0-5  
UO0-6  
UO0-7  
3
4
7
2
5
6
9
12  
15  
16  
19  
D1  
D2  
D3  
D4  
D5  
D6  
D7  
D8  
Q1  
Q2  
Q3  
Q4  
Q5  
Q6  
Q7  
Q8  
A0  
A1  
A2  
A3  
A4  
A5  
A6  
A7  
A8  
A9  
A10  
A11  
A12  
A13  
A14  
110  
111  
112  
114  
115  
116  
117  
118  
119  
122  
123  
124  
125  
126  
127  
128  
131  
129  
130  
4
ADDR0  
ADDR1  
ADDR2  
ADDR3  
ADDR4  
ADDR5  
ADDR6  
ADDR7  
ADDR8  
D0  
D1  
D2  
D3  
D4  
D5  
D6  
D7  
UIO  
9
8
6
4
5
DATA0  
G1  
G2A  
G2B  
A3  
A4  
10  
11  
12  
15  
16  
17  
18  
19  
22  
23  
24  
25  
26  
27  
28  
13  
14  
17  
18  
DATA1  
DATA2  
DATA3  
DATA4  
DATA5  
DATA6  
DATA7  
DATA8  
DATA9  
DATA10  
DATA11  
DATA12  
DATA13  
DATA14  
DATA15  
7
138  
WE-  
UIO0  
11  
1
CLK  
G
ADDR9  
D8  
D9  
ADDR10  
ADDR11  
ADDR12  
ADDR13  
ADDR14  
ADDR15  
N/C  
USER OUTPUTS  
74LS377  
D10  
D11  
D12  
D13  
D14  
D15  
U2  
U2  
U2  
D8  
D9  
UO0-8  
UO0-9  
A12  
A12n  
IS-  
3
4
7
2
5
6
9
12  
15  
16  
19  
2
1
2
~RAMSLCT  
~PERIPHSLCT  
R/~W  
~STROBE  
~WRITEENBL  
W/~R  
D1  
D2  
D3  
D4  
D5  
D6  
D7  
D8  
Q1  
Q2  
Q3  
Q4  
Q5  
Q6  
Q7  
Q8  
IS-  
UIO  
1
D10  
D11  
D12  
D13  
D14  
D15  
UO0-10  
UO0-11  
UO0-12  
UO0-13  
UO0-14  
UO0-15  
3
NOT  
63  
64  
6
1
132  
8
POSLIM1  
NEGLIM1  
WE-  
W/R  
NOR2  
13  
14  
17  
18  
72  
94  
98  
AXISIN1  
AXISOUT1  
~HOSTINTRPT  
WE-  
UIO0  
U2  
100  
101  
102  
11  
1
PWMMAG1  
PWMMAG2  
PWMMAG3  
CLK  
G
A12n  
IS-  
U2  
2
3
UIOn  
W/R  
UIO0  
67  
68  
69  
70  
1
2
3
4
QUADA1  
QUADB1  
~INDEX1  
~HOME1  
UI0n  
74LS377  
1
96  
97  
PWMSIGN1  
PWMSIGN2  
OR2  
OR3  
43  
44  
99  
SRLRCV  
SRLXMT  
SRLENABLE  
U2  
73  
90  
91  
HALL1A  
HALL1B  
HALL1C  
D0  
D1  
D2  
D3  
D4  
D5  
D6  
D7  
UI0-0  
UI0-1  
UI0-2  
UI0-3  
UI0-4  
UI0-5  
UI0-6  
UI0-7  
18  
16  
14  
12  
9
7
5
2
4
6
8
11  
13  
15  
17  
1Y1  
1Y2  
1Y3  
1Y4  
2Y1  
2Y2  
2Y3  
2Y4  
1A1  
1A2  
1A3  
1A4  
2A1  
2A2  
2A3  
2A4  
THE LOGIC LABELED U2 MAY BE IMPLEMENTED IN  
CPLD. THE LOWER ADDRESS BITS, A0-A8, MAY BE  
53  
65  
54  
I/OINTRPT  
PRLENABLE  
SYNCH  
A
8
DECODED TO PROVIDE 256 16 BIT USER INPUTS  
AND 256 USER OUTPUTS.  
74  
89  
75  
88  
76  
83  
77  
82  
ANALOG1  
ANALOG2  
ANALOG3  
ANALOG4  
ANALOG5  
ANALOG6  
ANALOG7  
ANALOG8  
3
UI0n  
UI0n  
1
19  
1G  
2G  
USER INPUTS  
244  
U2  
84  
85  
86  
87  
ANALOGVCC  
ANALOGREFHIGH  
ANALOGREFLOW  
ANALOGGND  
D8  
D9  
UI0-8  
UI0-9  
18  
16  
14  
12  
9
7
5
2
4
6
8
11  
13  
15  
17  
1Y1  
1A1  
1A2  
1A3  
1A4  
2A1  
2A2  
2A3  
2A4  
1Y2  
1Y3  
1Y4  
2Y1  
2Y2  
2Y3  
2Y4  
D10  
D11  
D12  
D13  
D14  
D15  
UI0-10  
UI0-11  
UI0-12  
UI0-13  
UI0-14  
UI0-15  
RS-  
CLK  
41  
58  
~RESET  
3
CLOCKIN  
CP2N11  
GND  
UI0n  
UI0n  
1
19  
1G  
2G  
244  
PERFORMANCE MOTION DEVICES  
55 OLD BEDFORD RD  
LINCOLN, MA 01773  
Title  
USER I/O  
Size  
B
Document Number  
Rev  
D
Date:  
Tuesday, November 19, 2002  
2
Sheet  
1
of  
1
0
8
7
6
5
4
3
7.9 12-bit A/D Interface  
The following schematic shows a typical interface circuit between the MC3310 and a quad 12 bit 2’s  
complement A/D converter used as a position input device. Any single channel A/D can also be  
used provided it meets the interface timing requirements.  
Comments on Schematic  
The A/D converter samples the 2’s complement digital words. DACRD- is used to perform the  
read and is also used to load the counter to FFh. The counter will be reloaded for each read and will  
not count significantly between reads. The counter will therefore start counting down after the last  
read and will generate the cvt- pulse after 12.75 µsec. The conversions will take approximately 35  
µsec, and the data will be available for the next set of reads after 50 µsec. The 12 bit words from the  
A/D are extended to 16 bits with the 74LS244.  
MC3310 Technical Specifications  
78  
8
7
6
5
4
3
2
1
R?  
VCC  
VCC  
A[0..15]  
22K  
DS[0..15]  
U1  
DS[0..15]  
U?  
A0  
A1  
A2  
A3  
A4  
A5  
A6  
A7  
110  
111  
112  
114  
115  
116  
117  
118  
119  
122  
123  
124  
125  
126  
127  
128  
131  
129  
130  
4
ADDR0  
ADDR1  
ADDR2  
ADDR3  
ADDR4  
ADDR5  
ADDR6  
ADDR7  
ADDR8  
POS1  
POS2  
POS3  
POS4  
CVT-  
DS11  
DS10  
DS9  
DS8  
DS7  
DS6  
DS5  
DS4  
DS3  
DS2  
DS1  
DS0  
1
2
10  
11  
12  
13  
15  
16  
17  
18  
19  
20  
21  
22  
4
VIN1  
VIN2  
VIN3  
VIN4  
DB11  
DB10  
DB9  
DB8  
DB7  
DB6  
DB5  
DB4  
DB3  
DB2  
DB1  
DB0  
INT  
DS0  
DS1  
DS2  
DS3  
DS4  
DS5  
DS6  
DS7  
9
DATA0  
DATA1  
DATA2  
DATA3  
DATA4  
DATA5  
DATA6  
DATA7  
DATA8  
DATA9  
DATA10  
DATA11  
DATA12  
DATA13  
DATA14  
DATA15  
U2  
1A1  
10  
11  
12  
15  
16  
17  
18  
19  
22  
23  
24  
25  
26  
27  
28  
DS11  
DS15  
DS14  
DS13  
DS12  
2
4
6
18  
16  
14  
12  
9
7
5
3
1Y1  
1Y2  
1Y3  
1Y4  
2Y1  
2Y2  
2Y3  
2Y4  
D
C
B
A
D
C
B
A
1A2  
1A3  
1A4  
2A1  
2A2  
2A3  
2A4  
NOTE:FS INPUTS ARE +- 10V  
27  
28  
8
A8  
A9  
11  
13  
15  
17  
ADDR9  
DS8  
DS9  
A10  
A11  
A12  
A13  
A14  
A15  
ADDR10  
ADDR11  
ADDR12  
ADDR13  
ADDR14  
ADDR15  
N/C  
DS10  
DS11  
DS12  
DS13  
DS14  
DS15  
DACRD-  
5
6
7
1
19  
CONVST  
RD  
1G  
2G  
DACRD-  
74LS244  
~RAMSLCT  
~PERIPHSLCT  
R/~W  
~STROBE  
~WRITEENBL  
W/~R  
CS  
IS-  
U2  
2
3
NOTE:SIGN EXTENTION FOR 2'S COMPLEMENT  
STRB-  
W/R  
63  
64  
6
1
132  
1
24  
25  
8
POSLIM1  
NEGLIM1  
REFIN  
REFOUT  
CLK  
4
5
U2  
OR4  
A11  
72  
94  
98  
2
1
AXISIN1  
AXISOUT1  
~HOSTINTRPT  
100  
101  
102  
PWMMAG1  
PWMMAG2  
PWMMAG3  
NOT  
AD7874  
67  
68  
69  
70  
QUADA1  
QUADB1  
~INDEX1  
~HOME1  
96  
97  
PWMSIGN1  
PWMSIGN2  
-5VA  
GND  
43  
44  
99  
SRLRCV  
SRLXMT  
SRLENABLE  
VCC  
VCC  
AGND  
73  
90  
91  
HALL1A  
HALL1B  
HALL1C  
U2  
U2  
3
4
5
6
14  
13  
12  
11  
15  
3
4
5
6
14  
13  
12  
11  
15  
A
B
C
D
QA  
QB  
QC  
QD  
RCO  
A
B
C
D
QA  
QB  
QC  
QD  
RCO  
53  
65  
54  
I/OINTRPT  
PRLENABLE  
SYNCH  
U2  
U2  
DFF2  
CVT-  
ENCNT-  
2
1
2
3
1
D
Q
CLK  
CLK  
74  
89  
75  
88  
76  
83  
77  
82  
2
9
1
10  
7
2
9
1
10  
7
ANALOG1  
ANALOG2  
ANALOG3  
ANALOG4  
ANALOG5  
ANALOG6  
ANALOG7  
ANALOG8  
CLK  
LOAD  
U/D  
ENT  
ENP  
CLK  
LOAD  
U/D  
ENT  
ENP  
DACRD-  
GND  
DACRD-  
GND  
CLK  
NOT  
CLK  
ENCNT-  
74ALS169  
74ALS169  
84  
85  
86  
87  
ANALOGVCC  
ANALOGREFHIGH  
ANALOGREFLOW  
ANALOGGND  
DACRD- WILL LOAD THE COUNTER TO 255.  
12.8 USEC. AFTER THE LAST DACRD-  
DACRD-  
THE COUNTER WILL REACH  
0 AND START THE  
NEXT CONVERSION. THE INPUT WILL  
BE CONVERTED IN 35 USEC. READY FOR  
THE NEXT READ 50 USEC LATER.  
RS-  
41  
58  
~RESET  
CLK  
CLOCKIN  
NOTE:THE LOGIC LABELED U2 MAY  
BE IMPLEMENTEDIN  
CP2N11  
GND  
A PLD.  
PERFORMANCE MOTION DEVICES  
55 OLD BEDFORD RD  
LINCOLN, MA 01773  
Title  
12 BIT A/D IN  
Size  
B
Document Number  
Rev  
A
Date:  
Tuesday, November 19, 2002  
2
Sheet  
1
of  
1
0
8
7
6
5
4
3
7.10 16-bit A/D Input  
The interface between the MC3310 chip and a 16 bit A/D converter as a parallel input position  
device is shown in the following figure.  
Comments on Schematic  
The schematic shows a 16 bit A/D used to provide parallel position input to axis 1 and axis 2. The  
expansion to the remaining two axes is easily implemented. The 374 registers are required on the  
output of the A/D converters to make the 68-nanosecond access time of the CP. The worst-case  
timing of the A/D’s specify 83 nanoseconds for data on the bus and 83 nanoseconds from data to  
tri-state on the bus. Each time the data is read the 169 counter is set to 703 decimal. This provides a  
35.2-microsecond delay before the next conversion. With a 10-microsecond conversion time the  
data will be available for the next set of reads after 50 microseconds. The delay is used to provide a  
position sample close to the actual position.  
MC3310 Technical Specifications  
80  
8
7
6
5
4
3
2
1
DS[0..15]  
2
R?  
VCC  
+5A  
VCC  
U2  
A[0..15]  
22K  
3
4
7
D0  
D1  
D2  
D3  
D4  
D5  
D6  
D7  
Q0  
DS[0..15]  
U1  
5
6
9
12  
15  
16  
19  
Q1  
Q2  
Q3  
Q4  
Q5  
Q6  
Q7  
U3  
8
A0  
A1  
A2  
A3  
A4  
A5  
A6  
A7  
110  
111  
112  
114  
115  
116  
117  
118  
119  
122  
123  
124  
125  
126  
127  
128  
131  
129  
130  
4
13  
14  
17  
18  
ADDR0  
ADDR1  
ADDR2  
ADDR3  
ADDR4  
ADDR5  
ADDR6  
ADDR7  
ADDR8  
NOTE:FS INPUTS ARE +- 10V  
DS0  
DS1  
9
6
7
8
9
DATA0  
DATA1  
DATA2  
DATA3  
DATA4  
DATA5  
DATA6  
DATA7  
DATA8  
DATA9  
DATA10  
DATA11  
DATA12  
DATA13  
DATA14  
DATA15  
D15  
D14  
D13  
D12  
D11  
D10  
D9  
D8  
D7  
D6  
D5  
10  
11  
12  
15  
16  
17  
18  
19  
22  
23  
24  
25  
26  
27  
28  
DS2  
DS3  
DS4  
DS5  
DS6  
DS7  
DS8  
DS9  
DS10  
DS11  
DS12  
DS13  
DS14  
DS15  
R1  
D
C
B
A
D
C
B
A
AIN1  
1
1
11  
VIN  
OC  
CLK  
10  
11  
12  
13  
15  
16  
17  
18  
19  
20  
21  
22  
200  
A8  
A9  
R2  
374  
U2  
33.2  
3
4
ADDR9  
REF  
CAP  
CS  
A10  
A11  
A12  
A13  
A14  
A15  
3
4
7
2
5
6
9
12  
15  
16  
19  
ADDR10  
ADDR11  
ADDR12  
ADDR13  
ADDR14  
ADDR15  
N/C  
D0  
D1  
D2  
D3  
D4  
D5  
D6  
D7  
Q0  
Q1  
Q2  
Q3  
Q4  
Q5  
Q6  
Q7  
25  
24  
23  
8
D4  
D3  
D2  
D1  
13  
14  
17  
18  
CVT-  
R/C  
GND  
~RAMSLCT  
~PERIPHSLCT  
R/~W  
~STROBE  
~WRITEENBL  
W/~R  
BYTE  
D0  
IS-  
U2  
2
3
26  
1
11  
BUSY  
OC  
CLK  
STRB-  
W/R  
DACRD-  
63  
64  
6
1
132  
1
POSLIM1  
NEGLIM1  
C1  
2.2UF  
AD976  
4
5
DACRD-  
A11n  
C1  
2.2UF  
374  
OR4  
72  
94  
98  
AXISIN1  
AXISOUT1  
~HOSTINTRPT  
GND  
U2  
100  
101  
102  
PWMMAG1  
PWMMAG2  
PWMMAG3  
A11  
A11n  
AGND  
2
1
67  
68  
69  
70  
QUADA1  
QUADB1  
~INDEX1  
~HOME1  
NOTE:THE LOGIC LABELED U2 MAY  
BE IMPLEMENTEDIN PLD.  
96  
97  
NOT  
PWMSIGN1  
PWMSIGN2  
A
43  
44  
99  
SRLRCV  
SRLXMT  
SRLENABLE  
73  
90  
91  
HALL1A  
HALL1B  
HALL1C  
SEE ANALOG DEVICES SPECIFICATIONS FOR  
ADITIONAL INFORMATION AND POWER BYPASSING.  
53  
65  
54  
I/OINTRPT  
PRLENABLE  
SYNCH  
74  
89  
75  
88  
76  
83  
77  
82  
ANALOG1  
ANALOG2  
ANALOG3  
ANALOG4  
ANALOG5  
ANALOG6  
ANALOG7  
ANALOG8  
84  
85  
86  
87  
ANALOGVCC  
ANALOGREFHIGH  
ANALOGREFLOW  
ANALOGGND  
RS-  
41  
58  
~RESET  
CLK  
CLOCKIN  
CP2N11  
GND  
VCC  
VCC  
U2  
VCC  
U2  
U2  
DFF2  
U2  
U2  
CVT-  
ENCNT-  
3
4
5
6
14  
13  
12  
11  
15  
3
14  
3
4
5
6
14  
13  
12  
11  
15  
2
1
2
3
1
A
B
C
D
QA  
QB  
QC  
A
4
QA  
QB  
QC  
A
B
C
D
QA  
QB  
QC  
QD  
RCO  
D
Q
13  
12  
11  
15  
B
5
C
6
CLK  
GND  
NOT  
CLK  
QD  
D
QD  
PERFORMANCE MOTION DEVICES  
55 OLD BEDFORD RD  
LINCOLN, MA 01773  
RCO  
RCO  
CLK  
CLK  
CLK  
DACRD-  
GND  
2
9
1
10  
7
2
9
1
10  
7
2
9
1
10  
7
CLK  
LOAD  
U/D  
CLK  
CLK  
DACRD-  
GND  
DACRD-  
GND  
LOAD  
LOAD  
DACRD- WILL LOAD THE COUNTER TO 700.  
38.4 USEC. AFTER THE DACRD-  
THE COUNTER WILL REACH  
NEXT CONVERSION. THE INPUT WILL  
BE CONVERTED IN 10 USEC. READY FOR  
THE NEXT READ AFTER 50 USEC.  
U/D  
ENT  
ENP  
U/D  
ENT  
ENP  
Title  
ENT  
ENP  
0 AND START THE  
ENCNT-  
DACRD-  
16 BIT A/D INPUT  
Document Number  
Size  
B
Rev  
A
74ALS169  
74ALS169  
74ALS169  
Date:  
Tuesday, November 19, 2002  
2
Sheet  
1
of  
1
1
8
7
6
5
4
3
7.11 External Gating Logic Index  
A typical circuit for gating the Index signal with the encoder A & B channels is shown in the  
following schematic.  
Comments on Schematic  
In order for proper operation of the Index signal when used for position capture or phase correction,  
the signal must be gated with the A & B encoder channels to ensure that this signal is only active  
when all three signals are LOW. The motion processor does not perform this gating internally.  
MC3310 Technical Specifications  
82  
5
4
3
2
1
D
C
B
A
D
C
B
A
R?  
VCC  
22K  
U1  
110  
111  
112  
114  
115  
116  
117  
118  
119  
122  
123  
124  
125  
126  
127  
128  
131  
129  
130  
4
ADDR0  
ADDR1  
ADDR2  
ADDR3  
ADDR4  
ADDR5  
ADDR6  
ADDR7  
ADDR8  
ADDR9  
ADDR10  
ADDR11  
ADDR12  
ADDR13  
ADDR14  
ADDR15  
N/C  
9
DATA0  
DATA1  
DATA2  
DATA3  
DATA4  
DATA5  
DATA6  
DATA7  
DATA8  
DATA9  
DATA10  
DATA11  
DATA12  
DATA13  
DATA14  
DATA15  
10  
11  
12  
15  
16  
17  
18  
19  
22  
23  
24  
25  
26  
27  
28  
~RAMSLCT  
~PERIPHSLCT  
R/~W  
~STROBE  
~WRITEENBL  
W/~R  
63  
64  
6
1
132  
POSLIM1  
NEGLIM1  
72  
94  
98  
AXISIN1  
AXISOUT1  
~HOSTINTRPT  
100  
101  
102  
PWMMAG1  
PWMMAG2  
PWMMAG3  
QUADA1  
QUADB1  
67  
68  
69  
70  
QUADA1  
QUADB1  
~INDEX1  
~HOME1  
96  
97  
PWMSIGN1  
PWMSIGN2  
HOME1  
43  
44  
99  
SRLRCV  
SRLXMT  
SRLENABLE  
73  
90  
91  
HALL1A  
HALL1B  
HALL1C  
53  
65  
54  
I/OINTRPT  
PRLENABLE  
SYNCH  
U3  
QUADA1  
QUADB1  
INDEX1  
2
3
4
INDX1  
1
74  
89  
75  
88  
76  
83  
77  
82  
ANALOG1  
ANALOG2  
ANALOG3  
ANALOG4  
ANALOG5  
ANALOG6  
ANALOG7  
ANALOG8  
OR3  
84  
85  
86  
87  
ANALOGVCC  
ANALOGREFHIGH  
ANALOGREFLOW  
ANALOGGND  
41  
58  
~RESET  
CLOCKIN  
CP24N11  
GND  
PERFORMANCE MOTION DEVICES  
55 OLD BEDFORD RD  
LINCOLN, MA 01773  
Title  
EXTERNAL GATING LOGIC INDEX  
Document Number  
Size  
B
Rev  
A
Date:  
Tuesday, November 19, 2002  
Sheet  
1
1
of  
1
5
4
3
2

相关型号:

MC33102

Amplifiers and Comparators
MOTOROLA

MC33102

DUAL SLEEP-MODE OPERATIONAL AMPLIFIER
ONSEMI

MC33102D

DUAL SLEEP-MODE OPERATIONAL AMPLIFIER
MOTOROLA

MC33102D

DUAL SLEEP-MODE OPERATIONAL AMPLIFIER
ONSEMI

MC33102P

DUAL SLEEP-MODE OPERATIONAL AMPLIFIER
ONSEMI

MC33102P

DUAL SLEEP-MODE OPERATIONAL AMPLIFIER
MOTOROLA

MC33110

LOW VOLTAGE COMPANDER
MOTOROLA

MC33110D

LOW VOLTAGE COMPANDER
MOTOROLA

MC33110DR2

COMPANDER, 0.0199MHz BAND WIDTH, PDSO14, PLASTIC, SOP-14
MOTOROLA

MC33110P

LOW VOLTAGE COMPANDER
MOTOROLA

MC33111

Low Voltage Compander
FREESCALE

MC33111D

LOW VOLTAGE COMPANDER
MOTOROLA