Dynamic Engineering PMC-PARALLEL-TTL User manual

Embedded Solutions Page 1
DYNAMIC ENGINEERING
150 DuBois St. Suite 3, Santa Cruz, Ca 95060
831-457-8891 Fax 831-457-4793
http://www.dyneng.com
Est. 1988
User Manual
PMC-PARALLEL-TTL
Digital Parallel Interface
PMC Module
Revision A1
Corresponding Hardware: Revision 1
10-2007-0101
FLASH 0101

Embedded Solutions Page 2
PMC-PARALLEL-TTL
Digital Parallel Interface
PMC Module
Dynamic Engineering
150 DuBois St. Suite 3, Santa Cruz CA 95060
831-457-8891 831-457-4793 FAX
This document contains information of proprietary interest to Dynamic Engineering. It
has been supplied in confidence and the recipient, by accepting this material, agrees
that the subject matter will not be copied or reproduced, in whole or in part, nor its
contents revealed in any manner or to any person except to meet the purpose for which
it was delivered.
Dynamic Engineering has made every effort to ensure that this manual is accurate and
complete. Still, the company reserves the right to make improvements or changes in the
product described in this document at any time and without notice. Furthermore,
Dynamic Engineering assumes no liability arising out of the application or use of the
device described herein.
The electronic equipment described herein generates, uses,
and can radiate radio frequency energy. Operation of this equipment in a residential
area is likely to cause radio interference, in which case the user, at his own expense,
will be required to take whatever measures may be required to correct the interference.
Dynamic Engineering’s products are not authorized for use as critical components in life
support devices or systems without the express written approval of the president of
Dynamic Engineering.
This product has been designed to operate with PMC Module carriers and compatible
user-provided equipment. Connection of incompatible hardware is likely to cause
serious damage.
©2007 by Dynamic Engineering.
Other trademarks and registered trademarks are owned by their respective manufacturers.
Manual Revision A1. Revised 9/4/07

Embedded Solutions Page 3
Table of Contents
PRODUCT DESCRIPTION 6
THEORY OF OPERATION 9
ADDRESS MAP 11
PROGRAMMING 12
Register Definitions 13
pmcparttl_BASE 13
pmcparttl_ID 14
pmcparttl_STATUS 15
pmcparttl_DirL 16
pmcparttl_DirU 16
pmcparttl_DatL 17
pmcparttl_DatU 17
pmcparttl_DatLreg 18
pmcparttl_DatUreg 18
pmcparttl_COSclk 19
pmcparttl_RisLreg 20
pmcparttl_RisUreg 20
pmcparttl_FallLreg 21
pmcparttl_FallUreg 21
pmcparttl_IntRisLreg 22
pmcparttl_IntRisUreg 22
pmcparttl_IntFallLreg 23
pmcparttl_IntFallUreg 23
pmcparttl_IntRisLstat 24
pmcparttl_IntRisUstat 24
pmcparttl_IntRisLstat 25
pmcparttl_IntRisUstat 25
PMC MODULE LOGIC INTERFACE PIN ASSIGNMENT 26
PMC MODULE LOGIC INTERFACE PIN ASSIGNMENT 27
PMC MODULE FRONT PANEL IO INTERFACE PIN ASSIGNMENT 28
PMC MODULE BACKPLANE IO INTERFACE PIN ASSIGNMENT 29

Embedded Solutions Page 4
APPLICATIONS GUIDE 30
Interfacing 30
Construction and Reliability 31
Thermal Considerations 32
Service Policy 33
Out of Warranty Repairs 33
SPECIFICATIONS 34
ORDER INFORMATION 35

Embedded Solutions Page 5
List of Figures
FIGURE 1 PMC-PARALLEL-TTL REAR VIEW 7
FIGURE 2 PMC-PARALLEL-TTL BLOCK DIAGRAM 10
FIGURE 3 PMC-PARALLEL-TTL INTERNAL ADDRESS MAP 11
FIGURE 4 PMC-PARALLEL-TTL CONTROL PORT 0 BIT MAP 13
FIGURE 5 PMC-PARALLEL-TTL ID AND SWITCH BIT MAP 14
FIGURE 6 PMC-PARALLEL-TTL STATUS PORT BIT MAP 15
FIGURE 7 PMC-PARALLEL-TTL DIRECTION LOWER BIT MAP 16
FIGURE 8 PMC-PARALLEL-TTL DIRECTION UPPER BIT MAP 16
FIGURE 9 PMC-PARALLEL-TTL DATA IO LOWER BIT MAP 17
FIGURE 10 PMC-PARALLEL-TTL DATA IO UPPER BIT MAP 17
FIGURE 11 PMC-PARALLEL-TTL DATA REG LOWER BIT MAP 18
FIGURE 12 PMC-PARALLEL-TTL DATA REG UPPER BIT MAP 18
FIGURE 13 PMC-PARALLEL-TTL COS CLK CONTROL BIT MAP 19
FIGURE 14 PMC-PARALLEL-TTL RISING LOWER BIT MAP 20
FIGURE 15 PMC-PARALLEL-TTL RISING UPPER BIT MAP 20
FIGURE 16 PMC-PARALLEL-TTL FALLING LOWER BIT MAP 21
FIGURE 17 PMC-PARALLEL-TTL FALLING UPPER BIT MAP 21
FIGURE 18 PMC-PARALLEL-TTL INT RISING LOWER BIT MAP 22
FIGURE 19 PMC-PARALLEL-TTL INT RISING UPPER BIT MAP 22
FIGURE 20 PMC-PARALLEL-TTL INT FALLING LOWER BIT MAP 23
FIGURE 21 PMC-PARALLEL-TTL INT FALLING UPPER BIT MAP 23
FIGURE 22 PMC-PARALLEL-TTL RISING COS STATUS LOWER 24
FIGURE 23 PMC-PARALLEL-TTL RISING COS STATUS UPPER 24
FIGURE 24 PMC-PARALLEL-TTL FALLING COS STATUS LOWER 25
FIGURE 25 PMC-PARALLEL-TTL FALLING COS STATUS UPPER 25
FIGURE 26 PMC-PARALLEL-TTL PN1 INTERFACE 26
FIGURE 27 PMC-PARALLEL-TTL PN2 INTERFACE 27
FIGURE 28 PMC-PARALLEL-TTL FRONT PANEL INTERFACE 28
FIGURE 29 PMC-PARALLEL-TTL PN4 INTERFACE 29

Embedded Solutions Page 6
Product Description
In embedded systems many of the interconnections are made with single ended TTL or
CMOS level signals. Depending on the system architecture an IP or a PMC will be the
right choice to make the connection. With most architectures you have a choice as
there are carriers for cPCI, PCI, VME, PC/104p and other buses for both PMC and IP
mezzanine modules.
Usually the choice is based on other system constraints as both the PMC and IP can
provide the IO you require. Dynamic Engineering would be happy to assist in your
decision regarding architecture and other trade-offs with the PMC / IP decision.
Dynamic Engineering has carriers for IP and PMC modules for most architectures, and
is adding more as new solutions are requested and required by our customers.
If you are interested in an IP module solution please refer to the IP-Parallel-IO.
PMC-Parallel-TTL is an upgrade for the PMC-Parallel-IO. After 8 years of production,
numerous updates to handle obsolete parts, and new customer requirements it is time
for an updated design. The PMC Parallel IO is still available for clients who have
designed it into their systems. The PMC Parallel TTL is recommended for new systems
and to upgrade current designs. The connector pinouts are retained for ease of system
migration.
The PMC compatible PMC-Parallel-TTL has 64 independent digital IO. The high density
makes efficient use of PMC slot resources. The IO is available for system connection
through the front panel, via the rear [Pn4] connector, or both. A high density 68 pin
SCSI III front panel connector provides the front panel IO. The IO lines can be
protected with optional transorbs. The rear panel IO has a PIM and PIM Carrier
available for rear panel wiring options.
The HDEterm68 http://www.dyneng.com/HDEterm68.html
can be used as a breakout for the front or rear panel IO. The HDEcabl68 provides a
convenient cable. http://www.dyneng.com/HDEcabl68.html Custom cables can be
manufactured to your requirements. Please contact Dynamic Engineering with your
specifications.
Each channel is programmable to be input or output on a channel-by-channel basis. All
64 IO channels can be used as interrupt generators. Interrupts are programmable to be
based on rising, falling and change of state [both] conditions. The interrupts are
maskable to allow polled operation as well.
The inputs are available unfiltered and after the transition detection. The transition
detection is programmable for clock rate. The local 50 MHz oscillator, PCI or external
clocks can be selected as the reference to the clock divider. The clock divider is

Embedded Solutions Page 7
programmable to use the reference rate or to divide it to a lower frequency. An optional
PLL capability is available for users who require more extensive frequency options.
All of the IO are routed through the FPGA to allow for custom applications that require
hardware intervention or specific timing- for example an automatic address or data
strobe to be generated. The initial model is register based. The design is DMA
capable and can be used for more intensive applications of data capture or delivery.
Please contact Dynamic Engineering with your requirements.
The IO are driven with open-drain high current drivers. When enabled, the high side is
driven with the device and augmented with pull-up resistors. When disabled the output
is pulled high with the resistors unless another device on the line is driving that line low.
The low side of the driver can sink 64+ mA. The high side drive is a few mA. All IO
have 2 pull-up locations per line. The default is for 470 ohms installed into one location.
The multiple locations allow for pull-up strengths greater than 470 ohms, and to stay
within the resistor pack wattage capabilities. The multiple packs also allow for parallel
combinations to create more options of specific pull-up values. For custom models with
additional pull-ups or alternate values please contact Dynamic Engineering. The two
columns of pull-up resistor locations are visible on the rear of the card.
Figure 1 PMC-PARALLEL-TTL REAR VIEW
The registers are mapped as 32 bit words and support byte, word and 32 bit access. All
registers are read-writeable. The Windows® compatible [XP/2000] driver is available to
provide the system level interface for this design. Use standard C/C++ to control your
hardware or use the Hardware manual to make your own software interface. The
software manual is also available on-line.
The basic functions of parallel IO and COS capture are designed into the base model.
Additional features will be added to the base model by using a mux on the output side to
allow software to select the base or extended features. Data bit 0 is the first extended
feature and is a programmable output for the COS reference clock. With software the
output definition can be changed to drive the COS clock onto Data 0. The user can use
a scope to check that their set-up is what they want it to be and then likely return it to
being a data bit. You can leave is as a clock if desired. Additional features will be
incorporated into the base design in a manner where the default is the initial base

Embedded Solutions Page 8
design => to prevent updates from conflicting with existing software. The FLASH on the
current boards will be able to be updated to use the new features in most cases.
PMC-PARALLEL-TTL is part of the PMC Module family of modular I/O components.
The PMC-PARALLEL-TTL conforms to the PMC standard. This guarantees
compatibility with multiple PMC Carrier boards. Because the PMC may be mounted on
different form factors, while maintaining plug and software compatibility, system
prototyping may be done on one PMC Carrier board, with final system implementation
on a different one.

Embedded Solutions Page 9
Theory of Operation
The PMC-PARALLEL-TTL can be used for multiple purposes with applications in
telecommunications, control, sensors, IO, test; anywhere multiple independent IO are
useful.
The PMC-PARALLEL-TTL features a Xilinx FPGA, and high current LVTH driver
devices. The FPGA contains the PCI interface and control required for the parallel
interface.
The Xilinx design incorporates the “PCI Core” and additional modules for DMA in
parallel with a direct register decoded programming model. The initial implementation
provides an enhanced feature set based on the PMC Parallel IO design. Additional
FLASH updates will provide DMA, pattern generation, pulse generation, and user
defined requirements.
The drivers are initialized to the off state and pull-ups on board hold the IO lines in the
‘high’ state. The direction registers are used to program the channel to be a driver or
not. The receivers are always enabled allowing local read-back of the transmitted data.
Data written to the IO registers can be placed on the bus. The master enable allows all
64 channels to be synchronized if desired. The master enable can be programmed “on”
to allow direct updates if 64 bit synchronization is not required.
For an IO with the direction bit set and master enabled: When a ‘0’ is written to any IO
line register position the corresponding line is driven low. When a ‘1’ is written to any IO
line register position that line is un-driven by the local driver and the output level will be
controlled by the termination resistor, and any other drivers attached to that line. The
control register is read-writeable. The data register read corresponds to the IO side.
The register read-back is at an alternate address offset. The register read-back is
independent of the bus; the data read will always match the data written. The IO data
read will reflect the state of the bus and not necessarily the state of the on-board
drivers.
The read-back registers are clocked at a programmable rate with an internal clock
generator. If desired the internal clock can be replaced with an external source and an
enable. The basic option is available under SW control. If special programming is
needed please contact Dynamic Engineering for a custom FPGA implementation.
All the IO control and registers are instantiated within the FPGA, only the drivers and
receivers are separate devices. If desired, the IO lines can be specially programmed
to create custom timing pulses etc. For example if the interface is to put out an address

Embedded Solutions Page 10
and then an address qualifier to strobe the address into the receiving hardware one of
the IO lines can be programmed to create a pulse some time after the address for the
IO registers is written to. The custom pulse will be more accurate for delay and duration
than a SW timing solution. The number of accesses to the card can be reduced as well
having the effect of greater through-put. Please contact Dynamic Engineering with your
requirements.
Figure 2 PMC-PARALLEL-TTL Block Diagram

Embedded Solutions Page 11
Address Map
Function Offset
// PMC Parallel TTL definitions
#define pmcparttl_BASE 0x0000 // 0 PMC Parallel TTL base control register offset
#define pmcparttl_ID 0x0004 // 1 PMC Parallel TTL ID Register offset
#define pmcparttl_STATUS 0x0008 // 2 PMC Parallel TTL status Register offset
#define pmcparttl_DirL 0x000c // 3 PMC Parallel TTL Direction lower Register offset
#define pmcparttl_DirU 0x0010 // 4 PMC Parallel TTL Direction upper Register offset
#define pmcparttl_DatL 0x0014 // 5 PMC Parallel TTL Data lower Register, line data read
#define pmcparttl_DatU 0x0018 // 6 PMC Parallel TTL Data upper Register, line data read
#define pmcparttl_DatLreg 0x001c // 7 PMC Parallel TTL Data lower Register read-back
#define pmcparttl_DatUreg 0x0020 // 8 PMC Parallel TTL Data upper Register read-back
#define pmcparttl_COSclk 0x0024 // 9 PMC Parallel TTL COS Clock definition Register
//#define spare 0x0028 // 10 PMC Parallel TTL
#define pmcparttl_RisLreg 0x002c // 11 PMC Parallel TTL Rising lower Register
#define pmcparttl_RisUreg 0x0030 // 12 PMC Parallel TTL Rising upper Register
#define pmcparttl_FallLreg 0x0034 // 13 PMC Parallel TTL Falling lower Register
#define pmcparttl_FallUreg 0x0038 // 14 PMC Parallel TTL Falling upper Register
#define pmcparttl_IntRisLreg 0x003c // 15 PMC Parallel TTL Interrupt Enable Rising lower Register
#define pmcparttl_IntRisUreg 0x0040 // 16 PMC Parallel TTL Interrupt Enable Rising upper Register
#define pmcparttl_IntFallLreg 0x0044 // 17 PMC Parallel TTL Interrupt Enable Falling lower Register
#define pmcparttl_IntFallUreg 0x0048 // 18 PMC Parallel TTL Interrupt Enable Falling upper Register
#define pmcparttl_IntRisLstat 0x004c // 19 PMC Par TTL Interrupt Rising LWR Stat Rd, write = clear
#define pmcparttl_IntRisUstat 0x0050 // 20 PMC Par TTL Interrupt Rising UPR Stat Rd, write = clear
#define pmcparttl_IntFallLstat 0x0054 // 21 PMC Par TTL Interrupt Falling LWR Stat Rd, write = clear
#define pmcparttl_IntFallUstat 0x0058 // 22 PMC Par TTL Interrupt Falling UPR Stat Rd, write = clear
Figure 3 PMC-PARALLEL-TTL Internal Address Map
The address map provided is for the local decoding performed within PMC-Parallel-TTL.
The addresses are all offsets from a base address. The carrier board that the PMC is
installed into provides the base address. Dynamic Engineering prefers a long-word
oriented approach because it is more consistent across platforms.
The map is presented with the #define style to allow cutting and pasting into many
compilers “include” files.
The host system will search the PCI bus to find the assets installed during power-on
initialization. The VendorId = 0x10EE and the CardId = 0x2C for the PMC-Parallel-TTL.

Embedded Solutions Page 12
Programming
Programming the PMC-PARALLEL-TTL requires only the ability to read and write data
in the host's PMC space.
Once the initialization process has occurred, and the system has assigned addresses to
the PMC-Parallel-TTL card the software will need to determine what the address space
is for the PCI interface [BAR0]. The offsets in the address table are relative to the
system assigned BAR0 base address.
The next step is to initialize the PMC-Parallel-TTL. If the basic mode of direct read and
write operations is to be used then the default settings can be used except for setting
the master output enable and the direction bits corresponding to the channels to
transmit on.
If COS inputs are to be used the reference and divisor clocks may require programming.
In many cases the default settings will work. In addition the Rising, Falling, and
Interrupt capabilities need to be programmed. Once the settings are in place it is
recommended that the receive state registers are written to for clearing purposes as the
programming steps may cause phantom events to be captured.
For Windows™ systems the Dynamic Driver can be used. The driver will take care of
finding the hardware and provide an easy to use mechanism to program the hardware.
If you are interested in Linux, VxWorks and other OS please contact Dynamic
Engineering.

Embedded Solutions Page 13
Register Definitions
pmcparttl_BASE
[$00 parallel-io Control Register Port read/write]
DATA BIT DESCRIPTION
31-20 spare
19 pll_dat
18 pll_s2
17 pll_sclk
16 pll_en
15-5 spare
4 Master Parallel Data Enable
3 spare
2 spare
1 Force Interrupt
0 Master Interrupt Enable
Figure 4 PMC-PARALLEL-TTL Control port 0 Bit Map
This is the base control register for the PMC Parallel TTL. The features common to all
channels are controlled from this port. Unused bits are reserved for additional new
features. Unused bits should be programmed ‘0’ to allow for future commonality.
Master Interrupt Enable when ‘1’ gates active interrupt requesting conditions onto
Interrupt Request A. When set to ‘0’ the interrupting functions are available as status
but no interrupt request is generated by the card to allow for polled operation.
Force Interrupt when ‘1’ and the master is enabled will cause an interrupt request. The
interrupt can be cleared by clearing this bit or disabling the master interrupt enable or
both. Force Interrupt is used for test and software development purposes.
Master Parallel Data Enable is used to allow the upper and lower data to be
synchronized. The upper 32 bits and the lower 32 bits are not accessed at the same
time. If the user wants to have the upper and lower data change at the same time the
Master enable can be cleared to ‘0’, both halves of the data written and then the enable
set ‘1’. If synchronization is not an issue program to ‘1’ as part of initialization.
The PLL functions are not currently installed on the base model. The bits are reserved
for future applications that may require the PLL.

Embedded Solutions Page 14
pmcparttl_ID
[$04 Switch and Design number port read only]
DATA BIT DESCRIPTION
31-24 spare
23-8 Design ID and Revision
7-0 DIP switch
Figure 5 PMC-PARALLEL-TTL ID and Switch Bit Map
The DIP Switch is labeled for bit number and ‘1’ ‘0’ in the silk screen. The DIP Switch
can be read from this port and used to determine which PMC Parallel TTL is which in a
system with multiple cards installed. The DIPswitch can also be used for other
purposes – software revision etc.
The Design ID and Revision are a 16 bit field allowing for 256 designs and 256 revisions
of each. The base design is 0x01 the current revision is 0x01. As new features are
added to the base design the revision will be updated to allow software to “know” which
features are present. When customer specific versions are done the design number will
be changed.

Embedded Solutions Page 15
pmcparttl_STATUS
[$08 Board level Status Port read only]
DATA BIT DESCRIPTION
31 Interrupt Status
30-6 spare
5 INTR Falling
4 INTR Rising
3 PLL_SDAT
2-1 spare
0 local interrupt
Figure 6 PMC-PARALLEL-TTL Status Port Bit Map
Local Interrupt for the base design this bit is the same as the Intforce bit – unmasked.
PLL SDAT - The PLL serial data read-back is through this bit. Reserved for future use.
INTR Rising - This is the logical OR of the COS outputs for the Rising Edge condition.
The RISING register will select which bits are enabled. If any of the enabled bits are
active this bit is set. The status is captured before the master interrupt enable. If the
master interrupt enable is set an interrupt will be generated if this condition is true.
INTR Falling - This is the logical OR of the COS outputs for the Falling Edge condition.
The Falling register will select which bits can be active [enabled]. If any of the enabled
bits capture a falling edge this bit will be set. The status is captured before the master
interrupt enable. If the master interrupt enable is set an interrupt will be generated if this
condition is true.
Interrupt Status – in the base design the Interrupt status is the masked version of Force
Interrupt. If Master Interrupt Enable is set and Force interrupt is set then this bit is true
and an interrupt is requested.

Embedded Solutions Page 16
pmcparttl_DirL
[$0C Direction Register bits 31-0 read – write ]
DATA BIT DESCRIPTION
31-0 DIR31-0
Figure 7 PMC-PARALLEL-TTL Direction Lower Bit Map
The lower 32 bits of the parallel port direction are controlled with this port. When reset
this port is cleared 0x00000000. All IO are set to read [inputs]. To use one or more of
the IO for outputs; program the corresponding direction bit(s) to ‘1’.
pmcparttl_DirU
[$10 Direction Register bits 63-32 read – write ]
DATA BIT DESCRIPTION
31-0 DIR63-32
Figure 8 PMC-PARALLEL-TTL Direction Upper Bit Map
The upper 32 bits of the parallel port direction are controlled with this port. When reset
this port is cleared 0x00000000. All IO are set to read [inputs]. To use one or more of
the IO for outputs; program the corresponding direction bit(s) to ‘1’.
Once a Direction bit is set to output the data in the corresponding output holding register
bit is broadcast on that IO line. The data in the holding register will match the data in
the data output register if the master parallel enable bit is set. If initial states are
important you may want to program the initial data and enable it before enabling the
direction bits.

Embedded Solutions Page 17
pmcparttl_DatL
[$14 Data IO Port read/write]
DATA BIT DESCRIPTION
31-0 Data IO 31-0
Figure 9 PMC-PARALLEL-TTL Data IO Lower Bit Map
pmcparttl_DatU
[$18 Data IO Port read/write]
DATA BIT DESCRIPTION
31-0 Data IO 63-32
Figure 10 PMC-PARALLEL-TTL Data IO Upper Bit Map
This port is really a combined Data Output port and a Data Input port. The data to be
transmitted is written to the Data Output Port side of the Data Register. The data to be
read from the IO are read from Data Input side of the Data register. Read back from the
Data Output port is done though the separate “datareg” port.
The data read from the data register is a direct read of the state of the IO lines. The bits
are not modified for level or transition etc. Some bits may be defined as outputs. The
input will match the output definition in this case. Local loop-back can be performed for
the bits where outputs are defined. The inputs will match the state of the system when
external devices can drive the input lines. The input bits can be masked out of the data
word to reduce the data to external inputs.
The output bits are driven onto the outputs for the bits which are enabled with the
direction control register and when the master parallel enable is set. For bits without the
direction register bit set there are no side effects. The direction register will act as a
mask for the data register.

Embedded Solutions Page 18
pmcparttl_DatLreg
[$1C Data Reg Port read only]
DATA BIT DESCRIPTION
31-0 Data IO 31-0
Figure 11 PMC-PARALLEL-TTL Data Reg Lower Bit Map
pmcparttl_DatUreg
[$20 Data Reg Port read only]
DATA BIT DESCRIPTION
31-0 Data IO 63-32
Figure 12 PMC-PARALLEL-TTL Data Reg Upper Bit Map
Data written to the Data IO registers can be read back through this port. The register is
read back instead of the IO side when accessing this port. The data will match the state
of the data output bits written to the output side of the Data IO register.

Embedded Solutions Page 19
pmcparttl_COSclk
[$24 COS clock definition port read -write]
DATA BIT DESCRIPTION
15 Data Out 0 Enable
14-13 CLOCK PRE-SELECTOR
12 CLOCK POST-SELECTOR
11-0 DIVISOR
Figure 13 PMC-PARALLEL-TTL COS Clk Control Bit Map
Data Out 0 Enable when set and the corresponding Direction bit is set will drive the
COS clock out on Data bit 0. An oscilloscope can be used to verify the frequency
setting that is programmed with the COSclk register.
CLOCK PRE-SELECTOR
00 PCI Clock
01 Oscillator
10 External Clock
11 PCI Clock
The clock pre-selector is used to select which reference clock to use with the divisor
hardware (clock source). The base design oscillator rate is 50 MHz. The external
clock can be any TTL level source driven onto the External Clock input line. The clock
should be free running to be used for this purpose.
POST-SELECTOR when '1' sets the output clock to the divided clock, when '0' sets the
output clock to the pre-selector reference value (clock source).
DIVISOR[11-0] are the clock divisor select bits. The clock source is divided by a 12-bit
counter. The output frequency is {reference / [2(n+1)]}, n>1. The counter divides by
N+1 due to counting from 0 to n before rolling over. The output is then divided by 2 to
produce a square wave output.
The desired frequency of 1 MHz. Is achieved by selecting Osc reference, divided clock
and a factor of 50 with the standard 50 MHz oscillator. 2(N+1) = 50 => N = 24. 0x3018
would be the correct value to write to the COSclk.

Embedded Solutions Page 20
pmcparttl_RisLreg
$2C Rising Lower Control Register Port read/write
DATA BIT DESCRIPTION
31-0 Rising 31-0
Figure 14 PMC-PARALLEL-TTL Rising Lower Bit Map
pmcparttl_RisUreg
$30 Rising Upper Control Register Port read/write
DATA BIT DESCRIPTION
31-0 Rising 63-32
Figure 15 PMC-PARALLEL-TTL Rising Upper Bit Map
The Rising control register bits correspond to the input data bits. All IO can be set-up for
COS activity even if defined as an output. In most cases the output bits will be set to ‘0’
for the Rising register. When set ‘1’ and the corresponding input bit transitions from low
to high the COS register of rising activity will be have the corresponding bit set. If the
separate interrupt enable bit is also set then an interrupt can be generated. The Rising
register is a control register. The COS data is read back separately.
Table of contents
Other Dynamic Engineering Recording Equipment manuals