DEMO9S08DZ60 Userguide

D O C - 0 4 0 7 - 0 1 0 ,
R E V
A
DEMO9S08DZ60
Demonstration Board for Freescale MC9S08DZ60
Axiom Manufacturing • 2813 Industrial Lane • Garland, TX 75041
Email: [email protected] Web: http://www.axman.com
D E M O 9 S 0 8 D Z 6 0
D E C E M B E R
2 ,
2 0 0 6
CONTENTS
CAUTIONARY NOTES ..............................................................................................................4
TERMINOLOGY.........................................................................................................................4
FEATURES ................................................................................................................................5
REFERENCES ...........................................................................................................................6
GETTING STARTED..................................................................................................................6
OPERATING MODES ................................................................................................................6
RUN MODE ........................................................................................................................... 6
DEBUG MODE ...................................................................................................................... 7
MEMORY MAP ..........................................................................................................................7
SOFTWARE DEVELOPMENT...................................................................................................8
DEVELOPMENT SUPPORT ......................................................................................................8
INTEGRATED BDM .............................................................................................................. 8
BDM_PORT HEADER........................................................................................................... 9
POWER ......................................................................................................................................9
POWER SELECT .................................................................................................................. 9
PWR_SEL ......................................................................................................................... 9
VX_EN............................................................................................................................. 10
RESET SWITCH ......................................................................................................................10
LOW VOLTAGE RESET ..........................................................................................................11
TIMING .....................................................................................................................................11
COMMUNICATIONS ................................................................................................................11
RS-232 ................................................................................................................................ 11
COM CONNECTOR ........................................................................................................ 12
LIN COMMUNICATIONS..................................................................................................... 12
LIN_EN............................................................................................................................ 12
CAN COMMUNICATIONS................................................................................................... 13
CAN TERMINATION ....................................................................................................... 13
VRH/VRL..................................................................................................................................13
USER I/O..................................................................................................................................14
POT ................................................................................................................................. 14
SWITCHES ..................................................................................................................... 14
LED’S .............................................................................................................................. 14
USER SIGNALS .................................................................................................................. 14
USER ENABLE ................................................................................................................... 15
MCU I/O PORT.........................................................................................................................15
2
D E M O 9 S 0 8 D Z 6 0
D E C E M B E R
2 ,
2 0 0 6
FIGURES
Figure 1: BDM_PORT Header....................................................................................................9
Figure 2: PWR_SEL Option Header ...........................................................................................9
Figure 3: VX_EN Option Header ..............................................................................................10
Figure 4: CLK_SEL Option Header ..........................................................................................11
Figure 5: COM Connector.........................................................................................................12
Figure 6: LIN Connector ...........................................................................................................12
Figure 7: LIN_EN Option Header..............................................................................................12
Figure 8: CAN_PORT Connector .............................................................................................13
Figure 9: CTE Option Header ...................................................................................................13
Figure 10: USER Option Header ..............................................................................................15
Figure 11: MCU I/O PORT – J1................................................................................................16
Figure 12: MCU I/O PORT – J2................................................................................................16
TABLES
Table 1: Run Mode Setup...........................................................................................................6
Table 2: BDM Mode Setup .........................................................................................................7
Table 3: Memory Map.................................................................................................................8
Table 4: COM Connections ......................................................................................................12
Table 5: ATD Reference Voltage..............................................................................................14
Table 6: User I/O ......................................................................................................................15
REVISION
Date
December 2, 2006
Rev
A
Comments
Initial Release
3
D E M O 9 S 0 8 D Z 6 0
D E C E M B E R
2 ,
2 0 0 6
CAUTIONARY NOTES
1) Electrostatic Discharge (ESD) prevention measures should be used when handling this
product. ESD damage is not a warranty repair item.
2) Axiom Manufacturing does not assume any liability arising out of the application or use of
any product or circuit described herein; neither does it convey any license under patent
rights or the rights of others.
3) 3) EMC Information on the DEMO9S08DZ60 board:
a) This product as shipped from the factory with associated power supplies and cables,
has been verified to meet with requirements of CE and the FCC as a CLASS A product.
b) This product is designed and intended for use as a development platform for hardware
or software in an educational or professional laboratory.
c) In a domestic environment, this product may cause radio interference in which case the
user may be required to take adequate prevention measures.
d) Attaching additional wiring to this product or modifying the products operation from the
factory default as shipped may effect its performance and cause interference with
nearby electronic equipment. If such interference is detected, suitable mitigating
measures should be taken.
TERMINOLOGY
This development module utilizes option select jumpers to configure default board operation.
Terminology for application of the option jumpers is as follows:
Jumper – a plastic shunt that connects 2 terminals electrically
Jumper on, in, or installed - jumper is installed such that 2 pins are connected together
Jumper off, out, or idle - jumper is installed on 1 pin only. It is recommended that
jumpers be idled by installing on 1 pin so they will not be lost.
4
D E M O 9 S 0 8 D Z 6 0
D E C E M B E R
2 ,
2 0 0 6
FEATURES
The DEMO9S08DZ60 is a demonstration board for the MC9S08DZ60 microcontroller.
Application development is quick and easy with the integrated USB-BDM, sample software
tools, and examples. An optional BDM_PORT port is also provided to allow use of a
BDM_PORT cable. Two, 40-pin connectors provide access to all IO signals on the target
MCU.
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
MC9S08DZ60, 64 LQFP
32K Bytes Flash
4K Bytes RAM
2K Bytes EEPROM
Timing Sources
4 MHz XTAL
OSC socket
BNC connector
Integrated P&E USB-BDM
BDM_PORT header for BDM cable support (not installed)
LIN PHY w/ 2, 4-pos Molex connectors
HS-CAN PHY w/ 3-pos pin header connector
LP Filters on ADC inputs
2 ea., MCU_PORT socket headers for access to MCU IO signals
On-board +5V regulator
Optional Power from USB-BDM or MCU_PORT connector
Power Input Selection Jumpers
Power input from USB-BDM
Power input from on-board regulator
Power input from Connector J1
Optional Power output through Connector J1
User Components Provided
3 Push Switches; 2 User, 1 Reset
1 4-pos DIP Switch
7 LED Indicators; 4 User, VDD, USB Power, USB Power Out
2ea. 5K ohm POTs w /LP Filter
Jumpers
Power Select
VSEL
VX_EN
USER_EN
Connectors
2 40-pin MCU I/O Connector
2.0mm Barrel Connector
BDM_PORT
USB Connectors
DB9 Connector
Specifications:
Board Size 3.5” x 4.0”
Power Input: +6VDC to +18VDC
NOTE: LIN functionality supported when powered from PWR connector only
5
D E M O 9 S 0 8 D Z 6 0
D E C E M B E R
2 ,
2 0 0 6
REFERENCES
Reference documents are provided on the support CD in Acrobat Reader format.
DEMO9S08DZ60_UG.pdf
DEMO9S08DZ60_QSG.pdf
DEMO9S08DZ60 _SCH_B.pdf
DEMO9S08DZ60_Silk_B.pdf
DEMO9S08DZ60 User Guide (this document)
DEMO9S08DZ60 Quick Start Guide
DEMO9S08DZ60 Schematic Rev. B
DEMO9S08DZ60 Top Silk, Rev B
GETTING STARTED
To get started quickly, please refer to the DEMO9S08DZ60 Quick Start Guide. This quick start
will show the user how to connect the board to the PC, install the correct version of
CodeWarrior Development Studio, and run a simple LED test program.
OPERATING MODES
The DEMO9S08DZ60 board operates in two operating modes: Run Mode, or Debug Mode.
Run Mode executes the user application from Power-On or Reset. Debug Mode supports the
development and debug of applications. See the related sections below for quickly starting the
board in the desired operation mode.
RUN MODE
Run mode executes the user application when power is applied to the board or the RESET
button is pressed. Use the following settings to configure the DEMO9S08DZ60 board for RUN
Mode to get started quickly.
1. Connect auxiliary equipment to board as required by application.
2. Configure the board option jumpers for run mode.
Table 1: Run Mode Setup
PWR_SEL
CLK_SEL
VX_EN
USER
LIN_EN
Pin1 – Pin2 (VB)
Pin1 – Pin2 (Y1)
As Required
As Required
As Required
NOTE: See Power section below to configure power input from PWR connector or from J1 connector.
3. Apply power to the board.
4. The programmed application will begin to execute.
6
D E M O 9 S 0 8 D Z 6 0
D E C E M B E R
2 ,
2 0 0 6
Debug Mode
Debug Mode supports application development and debug. Debug mode is available to the
user through the integrated USB-Multilink BDM or through the use of an external
HCS12/HCS08 BDM cable. Use of the integrated USB-Multilink BDM requires only a host PC
with an available USB port and an A/B type USB cable. A 6-pin BDM interface header
(BDM_PORT) supports the use of an external HCS12 BDM cable. The BDM_PORT header is
not installed in default configuration. The steps below describe using the integrated USBMultilink BDM.
1. Connect auxiliary equipment to board as required by application.
2. Install and launch P&E PKGHCS08Z tool set, CodeWarrior Development Studio, or other
software capable of communicating with the HCS12/HCS08 MCU.
3. Configure the board option jumpers for DEBUG mode.
Table 2: BDM Mode Setup
PWR_SEL
CLK_SEL
VX_EN
USER
LIN_EN
Pin1 – Pin2 (VB)
Pin1 – Pin2 (Y1)
As Required
As Required
As Required
NOTE: Refer to the Development Support section below for details on using an external HCS12 BDM cable.
4. Connect the supplied USB cable between an available USB port on the host PC and the
USB connector on the board.
5. Hosting development software will establish DEBUG communication.
6. Refer to BDM cable documentation for details on use of BDM.
MEMORY MAP
The table below shows the default memory map for the MC9S08DZ60 immediately out of
reset.
7
D E M O 9 S 0 8 D Z 6 0
D E C E M B E R
2 ,
2 0 0 6
Table 3: Memory Map
$0000 $007F
$0080 $107F
$1080 $13FF
$1400 $17FF
$1800 $18FF
$1900 $FFFF
REGISTERS
128 bytes
RAM
4096 bytes
FLASH
896 bytes
EEPROM
2 x 1024 bytes
High Page Registers
256
FLASH
59136 bytes
SOFTWARE DEVELOPMENT
Software development requires the use of an assembler or compiler supporting the HCS08
instruction set and a host PC operating a debug interface. CodeWarrior Development Studio
and Axiom IDE for Windows for Debugging and Flash programming are supplied with this
board.
DEVELOPMENT SUPPORT
Application development and debug for the target MC9S08DZ60 is supported through a
background debug mode (BDM) interface. The BDM interface consists of an integrated USBMultilink BDM and a 6-pin interface header (BDM_PORT) to connect a HCS12/HCS08 BDM
cable.
Integrated BDM
The DEMO9S08DZ60 board features an integrated USB-Multilink BDM from P&E
Microcomputer Systems. The integrated USB-Multilink BDM supports application development
and debugging via background debug mode. All necessary signals are provided by the
integrated USB-Multilink BDM. A USB, type B, connector provides connection from the target
board to the host PC.
The integrated USB-Multilink BDM provides +5V power and ground to target board eliminating
the need to power the board externally. Power from the USB-Multilink BDM is derived from the
USB bus; therefore, total current consumption for the target board, and connected circuitry,
must not exceed 500mA. This current limit describes the current supplied by the USB cable
to the BDM circuit, the target board, and any connected circuitry. Excessive current drain will
violate the USB specification causing the bus to disconnect. Damage to the host PC USB hub
or the target board may result.
8
D E M O 9 S 0 8 D Z 6 0
D E C E M B E R
2 ,
2 0 0 6
BDM_PORT Header
A compatible HCS12 BDM cable can also attach to the 6-pin BDM interface header
(BDM_PORT). This header is not installed in default configuration. The figure below shows
the pin-out for the DEBUG header
Figure 1: BDM_PORT Header
BKGD
1
3
5
2
4
6
GND
RESET*
VDD
See the HC(S)08 Reference Manual for complete
DEBUG documentation
NOTE: This header is not installed in default configuration.
POWER
The DEMO9S08DZ60 is designed to allow the user to power the board through the USBMultilink BDM during application development. A 2.0-mm barrel connector has been applied to
support stand-alone operation and to support LIN functionality. The board may also be
powered through connector J1. This connection may also be used to supply power from the
board to external circuitry.
During application development, the board may be powered from either the USB-BDM or the
PWR connector. To utilize LIN functionality, the board must be powered from PWR connector
with a typical input voltage of +12VDC.
POWER SELECT
Power may be applied to the board through the integrated USB-Multilink BDM circuitry, a
2.0mm barrel connector, or through connector J1. Power selection is achieved using 2
selection headers: PWR_SEL option header and the VX_EN option header.
PWR_SEL
The PWR_SEL option header selects power input either from the integrated USB-Multilink
BDM circuitry or from the on-board voltage regulator. The figure below details the PWR_SEL
header connections.
VDD
VB
Figure 2: PWR_SEL Option Header
1 2 3
PWR_SEL
CONFIGURATION
1 – 2: Selects power input from USB-ML12
2 – 3: Selects power input from on-board regulator or J1
9
D E M O 9 S 0 8 D Z 6 0
D E C E M B E R
2 ,
2 0 0 6
NOTE: Set PWR_SEL jumper to VB during application development. Use barrel connector
input (PWR) to support LIN functionality if needed.
Power from the integrated BDM is drawn from the USB bus and is limited to 500 mA. This
current limit accounts for the total current supplied over the USB cable to the BDM circuit, the
target board, and any connected circuitry. Current drain in excess of 500 mA will violate the
USB specification and will cause the USB bus to disconnect. Damage to the host PC or the
target board may also result.
The on-board voltage regulator (VR1) accepts power input through a 2.0mm barrel connector
(PWR). Input voltage may range from +6V to +18V. The voltage regulator (VR1) provides a
+5V fixed output limited to 250mA. Over-temperature and over-current limit built into the
voltage regulator provides protection from excessive stress. The user must consider the
maximum output current limit of VR1 when attempting to power off-board circuitry through
connector J1.
If powered from the PWR connector, the integrated BDM may still be used to develop and
debug application code. Alternately, the board may be powered from the integrated BDM
while the LIN bus is powered from the PWR connector.
VX_EN
The VX_EN option header is a 2-pin jumper that connects or disconnects input J1-1 directly to
the target board +5V voltage rail. J1-3 is directly connected to the ground plane. Use of this
feature requires a regulated +5V input power source. This power input is decoupled to
minimize noise but is not regulated. Care should be exercised when using this feature; no
protection is applied on this input and damage to the target board may result if over-driven.
Also, do not attempt to power the target board through this connector while also applying
power through the USB-Multilink BDM or the PWR connector; damage to the board may result.
Power may also be sourced to off-board circuitry through the J1 connector. The current
supplied from the USB bus or the on-board regulator limits current output to external circuitry.
Excessive current drain may damage the target board, the host PC USB hub, or the on-board
regulator. The figure below details the VX_EN header connections.
Figure 3: VX_EN Option Header
1 2
VX_EN
ON
Enabled
OFF
Disabled
CAUTION: Do not exceed available current supply from USB-Multilink BDM or on-board
regulator, when sourcing power through connector J1 to external circuitry.
RESET SWITCH
10
D E M O 9 S 0 8 D Z 6 0
D E C E M B E R
2 ,
2 0 0 6
The RESET switch provides a method to apply an asynchronous RESET to the MCU. The
RESET switch is connected directly to the RESET* input on the MCU. Pressing the RESET
switch applies a low voltage level to the RESET* input. A pull-up bias resistor allows normal
MCU operation. Shunt capacitance ensures an adequate input pulse width.
LOW VOLTAGE RESET
The MC9S08DZ60 utilizes an internal Low Voltage Detect (LVD) circuit. The LVD holds the
MCU in reset until applied voltage reaches an appropriate level. The LVD also protect against
under-voltage conditions. Consult the MC9S08DZ60 reference manual for details LVD
operation.
TIMING
The DEMO9S08DZ60 provide 1 internal and 2 external timing sources. The 32 kHz internal
timing source, with ±0.2% resolution, is active out of RESET. An external crystal with ±50ppm
resolution is also provided. A full-size socket allows alternate square-wave clock inputs to be
applied. The target MCU must be configured to select either external timing input source.
Refer to the target MCU documentation for details on configuring external timing inputs.
The CLK_SEL option header selects the on-board XTAL oscillator, or the optional CLOCK
oscillator socket. The figure below shows settings for CLK_SEL option header.
Figure 4: CLK_SEL Option Header
CLK_SEL
X1
Y1
1
3
2
4
Select XTAL oscillator X1 output
Select Clock oscillator Y1 output (default)
COMMUNICATIONS
The DEMO9S08DZ60 board applies two Serial Communications Interface (SCI) ports. SCI0 is
applied to RS-232 serial communications (COM) on the target board. SCI1 is applied to LIN
communications on the target board. RS-232 communications are supported through a DB9
connector. LIN communications are supported through a pair of 4-pin Molex connectors.
RS-232
An RS-232 translator provides RS-232 to TTL/CMOS logic level translation on the COM
connector. The COM connector is a 9-pin Dsub, right-angle connector. A ferrite bead on
shield ground provides conducted immunity protection. Communication signals TXD1 and
RXD1 are routed from the transceiver to the MCU. Hardware flow control signals RTS and
CTS are available on the logic side of the transceiver. These signals are routed to vias located
near the transceiver.
RTS has been biased properly to support 2-wire RS-232
communications.
11
D E M O 9 S 0 8 D Z 6 0
D E C E M B E R
2 ,
2 0 0 6
Table 4: COM Connections
MCU Port
COM Signal
PTE0/TXD1
PTE1/RXD1
TXD
RXD
I/O PORT
CONNECTOR
J1-5
J1-7
COM Connector
A standard 9-pin Dsub connector provides external connections for the SCI0 port. The Dsub
shell is connected to board ground through a ferrite bead. The ferrite bead provides noise
isolation on the RS-232 connection. The figure below details the DB9 connector.
Figure 5: COM Connector
4, 6
TXD
RXD
1, 6
GND
1
2
3
4
5
6
7
8
9
1, 4
RTS
CTS
NC
Female DB9 connector that interfaces to the MCU internal SCI0 serial
port via the RS232 transceiver. Flow control is provided at test points on
the board.
Pins 1, 4, and 6 are connected together.
LIN Communications
The DEMO9S08DZ60 applies the MC33661D Local Interconnect Interface (LIN) physical layer
(PHY) for use in developing automotive control applications. The MC33661D physical layer
interface (PHY) supports LIN bus functionality for input voltages between +6V and +18V. Only
power applied to the PWR connector will enable the LIN bus. Two, 4-pin, Molex connectors
provide off-board connectivity. The figure below shows the pin-out of the LIN connector
looking into the connector.
Figure 6: LIN Connector
LIN I/O
GND
4
2
3
1
VSUP
GND
REF: Mating Connector, Molex P/N,
39-01-2040, Housing
39-00-0039, Socket
NOTE: +12V must be applied to the PWR connector when using the LIN functionality.
LIN_EN
The LIN_EN option header connects or disconnects the LIN PHY to SCI1.
Figure 7: LIN_EN Option Header
LIN_EN
4
2
3
1
TX
RX
Enable LIN TX
Enable LIN RX
NOTE: +12V must be applied to the PWR connector when using the LIN functionality.
12
D E M O 9 S 0 8 D Z 6 0
D E C E M B E R
2 ,
2 0 0 6
CAN Communications
The DEMO9S08DZ60 provides a high-speed CAN physical layer interface (PHY). A 3-pin
connector provides connectivity to the off-board CAN bus. The CAN PHY connects to the
CAN0 channel on the MCU. The PHY supports data rates up to 1 MBPS with edge-rate
control to reduce EMI/RFI. The figure below shows the pin-out of the CAN_PORT connector.
Figure 8: CAN_PORT Connector
1
2
3
CAN_H
GND
CAN_L
The CAN PHY connects to the CAN0
channel in the MCU
CAN Termination
The DEMO9S08DZ60 applies a 121 ohm differential termination to the CAN bus. An option
jumper allows the user to selectively apply termination. Installing the CTE option jumper
applies termination to the differential CAN bus. Removing the CTE option jumper removes the
CAN termination.
Figure 9: CTE Option Header
1
2
ON
Enabled
OFF
Disabled
CTE
VRH/VRL
MCU inputs VRH and VRL provide the upper and lower voltage reference for the analog to
digital (ATD) converter. By default, VRH is tied to VDD and VRL is tied to ground. Adequate
filtering has been added to provide a voltage reference with minimal ripple. Either, or both,
references may be isolated to provide alternate ATD input references. A test point via on each
signal, labeled VRH, or VRL, provides a convenient attach point.
A 0-ohm configuration resistor allows isolation of each reference voltage. Removing R25
isolates VRH while removing R26 isolates VRL. Install 0805 sized 0-ohm resistors in these
locations to restore the board to default configuration.
Care must be exercised when using alternate input references. The associated isolation
resistor must be removed before applying an alternate voltage reference or the board may be
damaged. The table below summarizes the changes necessary to use alternate VRH and/or
VRL.
13
D E M O 9 S 0 8 D Z 6 0
D E C E M B E R
2 ,
2 0 0 6
Table 5: ATD Reference Voltage
R25
R26
Installed (Default)
VRH = VDD
VRL = GND
Removed
VRH provided by user
VRL provided by user
NOTE: Damage to the board may result if an alternate reference voltage is attached without
first removing the associated configuration resistor.
USER I/O
User I/O includes 2 potentiometers, 1 4-position DIP switch, 2 push button switches, and 2
green LEDs for user I/O. The User option header block enables or disables each User I/O
individually.
POT
The DEMO9S08DZ60 target board provides 2 5K ohm trimmer potentiometers (POT) have
been provided to simulate analog input. Both parts are decoupled to minimize noise during
adjustment. Potentiometer RV1 connects to analog input PTB4/ADP12. Potentiometer RV2
connects to analog input PTB5/ADP13. . The figure below shows the USER enable position
and associated signal for the potentiometer.
SWITCHES
The DEMO9S08DZ60 target board provides 2 push button switches and one 4-position DIP
switch for user input. Each push button switch is an active low input with a pull-up resistor bias
to prevent indeterminate input conditions. Pressing a push-button switch causes a low logic
input on the associated input.
Each DIP switch position is an active low input. Use of the DIP switches requires enabling the
associated, internal PORTG pull-ups on the MCU prevent indeterminate input conditions.
Moving a DIP switch position to ON causes a low logic level on the associated input. The
figure below shows the USER enable position and associated signal for each user switch.
LED’s
The DEMO9S08DZ60 target board provides 2 green LEDs for output indication. Each LED is
an active low output. Writing a low logic level to an LED output causes the associated LED to
turn on. A series, current-limit resistor prevents excessive diode current. The figure below
shows the USER enable position and associated signal for each user LED.
User Signals
The following table shows the connections for each user I/O device.
14
D E M O 9 S 0 8 D Z 6 0
D E C E M B E R
2 ,
2 0 0 6
Table 6: User I/O
USER
1
2
3
4
5
6
7
8
9
10
Ref Des
RV1
RV2
SW1-1
SW1-2
SW1-3
SW1-4
LED1
LED2
SW1
SW2
Signal
PTB4/ADP12
PTB5/ADP13
PTG2
PTG3
PTG4
PTG5
PTC5/ADP21
PTB3/ADP11
PTB6/ADP14
PTB7/ADP15
Device
Potentiometer
Potentiometer
4-pos DIP Switch
4-pos DIP Switch
4-pos DIP Switch
4-pos DIP Switch
Green LED
Green LED
Push Button Switch
Push Button Switch
User Enable
The User option header block enables or disables each User I/O device individually. User I/O
includes 4 green LEDs, 2 push button switches, one 4-position DIP switch, a Light Sensor, and
a potentiometer. Installing a shunt enables the associated option. Removing a shunt disables
the associated option. The table below shows the configuration option for each USER I/O.
Figure 10: USER Option Header
1
2
3
4
5
6
7
8
9
10
USER
1
2
3
4
5
6
7
8
9 10
11 12
13 14
15 16
17 18
19 20
Shunt
Installed
Removed
Enable
Disable
Enable
Disable
Enable
Disable
Enable
Disable
Enable
Disable
Enable
Disable
Enable
Disable
Enable
Disable
Enable
Disable
Enable
Disable
Description
Potentiometer
Potentiometer
DIP Switch Position 1
DIP Switch Position 2
DIP Switch Position 3
DIP Switch Position 4
LED 1
LED 2
Push Button Switch 1
Push Button Switch 2
MCU I/O PORT
The MCU I/O PORT connectors (J1 and J2) provide access to the MC9S08DZ60 I/O signals.
The figures below show the pin-out for each MCU I/O connector.
15
D E M O 9 S 0 8 D Z 6 0
D E C E M B E R
Figure 11: MCU I/O PORT – J1
VX
VSS
PTE0/TXD1
PTE1/RXD1
PTG2
PTG3
PTD2/PID2/TPM1CH0
PTD3/PID3/TPM1CH1
PTE4/SCL/MOSI
PTE5/SDA/MISO
PTE3/SPSCK
PTE2/SS*
PTG4
PTG5
PTF3/TMP2CLK/SDA
PTF2/TPM1CLK/SCL
PTD4/PID4/TPM1CH2
PTD5/PID5/TPM1CH3
PTD6/PID6/TPM1CH4
PTD7/PID7/PTM1CH5
J1
1 2
3 4
5 6
7 8
9 10
11 12
13 14
15 16
17 18
19 20
21 22
23 24
25 26
27 28
29 30
31 32
33 34
35 36
37 38
39 40
PTA7/PIA7/ADP7/IRQ
RESET*
BKGD/MS
PTF7
PTA0/PIA0/ADP0/MCLK
PTA1/PIA1/ADP1/ACMP1+
PTA2/PIA2/ADP2/ACMP1PTA3/PIA3/ADP3/ACMP1O
PTA4/PIA4/ADP4
PTA5/PIA5/ADP5
PTA6/PIA6/ADP6
PTB0/PIB0/ADP8
PTE6/TXD2/TXCAN
PTE7/RXD2/RXCAN
PTB1/PIB1/ADP9
PTB2/PIB2/ADP10
PTD0/PID0/TPM2CH0
PTD1/PID1/TPM2CH1
PTC0/ADP16
PTC1/ADP17
J2
41 42
43 44
45 46
47 48
49 50
51 52
53 54
55 56
57 58
59 60
61 62
63 64
65 66
67 68
69 70
71 72
73 74
75 76
77 78
79 80
PTF0/TXD2
PTF1/RXD2
PTB3/PIB3/ADP11
PTB4/PIB4/ADP12
PTB5/PIB5/ADP13
PTB6/PIB6/ADP14
PTB7//PIB7/ADP15
PTC2/ADP18
PTC3/ADP19
PTC4/ADP20
PTC5/ADP21
PTC6/ADP22
PTC7/ADP23
NC
NC
NC
NC
PTF4/ACMP2+
PTF5/ACMP2PTF6/ACMP2O
Figure 12: MCU I/O PORT – J2
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
16
2 ,
2 0 0 6