Freescale M5213EVB User Guide

DOC-0367-010, REV. C
Freescale Semiconductor
© Freescale Semiconductor, Inc., 2004. All rights reserved.
Information in this document is provided solely to enable system and software implementers to use Freescale Semiconductor products. There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits or integrated circuits based on the information in this document. Freescale Semiconductor reserves the right to make changes without further notice to any products herein. Freescale Semiconductor makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does Freescale Semiconductor assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. “Typical” parameters which may be provided in Freescale Semiconductor data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. All operating parameters, including “Typicals” must be validated for each customer application by customer’s technical experts. Freescale Semiconductor does not convey any license under its patent rights nor the rights of others. Freescale Semiconductor products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the Freescale Semiconductor product could create a situation where personal injury or death may occur. Should Buyer purchase or use Freescale Semiconductor products for any such unintended or unauthorized application, Buyer shall indemnify and hold Freescale Semiconductor and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that Freescale Semiconductor was negligent regarding the design or manufacture of the part.
Information in this document is provided solely to enable system and software implementers to use Freescale Semiconductor products. There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits or integrated circuits based on the information in this document. Freescale Semiconductor reserves the right to make changes without further notice to any products herein. Freescale Semiconductor makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does Freescale Semiconductor assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. “Typical” parameters which may be provided in Freescale Semiconductor data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. All operating parameters, including “Typicals” must be validated for each customer application by customer’s technical experts. Freescale Semiconductor does not convey any license under its patent rights nor the rights of others. Freescale Semiconductor pro ducts are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the Freescale Semiconductor product could create a situation where personal injury or death may occur. Should Buyer purchase or use Freescale Semiconductor products for any such unintended or unauthorized application, Buyer shall indemnify and hold Freescale Semiconductor and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that Freescale Semiconductor was negligent regarding the design or manufacture of the part.
Reconfigured with permission of Axiom Manufacturing
M5213EVB
Development Board for Freescale MCF5213 MCU
Hardware User Manual
M5213EVB USER MANUAL 08/08/05
Freescale Semiconductor, Inc.
CONTENTS
CAUTIONARY NOTES .......................................................................................................................... 3
TERMINOLOGY..................................................................................................................................... 3
FEATURES............................................................................................................................................... 4
GETTING STARTED..............................................................................................................................5
S
OFTWARE DEVELOPMENT....................................................................................................................... 5
R
EFERENCE DOCUMENTATION ................................................................................................................. 5
M5213EVB S
TARTUP .............................................................................................................................. 6
M5213EVB HARDWARE CONFIGURATION AND OPTIONS....................................................... 6
MEMORY............................................................................................................................................... 6
POWER SUPPLY ................................................................................................................................... 7
Power Jack........................................................................................................................................... 7
TB1 Power connection......................................................................................................................... 7
ON_OFF Switch................................................................................................................................... 7
FUSE – F1............................................................................................................................................ 7
3.3V_EN Option................................................................................................................................... 8
3.3V Indicator ...................................................................................................................................... 8
VDD and VRx Enable Options............................................................................................................. 8
VX_EN Option......................................................................................................................................9
RESET..................................................................................................................................................... 9
RESET Switch....................................................................................................................................... 9
RESET Indicator ..................................................................................................................................9
ABORT S SW1 LED[4:1] U
WITCH...................................................................................................................................... 9
AND SW2 SWITCHES....................................................................................................................... 9
SER INDICATORS.................................................................................................................... 9
LED_EN option.................................................................................................................................. 10
SYSTEM CLOCK................................................................................................................................. 10
CLOCK Option Chart ........................................................................................................................ 10
UART0_TERMINAL AND UART1 PORTS........................................................................................... 10
UART0_EN and UART1_EN Options................................................................................................ 11
UART2_CAN P
ORT .............................................................................................................................. 11
COM_SEL Option.............................................................................................................................. 11
UART2_EN option.............................................................................................................................. 12
CAN Operation................................................................................................................................... 12
CAN_EN option..................................................................................................................................13
I2C PULL-UP ENABLE................................................................................................................... 13
JP1 –
MC13192 ZIGBEETRANSCEIVER ................................................................................................ 13
ZIGBEE_EN Option........................................................................................................................... 13
TX Power............................................................................................................................................14
M5213EVB I/O PORTS .........................................................................................................................14
BDM_PORT.......................................................................................................................................... 14
BDM_EN Option................................................................................................................................ 14
JP2 Option.......................................................................................................................................... 15
BDM Port Connector......................................................................................................................... 15
MCU_PORT.......................................................................................................................................... 16
1
M5213EVB USER MANUAL 08/08/05
Freescale Semiconductor, Inc.
TROUBLESHOOTING............................................................................................................................ 17
DBUG MONITOR OPERATION.........................................................................................................18
DBUG COMMUNICATION: ...................................................................................................................... 18
DBUG SYSTEM INITIALIZATION............................................................................................................. 18
Interrupt Service Support................................................................................................................... 18
DBUG MEMORY MAP ............................................................................................................................ 18
DBUG COMMANDS ................................................................................................................................19
dBUG Command Table...................................................................................................................... 19
APPENDIX 1: DBUG COMMAND SET............................................................................................. 21
ASM - ASSEMBLER............................................................................................................................... 21
BC
- BLOCK COMPARE........................................................................................................................... 21
BF - B BM - B BR - B BS - B DC - D DI - D DL - D DLDBUG – D FL – F GO – E GT - E IRD - I IRM - I HELP - H LR - L LW - L MD - M MM - M MMAP
LOCK FILL.................................................................................................................................... 22
LOCK MOVE ............................................................................................................................... 23
REAKPOINTS ................................................................................................................................23
LOCK SEARCH.............................................................................................................................. 24
ATA CONVERSION ....................................................................................................................... 25
ISASSEMBLE ................................................................................................................................. 25
OWNLOAD CONSOLE ................................................................................................................... 26
OWNLOAD DBUG (UPDATE)............................................................................................ 26
LASH LOAD OR ERASE ................................................................................................................. 27
XECUTE USER CODE .................................................................................................................... 27
XECUTE TO ADDRESS .................................................................................................................. 28
NTERNAL REGISTER DISPLAY...................................................................................................... 28
NTERNAL REGISTER MODIFY...................................................................................................... 28
ELP ......................................................................................................................................... 29
OOP READ.................................................................................................................................... 29
OOP WRITE ................................................................................................................................. 29
EMORY DISPLAY........................................................................................................................ 30
EMORY MODIFY........................................................................................................................30
- MEMORY MAP DISPLAY.......................................................................................................... 31
RD - REGISTER DISPLAY........................................................................................................................ 31
RM - R RESET - R SET - S SHOW - S STEP - S SYMBOL - S TRACE - T VERSION - D TRAP #15 F
EGISTER MODIFY........................................................................................................................ 32
ESET THE BOARD AND DBUG............................................................................................... 32
ET CONFIGURATIONS.................................................................................................................. 33
HOW CONFIGURATIONS ......................................................................................................... 33
TEP OVER................................................................................................................................. 34
YMBOL NAME MANAGEMENT .......................................................................................... 34
RACE INTO ........................................................................................................................... 35
ISPLAY DBUG VERSION.................................................................................................. 35
UNCTIONS........................................................................................................................... 36
OUT_CHAR ....................................................................................................................................... 36
IN_CHAR ........................................................................................................................................... 36
CHAR_PRESENT............................................................................................................................... 37
EXIT_TO_dBUG................................................................................................................................ 37
2
M5213EVB USER MANUAL 08/08/05
Freescale Semiconductor, Inc.
Cautionary Notes
1) Electrostatic Discharge (ESD) prevention measures should be applied whenever handling this product. ESD damage is not a warranty repair item.
2) Axiom Manufacturing reserves the right to make changes without further notice to any products to improve reliability, function or design. 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) EMC Information on the M5213EVB board:
a) This device complies with Part 15 of the FCC Rules. Operation is subject to the following
two conditions:
1) This device may not cause harmful interference, and
2) This device must accept any interference received, including interference that may cause undesired operation.
TX FCC ID# TFY0605AXM0367
b) Changes or modifications to this unit not expressly approved by Axiom Manufacturing,
could void the user’s authority to operate this equipment.
c) This product as shipped from the factory with associated power supplies and cables, has
been tested and meets with requirements of CE IT Equipment CLASS B product.
d) This product is designed and intended for use as a development platform for hardware or
software in an educational / professional laboratory.
e) In a domestic environment this product may cause radio interference in which case the
user may be required to take adequate prevention measures.
f) RF Exposure – This device exceeds the FCC requirements for RF exposure when the
antenna used for this transmitter has a separation distance of at least 20cm from all persons and must not be co-located or operating in conjunction with any other antenna or transmitter.
Terminology
This development board applies option selection jumpers. Terminology for application of the option jumpers is as follows:
Jumper on, in, or installed = jumper is a plastic shunt that fits across 2 pins and the shunt is installed so that the 2 pins are connected with the shunt.
Jumper off, out, or idle = jumper or shunt is installed so that only 1 pin holds the shunt, no 2 pins are connected, or jumper is removed. It is recommended that the jumpers be placed idle by installing on 1 pin so they will not be lost.
Signal names in this document that are followed by an asterisk (*) denote an active-low signal.
3
M5213EVB USER MANUAL 08/08/05
Freescale Semiconductor, Inc.
FEATURES
M5213EVB is a low cost development system for the Freescale MCF5213 ColdFire® microcontroller. Application development is quick and easy with the included DB9 serial cable and dBUG firmware monitor. The BDM port is compatible with standard ColdFire BDM / JTAG interface cables and hosting software, allowing easy application debugging and development with a variety of hardware and software tools.
Features:
MCF5213 CPU, 100 pin LQFP
* 256K Byte Flash (on-chip) * 32K Byte SRAM (on-chip) * DMA Controller w/ four 32-bit Timers * Interrupt Controller * 8 Channel 12-bit A/D * QSPI, IIC, and CAN Serial Ports * 3 UART Serial Ports with DMA capability * Edge / Interrupt Port * 8 PWM timers * 4 16-bit GPT Timers * BDM / JTAG Port * Internal 8MHz Oscillator * 3.3V operation
8MHz reference crystal MCU port, 60 pin I/O port BDM / JTAG Port, 26-pin development port UART0 / Terminal Port w/ RS232 DB9-S Connector UART1 Port w/ RS232 DB9-S Connector UART2 / CAN port w/ RS232 and 1Mbaud CAN
transceiver
RESET switch and indicator ABORT (IRQ7) switch 4 User Indicators (LEDs) 2 User Push Switches 2.4GHz Zigbee™ capable RF Transceiver Regulated +3.3V power supply w/ indicator Supplied with DB9 Serial Cable, Wall Adapter Power supply, and P&E
BDM interface cable.
M5213EVB
Specifications:
Board Size 3.5” x 5.5” Power Input: +5 - +25VDC, 9VDC typical Current Consumption: 100ma typical @ 9VDC input
The M5213EVB is provided, operating the Freescale dBUG monitor firmware. The monitor allows serial interface to a PC host for file loading and terminal command line operations. The kit is plug in and play out of the box with a wall adapter power supply. Additional hardware and software development tools are available, but not required.
4
M5213EVB USER MANUAL 08/08/05
Freescale Semiconductor, Inc.
GETTING STARTED
The M5213EVB single board computer is a fully assembled, fully functional development board for the Freescale MCF5213 microcontroller. It is provided with a wall plug power supply, P&E BDM interface cable, and a serial cable. Provided support software for this development board is for Windows 95/98/NT/2000/XP operating systems.
Development board users should also be familiar with the hardware and software operation of the target MCF5213 device. Refer to the microcontroller reference manual, MCF5213RM, for details. The purpose of the development board is to assist the user in quickly developing an application with a known working environment, to provide an evaluation platform, or as a control module for an applied system. Users should be familiar with memory mapping, memory types, and embedded software design for the quickest successful application development.
Software Development
Application development maybe performed by applying the dBUG firmware monitor, or by applying a compatible ColdFire BDM / JTAG cable with supporting host software. The monitor provides an effective and low cost command line debug method.
Software development is best performed with a development tool connected to the BDM port. This provides real-time access to all hardware, peripherals and memory on the board. Development tool software also provides high-level (C/C++) source code debug environment.
The target development environment and procedure for best success is to place software to be tested into RAM memory. Execute software to be tested under dBUG monitor or development tool control. After the software is tested and operational in RAM, it can be ported and programmed into Flash memory. However, note that programming a bootable application into the internal Flash will overwrite the dBUG monitor. The monitor can be recovered by using a BDM Flash programming tool along with the dBUG binaries provided on the MCF5213 website (http://www.freescale.com/coldfire).
Reference Documentation
The following documents should be referenced when developing with the M5213EVB. These documents are available on the MCF5213 and M5213EVB web pages (http://www.freescale.com/coldfire).
M5213EVBUM – This user manual. MCF5213RM – MCF5213 Device Reference Manual CFPRM – ColdFire Programmers Reference Manual with instruction set M5213EVB_SCH_C – M5213EVB board schematics
5
M5213EVB USER MANUAL 08/08/05
Freescale Semiconductor, Inc.
M5213EVB Startup
Follow these steps to connect and power on the board for the default dBUG monitor operation.
1) Carefully unpack the M5213EVB and observe ESD preventive measures while handling the M5213EVB development board.
2) Configure a virtual terminal program (such as HyperTerminal or Tera Term) for a direct connection to the PC COM port to be applied for serial communication with the M5213EVB. Set the baud rate to 19.2K baud, 8 data bits, 1 stop bit, and no parity. Software XON / XOFF flow control should be enabled for Flash memory support operations. Use the AxIDE ‘’ tool bar button to configure the COM port on the PC.
3) Connect the M5213EVB board UART0 / TERMINAL serial port connector to the host PC COM port with the provided 9 pin serial cable.
4) Apply power to the development board by installing the wall plug power supply between a wall outlet and the PWR Jack on the board. Set the ON / OFF switch to the ON position. The board voltage indicators should turn on at this time.
5) Observe the terminal window display for the dBUG monitor prompt. The prompt should be similar to the following:
External Reset
ColdFire MCF5213 on the M5213EVB Firmware v4a.1b.1b (Built on May 13 2005 08:04:26) Copyright 2005 Freescale Semiconductor, Inc.
Enter 'help' for help.
dBUG>
6) The board is ready to use now. See the dBUG monitor manual section for additional monitor information. If BDM / JTAG development port interfaced tools are to be applied, see the BDM PORT section of this manual for more details on installation.
M5213EVB Hardware Configuration and Options
The M5213EVB board provides a basic development or evaluation platform for the MCF5213 microcontroller. Following are descriptions of the main components and options provided on the board.
MEMORY
The EVB memory is the internal MCF5213 device SRAM and Flash memory. The MCF5213 provides 32K bytes of SRAM and 256K bytes of Flash memory internally. The dBUG monitor occupies the lower 80K bytes of the MCF5213 Flash memory and lower 8K bytes of the SRAM. Refer to the dBUG memory map for default memory locations.
6
M5213EVB USER MANUAL 08/08/05
Freescale Semiconductor, Inc.
POWER SUPPLY
Unregulated DC input power is applied by external connection to the Power Jack or TB1 terminal block. The ON _OFF switch controls the input supply. The EVB 3.3VDC regulator is protected from reverse voltage by diode D7 and current limited by fuse F1.
Power Jack
The Power Jack provides the default power input to the board. The jack accepts a standard
2.0 ~ 2.1mm center barrel plug connector (positive voltage center) to provide the +VIN supply
of +5 to +25 VDC (+9VDC typical).
+Volts, 2mm center
TB1 Power connection
TB1 terminal block provides access to the +VIN and GND (power ground) supplies. The +VIN supply should be limited to the range of +5 to +25 VDC (+9VDC typical).
+VIN - GND
TB1
ON_OFF Switch
The ON_OFF switch provides power On and Off control for the input power from the PWR Jack or TB1. Switch ON position is towards the PWR jack and OFF position is towards the TB1 connector.
ON
ON / OFF
OFF
FUSE – F1
Fuse F1 provides over current protection from PWR Jack or TB1 input to the EVB board. The fuse will open if current over 500mA is sustained or reaches 1 Amp. To reset the fuse, turn the
7
M5213EVB USER MANUAL 08/08/05
Freescale Semiconductor, Inc.
ON/OFF switch off or remove power for 10 minutes. Check for the cause of the over current condition before applying power again.
3.3V_EN Option
Default enabled by circuit trace across the option jumper pin pads, this option allows disabling the on board regulated 3.3VDC supply to the EVB board. Cut or idle this option to reduce current consumption when an external 3.3VDC regulated input voltage is applied from the EVB MCU PORT connector. See the VX_EN option also for more details on applying external +3.3VDC on the MCU PORT.
To enable use of this option, cut the circuit trace between the mounting hole vias and install 1x2, 0.1”ctr, pin-header. A shunt must then be installed to enable this option.
3.3V Indicator
The 3.3V indicator will be ON if voltage is applied to EVB +3.3VDC main supply circuit. If EVB is powered from the PWR jack or TB1 input, ON_OFF switch is ON, and +3.3V_EN is closed, this indicator should be ON. If not, remove power or turn EVB Off and verify connections. If the Fuse is suspect, see the F1 fuse section for reset procedure.
With the 3.3V_EN option open, the indicator will be ON if external 3.3VDC is applied via the MCU Port. The VX_EN option jumper should also be installed.
VDD and VRx Enable Options
The EVB board provides many options to isolate power supplies to the different MCF5213 modules and core. All VDD and VRx options are installed by default. Do not operate the EVB without the proper power supplied to all of the MCF5213 power supply pins. The following table provides the VDD and VRx option information:
VDD and VRx Option Table Option Name Supply Connection MCU Port Connection
VDD_EN +3.3V to MCF5213 VDD pins VDD_PLL +3.3V to MCF5213 VDDPLL pin VSTDBY + 3.3V to MCF5213 VSTDBY pin, also MCU Port
connection
VDDA +3.3V to MCF5213 VDDA analog supply pin,
also MCU Port connection.
VRH VDDA supply to MCF5213 VRH analog
reference pin, also MCU Port
VRL VSSA (ground) to MCF5213 VRL analog
reference pin
VX_EN MCU Port pin 1 connection to +3.3V supply,
input or output. For input, see +3.3V_EN option also.
Pin 60 Pin 55 Pin 57 VRL Pin 58, VSSA pin
56 Pin 1
8
M5213EVB USER MANUAL 08/08/05
Freescale Semiconductor, Inc.
VX_EN Option
The VX_EN option is provided to support external 3.3V input from the MCU PORT pin 1 in conjunction with Freescale educational accessories. The VX_EN option installed provides external 3.3V input (or output if wanted) on MCU Port pin1.
See the 3.3V_EN Option section above to disable the on-board regulator.
RESET
External reset is provided by the RESET switch, LV1 low voltage detector, or user applied connection to the RSTI* signal on the MCU PORT pin 6. If the main 3.3V supply is below operating level, the LV1 voltage detector will cause the MCF5213 to stay in the RESET condition. Both the RESET switch and LV1 provide a 150ms delay after release for the system to stabilize.
Application of RESET will cause the dBUG monitor or user application to initialize the MCF5213. The previous operating state of the MCF5213 will be lost.
RESET Switch
RESET switch provides for manual application of the MCF5213 RSTI* signal. Reset switch operation is provided a 150ms delay after release by LV1.
RESET Indicator
RESET indicator will be ON for the duration of a valid RSTO* signal. This operation indicates the MCF5213 is in the Reset state.
ABORT Switch
The ABORT switch provides for manual application of the IRQ7 interrupt signal. This operation will allow the dBUG monitor to stop execution of a user program and maintain the CPU operating state for user examination.
SW1 and SW2 Switches
User switches 1 and 2 are available for application as needed. Both switches provide an active low signal when pressed. SW1 applies the MCF5213 IRQ4 signal and SW2 applies the MCF5213 IRQ5 signal.
LED[4:1] User Indicators
Four user indicators are provided for application on the MCF5213 DTIN[3:0] signals (configurable as GPIO). Indicators are buffered so they do not load the MCF5213 I/O port.
9
M5213EVB USER MANUAL 08/08/05
Freescale Semiconductor, Inc.
Indicator Table
INDICATOR COLOR OPERATION DEFAULT
CONDITION
LED1 Green MCF5213 DTIN0 status, high = ON ON LED2 Green MCF5213 DTIN1 status, high = ON ON LED3 Green MCF5213 DTIN2 status, high = ON ON LED4 Green MCF5213 DTIN3 status, high = ON ON
LED_EN option
The user LED indicators LED[4:1] must be enabled by the LED_EN option installed.
SYSTEM CLOCK
The EVB provides a 8MHz crystal oscillator reference input in Pierce Mode configuration. The MCF5213 also provides an internal 8MHz relaxation oscillator. The SMA connector position and socket X1 position are for factory testing purposes only and should not be applied.
NOTE: Applying alternate clock inputs without express consent from Axiom Manufacturing may void the user’s authority to operate this equipment.
CLOCK Option Chart
Clock Type Clock Mode CLK_SEL Option Setting
SourcePLLCLK0CLK1 1 23456
Y1 (8MHz) ON Out / Idle Out / Idle In In Out NC NC NC Y1 (8MHz) OFF Out / Idle In In In Out NC NC NC
INT OSC ON In Out / Idle Out Out In NC NC NC INT OSC OFF In In Out Out In NC NC NC
Notes:
1) INT OSC is the internal MCF5213 8MHz relaxation oscillator.
2) CLK_SEL option has 2 option jumpers provided. For INT OSC selection idle one
jumper on one pin so it will not be lost.
3) CLK_SEL option positions 3-6 are for factory use only.
UART0_TERMINAL and UART1 Ports
The UART0_TERMINAL port provides the primary interface to the dBUG monitor with a default baud rate of 19.2K baud, 8 data bits, 1 stop bit, and no parity. Both the UART0 and UART1 ports apply a standard 9-pin serial connector with RS232 type interface to the MCF5213 UART0 or UART1 serial ports. Both ports apply a UARTx_EN option jumper block to enable the MCF5213 UART signals to operate the RS232 ports. A straight through DB9 Male / Female type serial cable can be applied to connect the ports to a standard PC COM port. Following is the DB9S connection reference.
10
M5213EVB USER MANUAL 08/08/05
Freescale Semiconductor, Inc.
UART0_TERMINAL and UART1 Ports
DB9 socket connector with RS232 signal levels.
1,4,6 connected for status null to host
TXD
RXD
GND
1
1 2 6 3 7
4
4 8 5 9
X 6 7 CTS 8 RTS 9
UART0_EN and UART1_EN Options
OPTION
Name
TX UTXD0 output UTXD1 output
RX URXD0 input URXD1 input RTS URTS0* output URTS1* output CTS UCTS0* input UCTS1* input
UART0_EN
MCF5213 signal
applied
UART1_EN
MCF5213 signal
applied
UART2_CAN Port
The UART2_CAN port provides the UART2 RS232 serial port or the CAN network port. Selection of the port interface type is provided by the COM_SEL option jumper block. Additional options provide MCF5213 signal connection to the selected interface transceiver for the port. The UART2_EN option block enables the MCF5213 UART2 signals for RS232 operation and the CAN_EN option block enables the MCF5213 CAN signals for CAN network operation. The CAN port also has a network termination option, CAN_TERM and biasing components RCAN1 and RCAN2 (not populated).
A straight through DB9 Male / Female type serial cable can be applied to connect the UART2 port in RS232 COM mode to a standard PC COM port. CAN mode connection will require the cabling to be compatible to the network applied. Following is the DB9S connection reference:
UART2_CAN Port
CAN RS232
4, 6 tie 4, 6 tie
CAN_LO TXD
GND RXD
1, 6 tie 1, 6 tie
GND GND
COM_SEL Option
Selects UART2_CAN Port connector type of interface between UART2 RS232 operation and CAN operation. All 3 positions should be set for the same selection, UART or CAN.
DB9 RS232 CAN
1 2 6 3 7 4 8 5 9
1, 4 tie 1, 4 tie 7 CTS CAN_HI 8 RTS Do not connect X
CAN Signal
11
DB9 socket connector.
1,4,6 connected for RS232 status null to host
Loading...
+ 26 hidden pages