J27,J28 – Com CPLD User I/O............................................................................. 12
DIN Connector Pinout............................................................................................... 13
DIN PL1 ................................................................................................................ 13
DIN PL2 ................................................................................................................ 14
Preliminary Page 4 of 15 SMT128 User Manual
Introduction
The SMT128 is a 3 site TIM carrier card with additional customised features, acting
as a supports environment for a DSP TIM and two other peripheral TIM’s. The
various ‘on-board’ peripherals available on the motherboard are listed below.
• TIM Site 1: Standard Single width TIM site capable of accepting any TIM
compatible card. For the most embedded projects this can be a DSP processing
card. It has full COMM-PORT and Global Expansion Bus interconnectivity. The
site is also capable of accepting C6x based DSP although only four com-ports are
available. These com-ports are routed to the PL2 DIN connector for inter-module
communication via com-ports (0,1,3,4) via a buffer CPLD.
• TIM Site 2: Standard Single Width TIM site with additional 26 way and 24 way
IDC sockets, see mechanical/electrical information. This is designed to accept
the SMT397 12 channel differential ADC/DAC TIM although other peripheral
TIM’s can be used.
• TIM Site 3: Standard Single Width TIM site with two additional 24 way IDC
sockets, see mechanical/electrical information. This is designed to accept the
SMT392 4 channel RS422 Transceiver/Digital IO TIM although other peripheral
TIM’s can be used..
• Motherboard Resources/Peripherals
• Power Supplies 3.3V, 5V +-15v all generated.
• Control FPGA
• Digital Inputs/Outputs
• Power Monitor & Watchdog
• 8K bytes of EEprom that can be used to store application parameters.
• JTAG Port
• 4Mbit FLASH ram for application Software
• Quad UART with links to the DIN connectors and also one to an RS232
connector.
The Motherboard has 2 DIN4162 connectors placed at the back of the board which
conform with the VME mechanical specifications. The Pin-out out the connectors is
given later in this specification. Four of the DSP com-ports are available on the back
panel connectors to allow multiple boards to communicate with each other. Each
com-port has a control circuitry to allow motherboard in a system to be ‘hot
swappable’.
Preliminary Page 5 of 15 SMT128 User Manual
Functional Block Diagram
Digital signal
connections to
PL1 & PL2
Global Resource Bus
Front Panel JTAG
DSP TIM Site
DSP Comm-Port PAU
0 1 3 4
RS422 TIM
Site
DSP & PSU
Watchdog
24 TTL I/O’s
Controller FPGA
Spartan XC2S100 FG256
Analogue
TIM Site
Analogue
connections
to PL1
Eprom
14 TTL I/O’s
4Mbyte
FLASH
RAM
Power
Supplys
Digital signal
connections to
PL2
Digital signal
connections to
PL1
PL2 DIN41612
Back-Panel
Connector
Front Panel Maintenance Port (RS232)
Quad
UART
Key Switch
Virtex to PL1
connections
PL1 DIN41612
Back-Panel
Connector
Preliminary Page 6 of 15 SMT128 User Manual
Memory Map
There are four basic motherboard resources, Virtex internal registers, FLASH RAM,
EEPROM and UART. Each of these resources is explained in the following sections.
Register Global Address Description
WDOG RST 0xB0000000 Writing to this register resets the watchdog
timer.
WDOG ENABLE 0xB0000001 Enables/Disables WDOG timer
DIGIN Register 0xB0000002 Read only, D0..D21 is state of digital I/P’s
DIGOUT Register 0xB0000003 Drives the digital O/P signals
VSTATUS 0xB0000004 Virtex Status Register
VCNTRL 0xB0000005 Virtex Control Register
WDOG RST
When the Watchdog timer is enabled (See WDOG ENABLE). This register must be
written to with a period of less than 1.6 seconds. If the register is not written to within
this period a global reset is initiated and the FAULT LED is activated. The fault LED
goes out next time the WDOG RST register is written to.
WDOG ENABLE
When writing to this register the level of the data line D0 selects either an internal
oscillator or a WDOG RST signal for the watchdog timer.
D0 -> logic 0 = Watchdog is reset using an internal oscillator.
Preliminary Page 7 of 15 SMT128 User Manual
D0 -> logic 1 = Watchdog is reset using a write to the WDOG RST register.
At reset the value of this signal is ‘0’ i.e. internal oscillator is selected.
DIGIN Register
There are 22 digital input lines connected to the DIN connector PL1.
This is a Read-only register and when read returns the current value on DigIn signals
There are 8 digital output lines, which are connected to the DIN connector PL1.
Each output can be set to the desired logic level by writing to this register using the
Global Bus data bits illustrated below.
When Reading this register the following values are read.
D7 D6 D5 D4 D3 D2 D1 D0
X X X S0INT1 S0INT0 TERMINAL Addr1 Addr0
Addr0, Addr1 -> Board address, reflects the state of the Addr0 and Addr1 signals
on the PL1 connector.
TERMINAL -> When a VT100 terminal, or compatible, is connected to the front
panel this bit is logic ‘1’.
Preliminary Page 8 of 15 SMT128 User Manual
S0INT0 -> A logic ‘1’ when and interrupt occurs on the ModBus.
S0INT1 -> A logic ‘1’ when and interrupt occurs on the RS232 Port.
These interrupt signals must be cleared via the UART Registers.
VCNTRL Register
D7 D6 D5 D4 D3 D2 D1 D0
X X X X X MODINTEN RST
UART
RST
FLASH
RST UART/RST FLASH: When these bits are high the motherboard UART or FLASH
is reset.
RST UART: When logic ‘1’ the UART is in a reset state.
RST FLASH: When logic ‘0’ the FLASH is in a reset state
MODINTEN: When high MODBUS interrupt is enabled on IIOF1 of DSP.
Preliminary Page 9 of 15 SMT128 User Manual
FLASH Memory
The SMT128 has 4Mbit of boot block flash memory. This allows larger application
programs to be stored and loaded and run by the DSP.
The motherboard resource is located at the following address locations:
0xA0000000 -> 0xA003FFFF
The FLASH device is a Hyundai HY29F400BT-70. This requires 4 wait states to be
set up for the global bus transfer from the DSP. The operation of the FLASH is
described in the manufacturers data sheet.
EEPROM
An 8k byte of EEPROM allows program parameters to be stored in a non-volatile
media. Data stored is just the lower 8 bits (D0.D7) of the global data lines.
The memory range for the EEPROM is
0xA8000000 -> 0xA80000FF
The EEPROM device is a ATMEL AT28C64E-12SC. This requires 6 wait states to
be set up for the global bus transfer from the DSP. The operation of the device is
described in the manufacturers data sheet.
UART
The Motherboard UART is a Oxford devices OX16C954 quad device it uses a
40MHz crystal to generate a programmable baud rates. One of the outputs is
connected to the front panel via an RS232 driver to allow VT100 terminal
communications with the motherboard. A differential receive and transmit signals are
connected to the back panel DIN41612 connector, via an ADM1485, at RS422 levels
to allow a remote modbus protocol link. The fourth output of the Quad UART is
unused. For details on setting up the UART please refer to the Oxford devices data
sheet
Preliminary Page 10 of 15 SMT128 User Manual
Com Port Control
Four of the C6x com-ports connect to the DIN connector via a control CPLD. The
CPLD acts as a buffer for the Data com-port data lines. This allows multiple SMT128
to communicate in a system via the DSP’s com-ports. To allow the state of the comport to be reset, to their default states after a power-up condition, four registers
resources are provided. The table below shows the registers and their Global
address values.
Token Reset Control Registers
Com-Port Address Operations
Com 0 0xF0000000 Write 0x1 to reset the token for the com-
Com 1 0xF0000001 Write 0x1 to reset the token for the com-
Com 3 0xF0000002 Write 0x1 to reset the token for the com-
Com 4 0xF0000003 Write 0x1 to reset the token for the com-
port then write a ‘0’
port then write a ‘0’
port then write a ‘0’
port then write a ‘0’
Token Reset Software Functions and Method
On power-up the SMT128 com-port directions will be set to either Input or Output
depending on their com-port number. The CPLD buffers on the SMT128 will also be
reset to their correct state. When connecting multiple SMT128’s together in a system
there are situation when com-ports may become unsynchronised. To re-synchronise
the system it is necessary to do the following.
• Reset the com-port in the DSP.
• Reset the Com-port buffer on the SMT128.
To reset the DSP’s com-port register a write to the DSP’s com-port control register is
required (see SMT335 User Guide of details).
The Com-Port buffer on the SMT128 can be reset by writing a ‘1’ followed by a ‘0’ to
the corresponding com-port token Reset Control Register in the table above.
Preliminary Page 11 of 15 SMT128 User Manual
r
)
r
Jumper Settings
The diagram below shows the SMT128 with jumper positions labelled.
J30 : FLASH
Write Protect
J19:Pin 1 For XChecker Header
J21,J24: Virtex
Boot Mode
J29,J31: FLASH
Protect for othe
Makes (unused
J27,J28: Use
IO to CPLD
J25: Pin 1 for
JTAG Header
Preliminary Page 12 of 15 SMT128 User Manual
J21, J24 – Virtex boot mode
With J21 in and J24 out, the SMT128 will boot from a serial prom. When booting
from X-checker header remove J21. J24 with reset the serial prom when in and may
be fitted when booting from x-checker if the serial prom is still fitted in the IC socket.
J30 – Flash Write Protect
This jumper must be fitted to permit write cycles to be accepted by the SMT128
FLASH memory.
J27, J28 – Com CPLD User I/O
These are connected to the SMT128 com-port CPLD for future expansion.
Preliminary Page 13 of 15 SMT128 User Manual
DIN Connector Pinout
The following tables define the DIN 41612 pin allocation :
DIN PL1
a Description b Description c Description
1 ChX/Analogue Input 1+ 1 ChX/Analogue Out 1+ 1 ChX/Analogue Input 12 ChX/Analogue Input 2+ 2 ChX/Analogue Out 1- 2 ChX/Analogue Input 23 ChX/Analogue Input 3+ 3 ChX/Analogue Out 2+ 3 ChX/Analogue Input 34 ChX/Analogue Input 4+ 4 ChX/Analogue Out 2- 4 ChX/Analogue Input 45 ChX/Analogue Input 5+ 5 ChX/Analogue Out 3+ 5 ChX/Analogue Input 56 ChX/Analogue Input 1+ 6 ChX/Analogue Out 3- 6 ChX/Analogue Input 17 ChX/Analogue Input 1+ 7 ChX/Analogue Out 4+ 7 ChX/Analogue Input 18 ChX/Analogue Input 8+ 8 ChX/Analogue Out 4- 8 ChX/Analogue Input 8-