Profichip VPC3+S User manual

VPC3+S
Evaluation Kit
Revision 1.00

Liability Exclusion
We have tested the contents of this document regarding
agreement with the hardware and software described.
Nevertheless, there may be deviations and we do not
guarantee complete agreement. The data in the
document is tested periodically, however. Required
corrections are included in subsequent versions.
We gratefully accept suggestions for improvements.
Copyright
Copyright © profichip GmbH 2009.
All Rights Reserved.
Unless permission has been expressly granted, passing
on this document or copying it, or using and sharing its
content are not allowed. Offenders will be held liable. All
rights reserved, in the event a patent is granted or a
utility model or design is registered.
This document is subject to technical changes without
prior notice.
2 Revision 1.00
VPC3+S Evaluation Kit
Copyright © profichip GmbH 2009

Table of Contents
1Introduction .................................................................5
1.1 Overview ......................................................................................5
1.2 Document Conventions ................................................................7
1.3 Handling the Boards.....................................................................7
2Controller Board (AT89C5132)...................................9
2.1 Overview ......................................................................................9
2.2 Board Diagrams .........................................................................10
2.3 AT89C5132 ................................................................................12
2.4 In System Programming ( S2 ) ...................................................12
2.5 Address Mapping .......................................................................12
2.6 Internal/External Clock (Jumper X6) ..........................................13
2.7 Display Elements........................................................................13
2.8 I/O Area ......................................................................................13
2.9 Reset Button ( S4 ).....................................................................13
2.10 RS232 Interface ( X13 )..............................................................14
2.11 LCD ............................................................................................14
2.12 RTC ............................................................................................14
2.13 MMC...........................................................................................14
2.14 Connectors.................................................................................15
2.14.1 User Board Connector ( X4 ) ..........................................15
2.14.2 Main Connector ( X5 )..................................................... 16
2.14.3 Extension Connector ( X15 )........................................... 17
2.15 I2C Testpins ( X3 ) .....................................................................18
2.16 SPI Testpins ( X16 ) ...................................................................18
2.17 Power Supply ( X14 ) .................................................................18
2.18 Technical Data ...........................................................................19
3VPC3+ PROFIBUS Board..........................................21
3.1 Overview ....................................................................................21
3.2 Board Diagrams .........................................................................22
3.3 Connectors.................................................................................24
3.3.1 Main Connector ( X9 )..................................................... 24
3.3.2 Extension Connector ( X14 )........................................... 25
3.3.3 PROFIBUS Testpins ( X7 ) .............................................26
3.3.4 IsoM Testpins ( X10 )...................................................... 26
3.3.5 SPI Connector ( X17 )..................................................... 26
3.3.6 I2C Connector ( X18 )..................................................... 26
3.4 DIP-Switches..............................................................................27
3.4.1 ASIC Interface Configuration ( S1 ) ................................27
3.4.2 SPI Mode Configuration ( S1 )........................................ 28
3.4.3 VPC3+ Clock Divider Configuration ( S1 )...................... 28
3.4.4 I2C Slave Address Configuration ( S2 ).......................... 29
3.5 Jumpers......................................................................................30
3.5.1 PROFIBUS Interface Selection ( X6 )............................. 30
3.5.2 CLK_OUT Selection ( X8 ).............................................. 30
VPC3+S Evaluation Kit Revision 1.00 3
Copyright © profichip GmbH 2009

Table of Contents
4 Revision 1.00
VPC3+S Evaluation Kit
Copyright © profichip GmbH 2009
3.6 Display Elements........................................................................31
3.7 PROFIBUS Interfaces ................................................................31
3.7.1 RS485 Interface..............................................................31
3.7.2 Fiber Optic Interface .......................................................32
3.8 Technical Data ...........................................................................34
4Schematics ................................................................35
4.1 AT89C5132 Controller Board .....................................................35
4.2 VPC3+ PROFIBUS Board..........................................................40
5ISP (InSystem Proramming).....................................47
5.1 Atmel FLIP 2.4.4.........................................................................47
5.2 How to use FLIP.........................................................................48
Bibliography....................................................................50
Revision History .............................................................51

Introduction 1
1 Introduction
1.1 Overview
Profichip's VPC3+S Evaluation Kit contains all the necessary hardware and
software to easily connect to PROFIBUS-DP.
It consists of:
Controller board with Atmel 89C5132 microcontroller
8-bit MCU C51 Core-based (FMAX = 20 MHz)
2304 Bytes of Internal RAM
64K Bytes of Code Memory (Flash)
USB Rev 1.1 Device Controller
32kByte external RAM
RS232 interface
LCD-display
Real Time Clock
wide range of power supply (DC 7-24V)
all relevant signals are applied to multi-pin connectors
DIP-switches and LEDs
VPC3+ PROFIBUS board
PROFIBUS link via RS485
PROFIBUS link via fiber optic interface
VPC3+ configurations are done with DIP-switches and jumpers
all relevant signals are applied to multi-pin connectors
PROFIBUS software driver
DPV0 software driver
DPV1 software driver
PROFIBUS demo program
DPV1AFFE: demo program for DPV1
DPV0AFFE: demo program for DPV0
Documentation
VPC3+S Evaluation Kit Revision 1.00 5
Copyright © profichip GmbH 2009

1 Introduction
Figure 1-1: Evaluation-Kit Hardware
6 Revision 1.00
VPC3+S Evaluation Kit
Copyright © profichip GmbH 2009

Introduction 1
1.2 Document Conventions
In this User Description signal names appear in italic.
Low active signals are denoted by a "#" after the signal name (i.e.: RD#).
A '0' indicates a logic-zero or low-level signal, while a '1' represents a logic-
one or high-level signal.
Jumpers and connectors are marked with an ‘X’ followed by a number
which is unique for each board. A certain pin of such an element is denoted
by the number of the element and the pin numer separated by a dot (e.g.
X9.27 means “connector X9, pin 27”).
Keys and switches are marked with an ‘S’ followed by a number which is
unique for each board. A certain pin of such an element is denoted by the
number of the element and the pin numer separated by a dot (e.g. S2.2
means “switch S2, pin 2”).
1.3 Handling the Boards
Handle the VPC3+ evaluation boards with care in respect to ESD require-
ments. Take precautions to use the boards only at an ESD-safe work-
place.
VPC3+S Evaluation Kit Revision 1.00 7
Copyright © profichip GmbH 2009

1 Introduction
8 Revision 1.00
VPC3+S Evaluation Kit
Copyright © profichip GmbH 2009
Notes:

Controller Board (AT89C5132) 2
2 Controller Board (AT89C5132)
2.1 Overview
The AT89C5132 controller board consist of:
Atmel 89C5132 microcontroller (USB C51-based Microcontroller with
64K Bytes Flash, 2304 bytes RAM, 4 USB Endpoints, SPI, UART, IDE,
TWI, MultiMediaCard, DataFlash, I2S, 10-bit ADC)
32kByte external RAM
RS232 interface
LCD-display
Real Time Clock
wide range of power supply (DC 7-24V)
all relevant signals are applied to multi-pin connectors
DIP-switches and LEDs
VPC3+S Evaluation Kit Revision 1.00 9
Copyright © profichip GmbH 2009

2 Controller Board (AT89C5132)
2.2 Board Diagrams
Figure 2-1: Controller Board (AT89C5132)
10 Revision 1.00
VPC3+S Evaluation Kit
Copyright © profichip GmbH 2009

Controller Board (AT89C5132) 2
Figure 2-2: AT89C5132 Board Assembly Diagram
VPC3+S Evaluation Kit Revision 1.00 11
Copyright © profichip GmbH 2009

2 Controller Board (AT89C5132)
2.3 AT89C5132
USB C51-based Microcontroller with 64K Bytes Flash, 2304 bytes RAM, 4
USB Endpoints, SPI, UART, IDE, TWI, MultiMediaCard, DataFlash, I2S,
10-bit ADC. The functionality of AT89C5132 is described more detailed in
the ATMEL User Manual [1].
2.4 In System Programming ( S2 )
The ISP area contains a switch that allows the user to select the
AT89C5132 hardware condition and thus execute the embedded
bootloader or to run the client application.
ISP Position Execute
Client Application
ISP Bootloader
Figure 2-3: Switch S2, ISP
2.5 Address Mapping
Figure 2-4 shows the address mapping of the AT89C5132 controller board.
Address Description
0000 – 7FFFH External RAM
8000 – 8FFFH VPC3+
9000 – 9FFFH Reserved
A000 – AFFFH Reserved (FPGA on VPC3+ Board)
B000 – BFFFH RTC
C000 – CFFFH LCD
D000 – DFFFH I/O Port 0
E000 – EFFFH I/O Port 1
F000 – FFFFH I/O Port 2
Figure 2-4: Address Map
12 Revision 1.00
VPC3+S Evaluation Kit
Copyright © profichip GmbH 2009

Controller Board (AT89C5132) 2
2.6 Internal/External Clock (Jumper X6)
The clock supply of the microcontroller can be selectec by setting the
jumper X6. There are two possibilities for the controller's clock supply: The
controller can either get its clock from the 20 MHz crystal oscillator on the
AT89C5132 board (Internal Clock) or from the CLKOUT2/4 pin of the
VPC3+ on the Extension board (External Clock):
Default
External Clock
Internal Clock (DEFAULT)
Figure 2-5: Settings of Jumper X6
2.7 Display Elements
The Controller Board has three LEDs: The green LED D10 indicates correct
power supply. The red LED D9 and the yellow LED D8 are connected to
the ports P1.4 and P1.5 of the controller.
2.8 I/O Area
The I/O area consist of 3 DIP switches (Port0, Port1, Port2) and 3 LED
lines.
The data bus lines to the DIP switches are connected via pulldown resistors
to GND. If a DIP switch is OFF, the corresponding input port of the
controller is connected via pulldown resistor to GND and the controller
therefore reads a logical '0' from this DIP-switch. If the DIP-switch is ON,
the controller's input is connected to VCC via the DIP-switch and the
controller therefore reads a logical '1' on this port.
2.9 Reset Button ( S4 )
The entire application can be reseted by pressing the Reset Button S4.The
microcontroller goes into a defined state and starts up the application
program.
VPC3+S Evaluation Kit Revision 1.00 13
Copyright © profichip GmbH 2009

2 Controller Board (AT89C5132)
2.10 RS232 Interface ( X13 )
Pin Assignment
1
2
3
4
5
6
7
8
9
1
2
3
4
5
6
7
8
9
n.c.
TxD
RxD
n.c.
GND
n.c.
RTS
CTS
n.c.
Figure 2-6: Assignment of the RS232 Socket
2.11 LCD
The display area consist of a 2-line 20 characters LCD-display. The
contrast is adjustable using R3 variable resistor. The LCD is described
more detailed in the data sheet [2].
2.12 RTC
The V3022 is a low power CMOS real time clock with a built-in crystal. The
interface is 8 bits with multiplexed address and data bus. Multiplexing of
address and data is handled by the input line /D. The RTC is described
more detailed in the RTC user manual [3].
2.13 MMC
Multi Media Card is not supported.
14 Revision 1.00
VPC3+S Evaluation Kit
Copyright © profichip GmbH 2009

Controller Board (AT89C5132) 2
2.14 Connectors
2.14.1 User Board Connector ( X4 )
Pin Signal name In/Out Description
1 GND Out GND
30 GND Out GND
32 GND Out GND
34 GND Out GND
2 VCC Out +5V
33 VCC Out +5V
29 VCC_3.3V Out +3.3V
31 VCC_3.3V Out +3.3V
3 AD0 In/Out Address / Data line 0
5 AD1 In/Out Address / Data line 1
7 AD2 In/Out Address / Data line 2
9 AD3 In/Out Address / Data line 3
11 AD4 In/Out Address / Data line 4
13 AD5 In/Out Address / Data line 5
15 AD6 In/Out Address / Data line 6
17 AD7 In/Out Address / Data line 7
4 A8 Out Address line 8
6 A9 Out Address line 9
8 A10 Out Address line 10
10 A11 Out Address line 11
12 A12 Out Address line 12
14 A13 Out Address line 13
16 A14 Out Address line 14
18 A15 Out Address line 15
19 RD# Out Read
21 WR# Out Write
23 ALE Out Address Latch Enable
26 RES# Out Power-On Reset
27 EXT_CLK In External clock
28 CS_EXT0# Out Chip select
20 Not connected
22 Not connected
24 Not connected
25 Not connected
Figure 2-7: Assignment of Connector X4
VPC3+S Evaluation Kit Revision 1.00 15
Copyright © profichip GmbH 2009

2 Controller Board (AT89C5132)
2.14.2 Main Connector ( X5 )
Pin Signal name In/Out Description
1 GND Out GND
2 VCC Out +5V
3 AD0 In/Out Address / Data line 0
4 A8 Out Address line 8
5 AD1 In/Out Address / Data line 1
6 A9 Out Address line 9
7 AD2 In/Out Address / Data line 2
8 A10 Out Address line 10
9 AD3 In/Out Address / Data line 3
10 CS_MPI# Out Chip select for the VPC3+
11 AD4 In/Out Address / Data line 4
12 GND Out GND
13 AD5 In/Out Address / Data line 5
14 GND Out GND
15 AD6 In/Out Address / Data line 6
16 GND Out GND
17 AD7 In/Out Address / Data line 7
18 GND Out GND
19 RD# Out Read
20 GND Out GND
21 WR# Out Write
22 GND Out GND
23 ALE Out Address Latch Enable
24 INT_CI# In Interrupt input
25 INT_EV# In Interrupt input
26 RES_MPI12x Out Reset for VPC3+
27 EXT_CLK In VPC3+ clock output, 12 MHz or 24 MHz
28 CS_EXT0# Out Chip select for DIP-switches and LEDs
29 A11 Out Address line 11
30 Not connected
31 DIR_AB# Out Direction reverser for the fiber optic interface
32 EN_LWL_B Out Enable signal for fibre optic interface B
33 VCC Out +5V
34 GND Out GND
Figure 2-8: Assignment of Connector X5
16 Revision 1.00
VPC3+S Evaluation Kit
Copyright © profichip GmbH 2009

Controller Board (AT89C5132) 2
2.14.3 Extension Connector ( X15 )
Pin Signal name In/Out Description
1 VCC_3.3V Out +3.3V
2 GND Out GND
3 GND Out GND
4 SPI_SO In SPI Master-In-Slave-Out Data (MISO)
5 I2C_CLK Out I2C Clock
6 SPI_SDK Out SPI Clock
7 I2C_DATA In/Out I2C Data
8 SPI_SI Out SPI Master-Out-Slave-In Data (MOSI)
9 Not connected
10 SPI_CS2# Out SPI Slave Select
11 Not connected
12 Not connected
13 GND Out GND
14 24V_OUT Out +24V
15 A10 Out Address line 10
16 A11 Out Address line 11
17 A12 Out Address line 12
18 A13 Out Address line 13
19 A14 Out Address line 14
20 A15 Out Address line 15
21 CS_FPGA# Out Chip select FPGA
22 HLDTOK# In Hold Token / Data Echange
23 FPGA_PROG# Out FPGA Program
24 INT_FPGA In Interrupt FPGA
25 FPGA_CCLK Out FPGA Configuration Clock
26 FPGA_INIT# In FPGA Initialization Indicator
27 FPGA_DIN Out FPGA Configuration Data Input
28 FPGA_DONE In FPGA Configuration Done
29 VCC_3.3V Out +3.3V
30 GND Out GND
31 Not connected
32 RES# Out Power-On Reset
33 VCC_3.3V Out +3.3V
34 GND Out GND
Figure 2-9: Assignment of Connector X15
VPC3+S Evaluation Kit Revision 1.00 17
Copyright © profichip GmbH 2009

2 Controller Board (AT89C5132)
2.15 I2C Testpins ( X3 )
Pin Signal name In/Out Description
1 VCC_3.3V Out +3.3V
2 GND Out GND
3 I2C_CLK Out I2C Clock
4 I2C_DATA In/Out I2C Data
Figure 2-10: Assignment of Connector X3
2.16 SPI Testpins ( X16 )
Pin Signal name In/Out Description
1 SPI_SI In SPI Serial Data Input (MISO)
2 SPI_SDK Out SPI Clock
3 SPI_SO Out SPI Serial Data Out (MOSI)
4 SPI_CS2# Out SPI Slave Select
Figure 2-11: Assignment of Connector X16
2.17 Power Supply ( X14 )
7V-24V DC,
from external power supply
(not included in this Eva-Kit)
Figure 2-12: Power Supply X14
18 Revision 1.00
VPC3+S Evaluation Kit
Copyright © profichip GmbH 2009

Controller Board (AT89C5132) 2
2.18 Technical Data
Electrical data AT89C5132 Controller Board
Power supply 7V – 24V DC, from external power supply
(not included in the Evaluation Kit)
Power consumption TBD
Operating temperature 0°C to +70°C
Dimensions and Weight
Dimensions (LxWxH) 135mm x 180mm x 16mm
Weight TBD
Figure 2-13: Technical data
VPC3+S Evaluation Kit Revision 1.00 19
Copyright © profichip GmbH 2009

2 Controller Board (AT89C5132)
20 Revision 1.00
VPC3+S Evaluation Kit
Copyright © profichip GmbH 2009
Notes:
Other manuals for VPC3+S
1
Table of contents
Other Profichip Motherboard manuals
Popular Motherboard manuals by other brands

Taiwan Commate Computer Inc.
Taiwan Commate Computer Inc. P4BGA Quick installation guide

Freescale Semiconductor
Freescale Semiconductor KIT33932VWEVBE user guide

PULSE+
PULSE+ rada product manual

Ublox
Ublox XPLR-HPG-2 user guide

ARTESYN EMBEDDED TECHNOLOGIES
ARTESYN EMBEDDED TECHNOLOGIES ATCA-7350 quick start guide

Z-World
Z-World RCM3700 Getting started