MB89210 Evaluation Board

advertisement
MB89210 Evaluation Board
User’s Guide
Rev 3
Fujitsu Microelectronics America, Inc
Vers. 1.3
Fujitsu Microelectronics America, Inc
1
Revision History
Revision #
Date
1.0
2.0
3.0
10/27/2004
05/01/2005
06/28/2005
Comments
New Revision
OTP Programming Details added
Page 9-Table-2 Typo Corrected
Fujitsu Microelectronics America, Inc
2
Warranty and Disclaimer
To the maximum extent permitted by applicable law, Fujitsu Microelectronics America Inc Sunnyvale
restricts its warranties and its liability for the Product [MB89210 Evaluation board Hardware and Software
Tools], its performance and any consequential damages, on the use of the Product in accordance with (i)
the terms of the License Agreement and the Sale and Purchase Agreement under which agreements the
Product has been delivered, (ii) the technical descriptions and (iii) all accompanying written materials.
This product has been created to work in laboratory environment only. In addition, to the maximum extent
permitted by applicable law, Fujitsu Microelectronics America Inc, Sunnyvale disclaims all warranties and
liabilities for the performance of the Product and any consequential damages in cases of unauthorized
recompiling and/or reverse engineering and/or disassembling.
1. Fujitsu Microelectronics America Inc Sunnyvale warrants that the Product will perform
substantially in accordance with the accompanying written materials [this manual] for a period of 90
days form the date of receipt by the customer. Concerning the hardware components of the Product,
Fujitsu Microelectronics America, Inc Sunnyvale warrants that the Product will be free from defects
in material and workmanship under use and service as specified in the accompanying written
materials for a duration of one year from the date of receipt by the customer.
2. Should a Product turn out to be defect, Fujitsu Microelectronics America Inc Sunnyvale’s entire
liability and the customer’s exclusive remedy shall be, at Fujitsu Microelectronics America Inc
Sunnyvale’s sole discretion, either return of the purchase price and the license fee, or replacement
of the Product or parts thereof, if the Product is returned to Fujitsu Microelectronics America Inc
Sunnyvale in original packing and without further defects resulting from the customer’s use or the
transport. However, this warranty is excluded if the defect has resulted from an accident not
attributable to Fujitsu Microelectronics America, Inc Sunnyvale, or abuse or misapplication
attributable to the customer or any other third party not relating to Fujitsu Microelectronics America
Inc Sunnyvale.
3. To the maximum extent permitted by applicable law Fujitsu Microelectronics America Inc Sunnyvale
disclaims all other warranties, whether expressed or implied, in particular, but not limited to,
warranties of merchantability and fitness for a particular purpose for which the Product is not
designated.
4. To the maximum extent permitted by applicable law, Fujitsu Microelectronics America Inc
Sunnyvale’s and its suppliers´ liability is restricted to intention and gross negligence.
NO LIABILITY FOR CONSEQUENTIAL DAMAGES
To the maximum extent permitted by applicable law, in no event shall Fujitsu Microelectronics
America Inc Sunnyvale and its suppliers be liable for any damages whatsoever (including but
without limitation, consequential and/or indirect damages for personal injury, assets of
substantial value, loss of profits, interruption of business operation, loss of information, or any
other monetary or pecuniary loss) arising from the use of the Product.
Should one of the above stipulations be or become invalid and/or unenforceable, the remaining
stipulations shall stay in full effect.
Fujitsu Microelectronics America, Inc
3
Table of Contents
1.GENERAL DESCRIPTION .................................................................................... 5
1.1. OVERVIEW ........................................................................................................................ 5
1.2. BOARD FEATURES ........................................................................................................... 5
1.4. MB89210 SERIES DEVICE FEATURES ........................................................................ 5
1.4.1
1.4.2
Supported Devices of the series ............................................................................. 5
Board Part Numbers .............................................................................................. 5
1.5 DELIVERABLES ................................................................................................................. 6
2. HARDWARE DESCRIPTION............................................................................. 6
2.1 BOARD DESCRIPTION ....................................................................................................... 6
2.2 JUMPER, SWITCH AND LED FUNCTIONS ..................................................................... 7
2.2 CONNECTORS .................................................................................................................... 9
2.2.1 EDGE CONNECTOR JP1: ................................................................................................... 9
2.2.2 Serial Interface Connector X2.................................................................................... 10
2.2.3 LIN Interface Connector X3....................................................................................... 10
2.2.4 Yokogawa Programmer Interface Connector X4 ...................................................... 11
2.2.5 Power Connector X1 ................................................................................................... 11
3. ON-BOARD SERIAL PROGRAMMING OF FLASH AND OTP
DEVICE USING................................................................................................................ 11
MB89210 EVALUATION BOARD....................................................................... 11
3.1 FUJITSU PC ASYNCHRONOUS SERIAL PROGRAMMING OF MB89F217 .............. 11
3.2 FUJITSU PC ASYNCHRONOUS SERIAL PROGRAMMING OF OTP MB89P215 .... 12
4. CONNECTION TO F2MC-8L IN-CIRCUIT EMULATOR (ICE)
....................................................................................................................................................... 14
4.1 WITH F2MC-8L COMPACT ICE ................................................................................. 14
4.2 WITH F2MC-8L REGULAR ICE.................................................................................. 15
5.0 BOM AND SCHEMATIC DIAGRAMS.................................................... 17
5.1 BOM OF MB89210 EVALUATION BOARD ......................................................................... 17
4.2 SCHEMATIC OF MB89210 EVALUATION BOARD .................................................... 18
6.0 REFERENCES........................................................................................................... 19
Fujitsu Microelectronics America, Inc
4
1.General Description
1.1. Overview
This Evaluation board shows the capabilities of the popular Fujitsu MB89210 series Microcontrollers. It is
a low cost multifunctional evaluation board for Fujitsu MB89210 series. The board can be used as a low
cost target system for software development especially for MCU and Flash programming evaluation.
The MB89210 Evaluation Board makes use of Fujitsu F2MC- 8L series Microcontrollers. Depending on
the mounted device, part number of the board is categorized as mentioned in section 1.42.
1.2. Board Features
•
•
•
•
•
•
•
•
•
•
•
Supports MB89PV210CF piggyback EPROM, MB89F217 flash and MB89P215 OTP microcontrollers of MB89210 series.
9-12V unregulated external DC power supply
On board regulator for 5V internal power.
One LIN Driver interface
One RS-232 interface
Optional external main clock or could use internal CR oscillator of the device
Reset and Interrupt push buttons
Optional LCD display module interface with micro-controller
In circuit serial Flash programming facility is provided using RS232 interface or Yokogawa serial
programming connector interface to program MB89P215 and MB89F217 devices.
All MCU pins routed to headers J1 and J2 for evaluation
Prototyping area
1.4. MB89210 Series Device Features
MB89210 Series belongs to F2MC-8L Microcontrollers family. It has following features
• Supports high speed operation using 12.5MHz main clock and has minimum instruction execution
time of 0.32usec
• 16K or 32K Bytes memory depending on mask ROM, OTP, Flash or piggyback option
• Operating voltage varies from 3.5V to 5.5V depending on the selected device. MB89PV210
supports 3.5V to 5.5V
• LIN-UART interface
• Support several peripherals like UART/SIO, 8ch, 10bit ADC, PPG and PWM
• Available in packages like QFP (FPT-48P-M13), SSOP (FPT-30P-M02) and only evaluation
device in MQFP (MQP-64C-P02) package.
1.4.1 Supported Devices of the series
OTP: MB89P215
Flash: MB89F217
Evaluation device: MB89PV210CF
1.4.2 Board Part Numbers
1) A89210-00-LM-P02-1
2) A89217-00-LM-M13-1
3) A89217-00-LS-M13-1
4) A89215-00-LS-M02-1
Board with evaluation device MB89PV210CF mounted directly.
Board with MB89F217 flash device directly mounted.
Board with Socket mounted for using MB89F217.
Board with socket mounted for using MB89P215.
Fujitsu Microelectronics America, Inc
5
1.5 Deliverables
•
•
•
•
MB89210 evaluation board.
9-12V DC power supply adapter
Evaluation Board User’s Manual
CD/DVD ROM Containing Sample project files, Hardware manual and data sheets
2. Hardware Description
Figure 1 is a functional block diagram of the evaluation board. This target board is mainly designed to
help user to quick start their design and for their development, debugging and testing.
Figure 1: Functional Block Diagram
LCD DISPLAY MODULE
I/O port I/F
9-12V DC
Power
supply
CLOCK
10 MHZ
5V regulator
FUJITSU F2MC
MB89210 Series
MCU Switches
To Yokogawa
Programmer
YDC connector
I/F
Communication
with LIN
Master
LIN I/F
UART I/F
For
External
Interrupts
Communication
with PC
GPIO
Port LEDs
2.1 Board Description
The MB89210 Evaluation board supports MB89PV210CF piggyback evaluation device for debugging and
development. This piggyback evaluation device enables user to connect F2MC-8L emulator system for
debugging. By using programmed piggyback EPROM with this evaluation device, board can be used for
Demo and also for testing the developed code. The evaluation board supports MQP-48C-P02 (Rectangle
QFP48 package, 1.0mm) package.
If the board is used as an emulator target board, corresponding probe cable MB2144-203 should be
plugged in to piggyback evaluation device and then hooked either to F2MC-8L compact ICE
(In–Circuit Emulator) or to MB2144-505/MB2144-508 emulation pod of regular ICE.
All the pins of the micro controller are connected to the edge connectors JP1 and hence are directly
available for user development and testing.
Fujitsu Microelectronics America, Inc
6
By default the board is working with a 10MHz crystal as the main oscillation clock. A RS232 transceiver
U5 provided on the board generates the adequate RS232 levels for the receive (RXD) and transmit (TXD)
lines of asynchronous mode UART functionality peripheral.
The on board regulator allows to connect a DC input voltage between 7.5V to 12V. In case of any
modifications of the board, the user has to take care for the complete power consumption. There are
totally four pushbutton switches provided on the board: one reset button
Switch SW1 (RST) is provided for user reset. Other three SW2, SW3 and, SW4 pushbutton switches can
be used for generating external interrupts.
Power LED D2 indicates power supply to the board. If the jumper JP2 (Power)/2-3 is not shorted, power
LED D2 will not glow. This jumper is provided for isolation of power supply to the board from regulator.
User LEDs D3 to D10 is connected to GPIO port bits.
There is a provision to mount LCD display module on the socket X6 for user message display during
development. Potentiometer VR1 is provided at drive pin of LCD for intensity adjustment.
2.2 Jumper, Switch and LED Functions
Following Tables lists out the jumpers/pin functionality, Switches, LEDs and Test points available on the
board. Shaded areas indicate default jumper settings.
Table -1 Jumper Settings and Functions
Function
Jumpers
Power Supply 5V
JP2
Power Supply 5V
JP5
Ext Crystal Oscillator
JP3
Description
Short JP2/1-2: when to get 5V
as mcu power supply from the
board
Open JP2/2-3: To use
external power supply to
MCU
Short JP5/1-2: To supply 5V
to MCU
Open JP2: to isolate 5V to
MCU.
Short JP3/1-2: To use clock
supplied by external crystal
oscillator
Open
JP3/1-2:
Isolate
external crystal oscillator when
using internal CR oscillator of
MCU
Ext Crystal Oscillator
Fujitsu Microelectronics America, Inc
JP4
Short JP4/1-2: Short when
required to use external
Crystal oscillator
Open JP4/2-3: Short only
when using internal RC
oscillator of the device.
7
Table –1 Jumper Settings and Functions
Interrupt Switches:
SW2, SW3 and SW4
JP14, JP15 and
JP16
9-12V for LIN bus I/F
JP18
RS232 driver interface
JP9, JP10
LIN driver interface
JP12, JP13
LIN Driver Enable
JP11
Mode Pin Function
JP17
Short 1-2 of JP14, 15, 16: when
using external switches for
interrupts.
Open 1-2 of JP14, 15, 16:
When not using interrupts and
also to use port bits as GPIO
pins.
Short JP18/1-2: when using LIN
bus communication with X3
connector.
Open JP6: To use LCD U4 and
to isolate P11 or INT11 (S5)
Short
JP9/1-2,
JP10/1-2:
Allows TX and RX through
RS232 I/F.
Open JP9/1-2, JP10/1-2: To
isolate RS232 driver I/F while
using LIN I/F or YDC I/F for
debugging
Short
JP12/1-2,
JP13/1-2:
Allows LIN I/F through LIN
driver.
Open JP12/1-2, JP13/1-2: To
isolate LIN driver I/F while using
RS232 I/F or YDC I/F for
debugging.
Short JP11 to provide Vcc
enable to enable LIN Driver U6
Short JP17/2-3: During Single
Chip Mode.
Short JP17/1-2: During Flash
Programming only.
9V to Mode pin during
OTP Programming
only
JP19
Flash/OTP
Programming:
Setting P22 bit
JP6
Flash/OTP
Programming:
Setting P23 bit
JP7
Flash/OTP
Programming:
Pull-up UO pin
JP8
Flash/OTP
Programming:
Setting P07 bit
JP20
Fujitsu Microelectronics America, Inc
Short JP19/1-2: During OTP
programming Mode
Open JP19/1-2: All other times
except OTP programming mode.
Short JP6/1-2: Set High during
Flash programming.
Open JP6/1-2: Open after
programming.
Short JP7/1-2: Set Low during
Flash programming.
Open JP7/1-2: Open after
programming.
Short JP6/1-2: Set High during
Flash programming.
Open JP6/1-2: Open after
programming.
Short JP20/1-2: Set High while
using Yokogawa Programmer
Open JP20/1-2: Set Low while
using Fujitsu PC serial
programming utility.
8
Table -2 LED Indications
LED of Board
D1 (Red)
D2 (Green)
Function
Reset Indication
Power Indication
LED of Board
D3
D4
D5
D6
D7
D8
D9
D10
Function of MB89P215
P10
P11
P12
P13
P00
P01
P02
P03
2.2 Connectors
2.2.1 Edge Connector JP1:
The following table describes pin details of edge connectors or header JP1 provided on the board. P1-1
to 50 is connected to the pins of the used micro-controller on the board depending on whether
MB89PV210 (U1) or MB89F217 (U2) or MB89P215 (U3) is mounted. The odd pin numbers are located
on one side and even pin numbers are located on the other side of the connector. On the PCB, the
corresponding pin numbers are accordingly marked next to the connector pins for reference.
Table- 3 Edge Connector JP1
JP1
MB89PV210CF
Pin Number
MB89F217
Pin Number
MB89P215
Pin Number
Pin Function
JP1-1
1
47
4
P07/EC0
JP1-2
2
1
5
MODA
JP1-3
3
2
6
RST
JP1-4
4
10
10
X0
JP1-5
5
9
9
X1
JP1-6
6
8
8
Vss
JP1-7
7
42
21
Vcc
JP1-8
8
11
11
P30/PWM/TO1
JP1-9
9
15
12
P31
JP1-10
10
16
13
P10/SCK
JP1-11
11
17
14
P11/SO
JP1-12
12
18
15
P12/SI
Fujitsu Microelectronics America, Inc
9
JP1-13
13
20
16
P13/TO0
JP1-14
14
21
17
P14/UCK/EC1
JP1-15
15
22
18
P15/UO
JP1-16
16
23
19
P16/UI
JP1-17
17
25
20
P17/PPG
JP1-18
18
12
-
NC
JP1-19
19
28
-
Avss
JP1-20
20
27
-
Avcc
JP1-21
21
32
23
P20/AN0
JP1-22
22
33
24
P21/AN1
JP1-23
23
34
25
P22/ AN2
JP1-24
24
35
26
P23/AN3
JP1-25
25
36
27
P00/AN4
JP1-26
26
39
28
P01/ AN5
JP1-27
27
40
29
P02/AN6
JP1-28
28
41
30
P03/AN7
JP1-29
29
24
-
NC
JP1-30
30
26
-
NC
JP1-43
43
43
22
Vss
JP1-46
46
44
1
P04/INT0
JP1-47
47
45
2
P04/INT1
JP1-48
48
46
3
P05/INT2
2.2.2 Serial Interface Connector X2
The following diagram shows the connections of the 9-pin female D-Sub connector X2 that is used for
serial asynchronous interface with micro-controller through transceiver U5.
2.2.3 LIN Interface Connector X3
The following diagram shows the connections of the 9-pin female D-Sub connector X2 that is used for
serial asynchronous interface with micro-controller through transceiver U5.
Fujitsu Microelectronics America, Inc
10
Signal
9-12V
X2-Pins Used
Pin-1
GND
Pin-9
LIN Bus com
Pin-2
All other pins of X2 connectors other than the above-mentioned are not connected.
2.2.4 Yokogawa Programmer Interface Connector X4
The 28-pin female connector is provided on the board for on board serial programming of MB89F217 and
MB89P215 devices using Yokogawa serial programmer. For programming procedure using Yokogawa
programmer please refer Section 2.3.
2.2.5 Power Connector X1
The following figure shows the power connection DC power jack X1. This connector is used to connect
external regulated DC power supply voltage (7.5V-12V) to the evaluation board. It is recommended to use
7.5V Dc supply to keep minimum power dissipation.
3. On-Board Serial Programming of Flash and OTP Device using
MB89210 evaluation Board
3.1 Fujitsu PC Asynchronous Serial Programming of MB89F217
The asynchronous PC serial programming utility software from Fujitsu can be used to program a
blank flash micro-controller. The utility software could be downloaded from MCU Product DVD
3.5A. Following procedure should be followed while using Fujitsu Serial Flash programmer with
MB89210 board to program MB89F217 flash device.
1. Jumper settings for power supply, RS232 interface to use X2 DB-9 connector should be
done by referring jumper settings as described in Table-1.
2. Confirm following jumpers following jumpers for programming.
3. Connect RS-232 standard cable from PC to X2 connector of MB89210 evaluation board.
Fujitsu Microelectronics America, Inc
11
Table-4 Jumper Settings For Flash Programming
Function
Jumper
Settings
Mode pin for
Programming
Setting P22 bit
JP17
Short JP17/1-2: During Flash
Programming only.
Setting P23 bit
JP6
JP7
Pull-up UO pin
JP8
Setting P07 bit
JP20
Setting for UART
I/F
JP9
Setting for UART
I/F
JP10
Short JP6/1-2: Set High during
Flash programming.
Short JP7/1-2: Set Low during
Flash programming.
Short JP8/1-2: Set High during
Flash programming.
Short JP20/1-2: Set Low while
using Fujitsu PC serial
programming utility.
Short JP09/1-2: set to
communicate with PC using
Fujitsu PC serial programming
utility.
Short JP10/1-2: set to
communicate with PC using
Fujitsu PC serial programming
utility.
Switch-on the powers supply to confirm 5V to micro-controller.
4. Start the PC serial programming utility on PC. Download and program application code
in hex (.mhx or .ihx) format to flash device.
5. After programming the device, set the Mode pin JP17/2-3 position to execute the
program.
3.2 Fujitsu PC Asynchronous Serial Programming of OTP MB89P215
The asynchronous PC serial programming utility software from Fujitsu can be used to program a
blank flash micro-controller. The utility software could be downloaded from MCU Product DVD
3.5A.Following procedure should be followed while using Fujitsu Serial OTP programmer with
MB89210 board to program MB89P215 OTP device.
1. Jumper settings for power supply, RS232 interface to use X2 DB-9 connector should be
done by referring jumper settings as described in Table-1.
2. Confirm following jumpers following jumpers for programming.
Fujitsu Microelectronics America, Inc
12
Table-5 Jumper Settings For OTP Programming
Function
Jumper
Settings
3.
4.
•
•
•
•
•
•
•
•
Mode Pin for
Programming
JP17
Open JP17/1-2: During OTP
Programming only.
OTP Programming:
Setting P22 bit
JP6
Short JP6/1-2: Set High during OTP
programming.
OTP Programming:
Setting P23 bit
JP7
Short JP7/1-2: Set Low during OTP
Asynchronous programming.
OTP Programming:
Pull-up UO pin
JP8
Short JP8/1-2: Set High during OTP
programming.
OTP Programming:
Setting P07 bit
JP20
Short JP20/1-2: Set Low while
using Fujitsu PC serial programming
utility.
OTP Programming:
Setting MODA-9V
JP19
Short JP19/1-2: Set 9V to Mode pin
while using Fujitsu PC serial
programming utility for OTP.
OTP Programming:
Setting 9V
JP18
Setting for UART I/F:
JP9
Short JP09/1-2: set to communicate
with PC using Fujitsu PC serial
programming utility.
Setting for UART I/F:
JP10
Short JP10/1-2: set to communicate
with PC using Fujitsu PC serial
programming utility.
Short JP18/1-2: to Supply 9V to
Mode pin and also for LIN I/F
Connect RS-232 standard cable from PC to X2 connector of MB89210 evaluation board.
Programming procedure:
Confirm above jumper settings on the board
Launch Fujitsu OTP programming utility on the PC screen
Select the hex file to program.
Also select COM port for PC communication
Select 2MHz,/4MHz/8MHz frequency for programming (according to the crystal
mounted on the board). Only these values are allowed for OTP programming.
Then click on download button.
If PC prompt message appears on the screen to RESET the board, press SW1
Then follow the steps for ‘Blank Check’, ‘Program + Verify’
After OTP programming, to execute the code from the programmed OTP:
Open jumper shorting JP19/1-2 that is 9V to Mode pin. This is very important. Then Short
JP17/2-3 for Mode pin to become Low for normal execution.
Fujitsu Microelectronics America, Inc
13
Jumper setting for Single chip operation and OTP programming
Jumper
JP 6
JP 7
JP 8
JP 9
JP 10
JP 17
JP 18
Setting
P22
P23
P15/UO
P15/UO
P16/UI
MODA
JP 19
JP 20
MODA
P07
Single chip operation
Open
Open
Short 2-3
Close when using X3
connector for LIN bus
I/F
Open
Open
OTP programming by RS232 X2
Short 1-2 (set “H” level)
Short 1-2 (set “L” level)
Short 1-2 (Pull up)
Short 1-2 (connect to RS232 device)
Short 1-2 (connect to RS232 device)
Open
Open
Short 1-2 (Supply 9V to MODA)
Short 1-2 (set “L” level)
4. Connection to F2MC-8L In-Circuit Emulator (ICE)
There are two ICE systems that could be used along with target evaluation board for debugging.
4.1 With F2MC-8L Compact ICE
Following units are required along with this target board to be connected to compact ICE as shown the
below Figure 2.
1: MSE1001C Compact ICE
2:Probe cable MB2144-203
3:Evaluation device MB89PV210CF. Already available mounted on the target board
4: Target board part number: A89210 -00-LM-P02-1
Figure 2: Compact ICE
4
3
Fujitsu Microelectronics America, Inc
2
1
Serial
cable to
PC
14
4.2 With F2MC-8L Regular ICE
Following units are required along with this target board to be connected to compact ICE as shown the
below Figure 2.
1: MB2141A/B Regular ICE main Unit
2: Emulation Pod MB2144-505 or MB2144-508
3: Probe cable MB2144-203
3: Evaluation device MB89PV210CF Already available mounted on the target board
4: Target board part number: A89210-00-LM-P02-1
Figure 3: Regular ICE
Serial
cable to
PC
1
5
4
3
Fujitsu Microelectronics America, Inc
2
15
Fujitsu Microelectronics America, Inc
16
5.0 BOM and Schematic Diagrams
5.1 BOM of MB89210 evaluation Board
Fujitsu Microelectronics America, Inc
17
4.2 Schematic of MB89210 Evaluation Board
Fujitsu Microelectronics America, Inc
18
6.0 References
1. MB89210 series data sheet
2. MB89210 series Hardware manual
3. FMA website link
http://www.fujitsu.com/us/services/edevices/microelectronics/microcontrollers/
Fujitsu Microelectronics America, Inc
19
Download