renesas ydbenetpmod technical reference manual

30
YDBENETPMOD Technical Reference Manual Rev.1.00 Renesas Electronics America Revision date: Aug 29, 2013 www.renesas.com

Upload: others

Post on 06-Dec-2021

2 views

Category:

Documents


0 download

TRANSCRIPT

YDBENETPMOD

Technical Reference Manual

Rev.1.00 Renesas Electronics America

Revision date: Aug 29, 2013 www.renesas.com

YDBENETPMODTechnical Reference ManualError! Unknown document property name.

Page 2 of 30

Error! Unknown document property name.

Disclaimer

By using this Renesas YDBENETPMOD, the user accepts the following terms. The YDBENETPMOD is not guaranteed to be error

free, and the entire risk as to the results and performance of the YDBENETPMOD is assumed by the User. The YDBENETPMOD is

provided by Renesas on an “as is” basis without warranty of any kind whether express or implied, including but not limited to the

implied warranties of satisfactory quality, fitness for a particular purpose, title and non- infringement of intellectual property

rights with regard to the YDBENETPMOD. Renesas expressly disclaims all such warranties. Renesas or its affiliates shall in no

event be liable for any loss of profit, loss of data, loss of contract, loss of business, damage to reputation or goodwill, any

economic loss, any reprogramming or recall costs (whether the foregoing losses are direct or indirect) nor shall Renesas or its

affiliates be liable for any other direct or indirect special, incidental or consequential damages arising out of or in relation to the

use of this YDBENETPMOD, even if Renesas or its affiliates have been advised of the possibility of such damages.

Precautions

This Renesas YDBENETPMOD is only intended for use in a laboratory environment under ambient temperature and humidity

conditions. A safe separation distance should be used between this and sensitive equipment. Its use outside the laboratory,

classroom, study area or similar such area invalidates conformity with the protection requirements of the Electromagnetic

Compatibility Directive and could lead to prosecution.

The product generates, uses, and can radiate radio frequency energy and may cause harmful interference to radio communications.

However, there is no guarantee that interference will not occur in a particular installation. If this equipment causes harmful

interference to radio or television reception, which can be determined by turning the equipment off or on, you are encouraged

to try to correct the interference by one or more of the following measures;

• Ensure attached cables do not lie across the equipment

• Reorient the receiving antenna

• Increase the distance between the equipment and the receiver

• Connect the equipment into an outlet on a circuit different from that which the receiver is connected

• Power down the equipment when not in use

• Consult the dealer or an experienced radio/TV technician for help NOTE: It is recommended that wherever possible

shielded interface cables are used.

The product is potentially susceptible to certain EMC phenomena. To mitigate against them it is recommended that the following

measures be undertaken;

• The user is advised that mobile phones should not be used within 10m of the product when in use.

• The user is advised to take ESD precautions when handling the equipment.

The Renesas YDBENETPMOD does not represent and ideal reference design for an end product and does not fulfill the regulatory

standards for an end product.

YDBENETPMODTechnical Reference ManualError! Unknown document property name.

Page 3 of 30

Error! Unknown document property name.

Table of Contents Chapter 1 - Preface ....................................................................................................................................................... 1

Chapter 2 - Introduction and Purpose .......................................................................................................................... 2

2.1 - Hardware .......................................................................................................................................................... 2

2.2 - Hardware Block Diagram .................................................................................................................................. 3

2.3 - Box Contents .................................................................................................................................................... 4

2.4 - Software ........................................................................................................................................................... 4

2.5 - Usage Models ................................................................................................................................................... 4

Chapter 3 - Getting Started .......................................................................................................................................... 5

3.1 - Assembling/Connecting the YDBENETPMOD ................................................................................................... 5

3.2 - Powering the YDBENETPMOD and YLCDRX63N ............................................................................................. 10

Chapter 4 – Specifications .......................................................................................................................................... 11

4.1 - AC Timing Characteristics ............................................................................................................................... 11

4.2 - Environmental Characteristics ....................................................................................................................... 11

4.3 - Physical Characteristics .................................................................................................................................. 11

Chapter 5 - Power ....................................................................................................................................................... 12

5.1 - 9-25VDC Input/Output Power: +VIN/VOUT, GND ......................................................................................... 12

5.2 - 9-25VDC Input Power: Barrel Power Jack ...................................................................................................... 13

5.3 - +5.0V Main Power Rail: +5V_EXT ................................................................................................................... 13

5.4 - +3.3V Regulation: +3v3 ................................................................................................................................... 13

Chapter 6 - RS485 ....................................................................................................................................................... 14

6.1 - RS485 MCU UART Selection (J203) ................................................................................................................. 14

6.2 - RS485 Receive/Drive Enable (J206) ................................................................................................................ 14

6.3 - RS485 Connector (J214) ................................................................................................................................. 15

Chapter 7 - CAN .......................................................................................................................................................... 16

7.1 - CAN MCU Port Selection and Enabling (J201) ................................................................................................ 16

7.2 - CAN Connector (J214) .................................................................................................................................... 17

Chapter 8 - RS232 ....................................................................................................................................................... 18

8.1 - RS232 MCU UART Selection (J209) ................................................................................................................. 18

8.2 - RS232 Connector (J215) ................................................................................................................................. 18

Chapter 9 - PMOD1 Host ............................................................................................................................................ 19

9.1 - PMOD1 Connector (J212) ............................................................................................................................... 19

9.2 - PMOD1 MCU UART Selection (J207) .............................................................................................................. 20

9.3 - PMOD1 Configuration (J210) .......................................................................................................................... 20

Chapter 10 - PMOD2 Host/Peripheral ........................................................................................................................ 21

YDBENETPMODTechnical Reference ManualError! Unknown document property name.

Page 4 of 30

Error! Unknown document property name.

10.1 - PMOD2 Connector (J213) ............................................................................................................................. 21

10.2 - PMOD2 MCU UART Selection (J208) ............................................................................................................ 22

10.3 - PMOD2 Configuration and Host/Peripheral Select (J211) ........................................................................... 22

Chapter 11 - 10/100 Ethernet (J102) .......................................................................................................................... 23

Chapter 12 - FPC Connector (J202) ............................................................................................................................. 23

Chapter 13 - Baseboard Connector (J204).................................................................................................................. 24

Chapter 14 - Additional Information ........................................................................................................................... 25

YDBENETPMODTechnical Reference ManualError! Unknown document property name.

Page 1 of 30

Error! Unknown document property name.

Chapter 1 - Preface

Cautions

This document may be, wholly or partially, subject to change without notice.

All rights reserved. Duplication of this document, either in whole or part is prohibited without the written permission of Renesas

Solutions Corporation.

Trademarks

All brand or product names used in this manual are trademarks or registered trademarks of their respective companies or organizations.

Copyright

© 2013 Renesas Electronics America, Inc. All rights reserved.

© 2013 Renesas Electronics Europe Ltd. All rights reserved.

© 2013 Renesas Electronics Corporation. All rights reserved.

© 2013 Renesas Solutions Corporation. All rights reserved.

Website: http://www.renesas.com/

Glossary

CPU Central Processing Unit USB Universal Serial Bus

GUI Graphical User Interface

YDBENETPMODTechnical Reference ManualError! Unknown document property name.

Page 2 of 30

Error! Unknown document property name.

Chapter 2 - Introduction and Purpose The Renesas YDBENETPMOD is a flexible and full-featured communications breakout board for use with the

Renesas YLCDRX63N (Embedded GUI Solution Kit). While production worthy, the YDBENETPMOD is primarily

intended for software and hardware developers to experiment and evaluate the extensive I/O features of the RX

MCU on the YLDCRX63N prior to development of their own customized and focused hardware daughter-cards

and/or add-on hardware adjacent to the host module.

The YDBENETPMOD contains several transceivers, including CAN, RS232, and RS485, as well as the popular

PMOD™ connectors for external prototyping modules from Digilent and other vendors. When used with the

Renesas YLCDRX63N the YDBENETPMOD also enables a complete 10/100 Ethernet port to the RX63N MCU.

Distributor inventory of Renesas products can be found here:

YLCDRX63N Embedded GUI Solution Kit YBDENETPMOD Accessory Kit for YLCDRX63N For more information on the Renesas YLCDRX63N Embedded GUI Solution Kit, visit the Renesas website.

2.1 - Hardware The YDBENETPMOD includes the following hardware features:

Direct attachment to the Renesas YLCDRX63N.

o 26 pin 0.1” board-to-board header for serial and power connections.

o 24 pin FPC connection for RMII/Ethernet support on YLCDRX63N.

Flexible options for routing specific MCU ports to specific transceivers/connectors.

o Industry standard 0.1” shunts/headers.

9-25VDC flexible input power supply.

o Powers both the YDBENETPMOD and attached host YLCDRX63N.

o Barrel Jack for standard wall-adapter input (12V 0.5A typical).

o Accommodates Programmable Logic Controller (PLC) standard 24VDC power.

RS485 Transceiver.

o Half and full duplex, differential and single ended operation.

o Jumper selectable to one of 4 different RX MCU UARTs.

o 3.5mm screw terminal plug for both simple and robust wire connections.

RS232 Transceiver.

o Jumper selectable to one of four different RX MCU UARTs.

o 10 pin standard PC-motherboard type connector.

Dual PMOD connections.

o One UART/SPI full host style port.

o One UART-only dual-mode port allowing the YDBENETPMOD to be either a PMOD device or host.

CAN Transceiver.

o 3.5mm screw terminal plug for both simple and robust wire connections.

10/100 Ethernet Transceiver.

o Standard 8 pin Ethernet CAT5/6 jack with dual indicator LEDs.

o Connected to the YLCDRX63N or SIM225-A00/A01/A02 via RMII over the FPC connector.

0 to 70°C operating temperature range.

YDBENETPMODTechnical Reference ManualError! Unknown document property name.

Page 3 of 30

Error! Unknown document property name.

2.2 - Hardware Block Diagram

YDBENETPMODTechnical Reference ManualError! Unknown document property name.

Page 4 of 30

Error! Unknown document property name.

2.3 - Box Contents The following items are included in the YDBENETPMOD package:

YDBENETPMOD Board

9-25VDC US/EU Wall Power Supply

24-pin FFC Cable

0.1” Shunts for jumper selections (20)

Adhesive rubber feet (4)

Board-to-Board Standoffs with screws (4)

DB9-M to IDC10 RS232 Cable (AT-EVEREX)

DB9-F to DB9-F Null Modem Adapter

2.4 - Software The YDBENETPMOD has no MCU on-board; all software is designed to be hosted by the RX MCU on a Renesas

YLCDRX63N Embedded GUI Development Kit. The YLCDRX63N is supported by a growing collection of Renesas and

open source software.

Renesas, Micrium, and Segger have developed numerous example projects demonstrating the various features of

the YDBENETPMOD when used with the YLCDRX63N. Visit the Renesas website for more information.

2.5 - Usage Models The YDBENETPMOD does not operate in a stand-alone fashion; it must be physically attached to a Renesas

YLCDRX63N “host”module. The YDBENETPMOD includes numerous physical jumpers to determine which

transceiver or port (RS485, RS232, etc.) is connected to which RX MCU port so that software can be written to

assume, without any extraneous configuration, dedicated hardware specific to the designers final system.

When evaluating demonstration and example software from third party vendors, ensure the jumpers are set

according to the needs of that software.

YDBENETPMODTechnical Reference ManualError! Unknown document property name.

Page 5 of 30

Error! Unknown document property name.

Chapter 3 - Getting Started 3.1 - Assembling/Connecting the YDBENETPMOD The YDBENETPMOD comes with several nylon standoffs and screws that can be assembled into a stack to not only

fasten two boards together, but also create lab-bench-friendly “feet” for the assembly. Using the 4 inner mounting

holes of the YLCDRX63N and YDBENETPMOD, assemble each of the 4 corners in this fashion:

Then add the 4 soft adhesive “feet” that can be stuck to the bottom of each standoff so that the assembly can be

placed on a work surface more securely and without scratching.

YDBENETPMODTechnical Reference ManualError! Unknown document property name.

Page 6 of 30

Error! Unknown document property name.

For the host modules with the 24 pin FPC connector, lay the YLCDRX63N flat side-beside the YDBENETPMOD as

shown below:

Find the FPC connector J202 on the YDEBENETPMOD and very carefully lift the latch on it.

Be gentle with the latch on the FPC connectors; there is no simple way to repair if

damaged.

YDBENETPMODTechnical Reference ManualError! Unknown document property name.

Page 7 of 30

Error! Unknown document property name.

Insert one end of the 24 pin flex cable into the FPC connector; the cable must exit inwards towards the bulk of the

YDBENETPMOD PCB and have the visible end-cable conductors pointing towards the PCB – the FPC connectors are

not double sided; you must have the conductors on the cable facing towards the PCB.

Ensure you connect the FFC cable exactly as described or you may damage your

YDBENETPMOD and/or the attached host unit.

Repeat with the other end of the FFC into the YLCDRX63N’s similar connector. Again, ensure the conductors are

pointing towards the PCB, and that the cable exits the connector towards the bulk of the PCB.

YDBENETPMODTechnical Reference ManualError! Unknown document property name.

Page 8 of 30

Error! Unknown document property name.

Now that the FFC is connected, carefully fold the two boards together and plug the 0.1” 26 pin board to board

header together, ensuring that the pins are properly aligned and seated, and that the FFC cable and FPC connector

are not stressed in the process.

The FFC will now loop gently 180 degrees, flowing through the small notch on the end of the YDBENETPMOD:

YDBENETPMODTechnical Reference ManualError! Unknown document property name.

Page 9 of 30

Error! Unknown document property name.

The final assembly looks like this:

There are numerous jumpers on the YDBENETPMOD that configure which connectors are connected to which MCU

ports on the RX63N on the YLCDRX63N. They’re shown here; refer to the specific connector section to learn how to

set the jumpers appropriately for your needs:

YDBENETPMODTechnical Reference ManualError! Unknown document property name.

Page 10 of 30

Error! Unknown document property name.

3.2 - Powering the YDBENETPMOD and YLCDRX63N When the YDBENETPMOD is docked to the YLCDRX63N host module, the YDBENETPMOD’s Ethernet and various

transceivers add to the total power budget required to the host. Normally, for development, the YLCDRX63N can

be USB hub powered (through the host’s USB Mini-B device port). When the YDBENETPMOD is attached, this is no

longer possible as the power required for both boards combined exceeds the 500mA USB limit. The 9-25V power

supply on the YDBENETPMOD must be used to power the complete assembly.

The simplest way to power the assembly is to plug a suitable power supply (9-25VDC 1W) into the

YDBENETPMOD’s power barrel jack. An OEM power supply with simple wire connections (for example a

Programmable Logic Controller’s 24VDC supply) can also be connected into the screw-terminal plug on the

CAN/RS485 connector.

Once the assembly is powered, the switch (S201) on the YDBENETPMOD needs to be in the position furthest from

the RS485/CAN connector (J214). In this position, the reset line to the YLCDRX63N will no longer be pulled low and

it will power up.

YDBENETPMODTechnical Reference ManualError! Unknown document property name.

Page 11 of 30

Error! Unknown document property name.

Chapter 4 – Specifications 4.1 - AC Timing Characteristics The AC timing characteristics at the module level are governed by the underlying AC timing characteristics of the

individual components. Consult the component data sheets for more information.

4.2 - Environmental Characteristics Specification Permissible

Minimum Typical Maximum Unit

Operating Temperature 0 70 C

Storage Temperature -20 80 C

Humidity (Non-condensing) 90% (@60C) RH

4.3 - Physical Characteristics The outer dimensions of the YDBENETPMOD are approximately 126mm x 94mm.

YDBENETPMODTechnical Reference ManualError! Unknown document property name.

Page 12 of 30

Error! Unknown document property name.

Chapter 5 - Power The YDBENETPMOD must be powered from an external 9-25VDC power supply, and on the board there are two

subsystems generating the required 5.0V and 3.3V power supplies. These subsystems can accept power from one

of two connectors at a time.

5.1 - 9-25VDC Input/Output Power: +VIN/VOUT, GND The YDBENETPMOD can accept 9-25VDC from the CAN/RS485 connector. The two power signals +VIN/VOUT and

GND are connected downstream from the full bridge rectifier and do NOT protect against cross-wiring of the power

and ground inputs.

When the YDBENETPMOD is powered by the Barrel Power Jack, the +VIN/VOUT and GND power signals may be

used to power externally connected devices.

Do NOT drive power simultaneously to the Barrel Power Jack and the CAN/RS485 connector: connecting more than one power source to the YDBENETPMOD simultaneously may damage your YLCDRX63N, YDBENETPMOD, or even other connected equipment.

Do NOT reverse the polarity of the +VIN/VOUT and GND inputs when powering the device through the CAN/RS485 connector; it may damage your YDBENETPMOD and potentially any other connected equipment.

YDBENETPMODTechnical Reference ManualError! Unknown document property name.

Page 13 of 30

Error! Unknown document property name.

5.2 - 9-25VDC Input Power: Barrel Power Jack The YDBENETPMOD has a Switchcraft RASM712PX Barrel Power Jack as its primary power input jack designed for a

barrel power plug with 2.54mm center pin and 5.5mm outer diameter. Since the input circuit has a full bridge

rectifier, this supply can be either polarity.

Do NOT drive power simultaneously to the Barrel Power Jack and the CAN/RS485 connector: connecting more than one power source to the YDBENETPMOD simultaneously may damage your YLCDRX63N, YDBENETPMOD, or even other connected equipment.

5.3 - +5.0V Main Power Rail: +5V_EXT +VIN/VOUT is delivered to a main 9-28VDC buck switching regulator capable of supplying up to 5.0V @ 2A (10W) to

the +5V_EXT main power rail. This regulator typically operates at 90% efficiency and powers all the 5V needs on

the YDBENETPMOD as well as supplies the main 5V power required to the attached YLCDRX63N via the Baseboard

Connector. A 1.5A 12V (18W) power supply, when converted through the regulator, is more than enough source

power.

All YLCDRX63N modules can have the USB power supply connected (via the mini-B device port) simultaneously

with the +5V_EXT external power source. Which source is used (when both are present) is YLCDRX63N family

member specific: consult the respective Technical Reference Manual.

5.4 - +3.3V Regulation: +3v3 Several circuits on the YDBENETPMOD require 3.3V power. The YDBENETPMOD does not use the 3.3V supply

generated and delivered from an attached YLCDRX63N, but rather has its own independent regulator to convert

+5V_EXT to the +3V3 power signal on the YDBENETPMOD itself. This regulator is capable of a maximum of 1A at

3.3V.

YDBENETPMODTechnical Reference ManualError! Unknown document property name.

Page 14 of 30

Error! Unknown document property name.

Chapter 6 - RS485 The YDBENETPMOD employs an Intersil ISL32483EIBZ RS422/RS485 Transceiver, marked U203 on the schematics.

This device has the following key features:

Half or full duplex operation

Fault protected

Extended common mode rejection

Cable invert feature

16.5kV ESD protection It is an excellent choice for many RS485 point-to-point and multi-drop networks and works particularly well in

many industrial PLC configurations.

6.1 - RS485 MCU UART Selection (J203) An RS485 port operates as a UART transceiver, and the YDBENETPMOD has the ability to connect one of several

UARTs to the transceiver based on jumper block J203:

Connected Positions RX62x SCI RX63x SCI MCU TxD

Pin MCU RxD

Pin

15-16 & 13-14 6-B 6 or 0 P32 P33

11-12 & 9-10 1-A 1 P26 P20

7-8 & 5-6 6-A 6 P00 P01

3-4 & 1-2 2-A 2 P13 P12

Since the RS485 and the ISL32483 operate at 5V, the level shifter U202 ensures the receive data signal RS485_RO is

presented at 3.3V to the MCU.

6.2 - RS485 Receive/Drive Enable (J206) The RS485 transceiver is highly configurable; jumper J206 configures the RS485 signals:

J206 Positions

RX MCU Pin

ISL32483 Pin

ISL32483 Feature

Operation

6-15 P03

Receive Enable

Enabled when P03 is low.

14-13 P44 RE# Enabled when P44 is low.

12-11 P05 Enabled when P05 is low.

None Always enabled.

10-9 P03

Drive Enable

Enabled when P03 is high.

8-7 P44 DE Enabled when P44 is high.

6-5 P05 Enabled when p05 is high.

None Always enabled.

Connecting the same MCU pin to both RE# and DE makes that pin a half-duplex control pin; when high the RS485

output is enabled, when low the receive input is enable and drive disabled. The ISL32483 ensures that (when RE# is

enabled) an idle RS485 line condition also appears as a logic high on RS485_RO.

The RS485_RO receive signal has a weak pull-up so that when RE# is disabled (for instance, when transmitting in

half duplex mode) the MCU RxD pin is appropriately idling high.

The DINV and RINV signals on the ISL32483 are left unconnected. The chip pulls them internally down, so the cable

invert feature is permanently disabled. Ensure that your RS485 cable is wired with the correct polarity.

YDBENETPMODTechnical Reference ManualError! Unknown document property name.

Page 15 of 30

Error! Unknown document property name.

6.3 - RS485 Connector (J214) The external RS485 connector J214 is shared with the CAN connector. It has an industrial screw-terminal type plug

that makes wiring and termination easy. There is no termination facility on the YDBENETPMOD; if cable

termination is required insert a 75 ohm resistor across the appropriate signals at the screw-in connector.

J214 has the following signals:

J214 Pin # Signal Name Description

1 +VIN/VOUT Main 9-25V Power Input/Output

2 GND Ground

3 RS485_A Receive non-inverting input.

4 RS485_B Receive inverting input.

5 RS485_X Transmit non-inverting output.

6 RS485_Y Transmit inverting output.

7 CANH CAN Transmit/Receive H

8 CANL CAN Transmit/Receive L

Do NOT simultaneously drive power to both the Barrel Power Jack and the CAN/RS485 connector or you may damage your YDBENETPMOD, YLCDRX63N, or even other connected equipment.

The +VIN/VOUT and GND signals are NOT protected against reverse polarity. Do NOT reverse the polarity on these signals or you may damage your YDBENETPMOD, YLCDRX63N, or even other connected equipment.

Be careful not to connect the +VIN/VOUT or GND pins inadvertently to pins 3-8 of J214 or you may damage your YDBENETPMOD, YLCDRX63N, or even other connected equipment.

YDBENETPMODTechnical Reference ManualError! Unknown document property name.

Page 16 of 30

Error! Unknown document property name.

Chapter 7 - CAN The CAN port on the YDBENETPMOD is implemented with an Infineon IFX1050GVIO transceiver.

7.1 - CAN MCU Port Selection and Enabling (J201) J201 optionally connects the CAN Tx/Rx from the MCU to the transceiver:

J201 Positions

RX MCU Pin

IFX1050GVIO Pin

IFX1050GVIO Feature

Operation

4-3 P32/CTX0 CAN_TXD Transmit Data

Connected to P32/CTX0

None Disconnected

2-1 P33/CRX0 CAN_RXD Receive Data

Connected to P33/CRX0

None Disconnected

12-11 GND

CAN_INH Inhibit

Enabled

10-9 P03 Enabled when P03 is low

8-7 P44 Enabled when P44 is low

6-5 P05 Enabled when P05 is low

None None Disabled

Remove the shunts from J201 4-3 and 2-1 if you are not using CAN. If you are using CAN, place shunts on both of

these positions. The CAN port on the MCU is exposed on pins P32 and P33, which are shared with UART 6-B

(RS62x) and UART 6 or 0 (RX63x), so not only must the MCU be configured to enable the CAN functionality on

P32/P33, but using the CAN functionality prevents the use of those UARTs for other YDBENETPMOD features such

as RS485, RS232, PMOD1, and PMOD2.

In addition to connecting the Tx/Rx on J201, the CAN transceiver has an “inhibit” input which, when left

disconnected, disables the part. Explicitly pull this pin to +3V3 or connect it to a software-controlled GPIO to

enable the CAN transceiver.

YDBENETPMODTechnical Reference ManualError! Unknown document property name.

Page 17 of 30

Error! Unknown document property name.

7.2 - CAN Connector (J214) The external CAN connector J214 is shared with the RS485 connector. It has an industrial screw-terminal type plug that makes wiring and termination easy. There is no termination facility on the YDBENETPMOD; if cable termination is required insert a termination resistor across CANH/CANL at the screw-in connector. J214 has the following signals:

J214 Pin # Signal Name Description

1 +VIN/VOUT Main 9-25V Power Input/Output

2 GND Ground

3 RS485_A Receive non-inverting input.

4 RS485_B Receive inverting input.

5 RS485_X Transmit non-inverting output.

6 RS485_Y Transmit inverting output.

7 CANH CAN Transmit/Receive H

8 CANL CAN Transmit/Receive L

Do NOT simultaneously drive power to both the Barrel Power Jack and the CAN/RS485 connector or you may damage your YDBENETPMOD, YLCDRX63N, or even other connected equipment.

The +VIN/VOUT and GND signals are NOT protected against reverse polarity. Do not reverse the polarity on these signals or you may damage your YDBENETPMOD, YLCDRX63N, or even other connected equipment.

Be careful not to connect the +VIN/VOUT or GND pins inadvertently to pins 3-8 of J214 or you may damage your YDBENETPMOD, YLCDRX63N, or even other connected equipment.

YDBENETPMODTechnical Reference ManualError! Unknown document property name.

Page 18 of 30

Error! Unknown document property name.

Chapter 8 - RS232 The RS232 port on the YDBENETPMOD is implemented with the Texas Instruments MAX3232 transceiver. While the Baseboard Connector from the YLCDRX63N has a high speed serial port capability at 3.3V levels, the J215

RS232 10-pin header connector on the YDBENETPMOD delivers full voltage RS232 Tx/Rx pins. There is no CTS/RTS hardware handshaking support.

8.1 - RS232 MCU UART Selection (J209) The J209 jumper block routes the desired UART (SCI) from the MCU to the RS232 transceiver chip:

Connected Positions RX62x SCI RX63x SCI MCU TxD

Pin MCU RxD

Pin

15-16 & 13-14 6-B 6 or 0 P32 P33

11-12 & 9-10 1-A 1 P26 P20

7-8 & 5-6 6-A 6 P00 P01

3-4 & 1-2 2-A 2 P13 P12

You will always want to put a pair of jumpers on the pair of pins, for example 15-16 and 13-14 for P32/P33, that connect both Tx and Rx from the RS232 transceiver to the MCU UART (SCI).

8.2 - RS232 Connector (J215) The J215 connector is identical to that still found on some PC motherboards: a standard 10 pin (2x5) 0.1” header (commonly called an “IDC-10” header) that assumes it is the “terminal” (vs. “modem” or “peripheral”) in the RS232 relationship. J215 conforms to the new Intel/AT/Everex standard:

IDC-10 Pin D89-M

Pin RS232 Name RS232 Feature

2 2 RxD Receive Data

3 3 TxD Transmit Data

5 5 GND Ground

The cable “stripe” indicates pin 1, and should be matched with the heavy white end of the silk screen on the PCB connector as follows:

Incorrectly orienting the IDC-10 connector to J215 may damage your YDBENETPMOD, YLCDRX63N, or even other connected equipment.

YDBENETPMODTechnical Reference ManualError! Unknown document property name.

Page 19 of 30

Error! Unknown document property name.

An off-the-shelf “new Intel”/AT/Everex IDC-10 to DB9 male cable is inexpensive and easily found: a local Fry’s

Electronics had 10 in stock at less than $4. Online sources include Newegg, M2Cables, and PCCables

There are two different IDC-10 pin out formats: make sure you get the (more common) new Intel/AT/Everex 1-1,

2-2, 3-3… format, not the old Intel/DTK format. There has been significant confusion and debate on this difference

in formats on the web, especially since Intel switched in the mid-2000’s. This simple cable allows direct connection

to traditional RS232 peripherals like serial printers.

However because this standard cable delivers an RS232 “terminal” experience via a DB9 male if connected to

another “terminal” like a PC serial port or USB-to-Serial-cable, there needs to be a null modem gender adapter in

between. Alternatively, since most of the IDC-10 cables have a soldered DB9 male, it is possible to replace it with a

little bit of soldering to a rewired DB9 female (crossing RX/TX etc.) and creating a complete all-in-one null modem

cable.

Chapter 9 - PMOD1 Host PMOD1 (J212) is a Digilent PMOD™ compatible 2x6 host port. It supports, depending on jumpers and MCU

configuration, 5 standard PMOD configurations:

Type 1 - GPIO

Type 2 - SPI

Type 2A - Expanded SPI

Type 4 - UART without CTS/RTS flow control

Type 4A - Expanded UART without CTS/RTS flow control

For information on the PMOD convention, see the Digilent website, or read the PMOD standard.

9.1 - PMOD1 Connector (J212)

Pay special attention to the pin order of the PMOD connectors: it is not the zig-zag numbering convention normally used for headers. Incorrectly wiring to the PMOD connectors may damage your YDBENETPMOD, YLCDRX63N, or even other connected equipment.

J212 Pin #

Signal Direction Description

12,6 PMOD1_3v3 OUT Optionally to SIM's +3v3

11,5 GND Ground

8 RESET# OUT RESET# Output

7 PMOD1_INT IN Interrupt Input

4 PMOD1_RSPCK OUT SPI Clock

3 PMOD1_MISO_RXD IN SPI Master-In-Slave-Out/UART RxD

2 PMOD1_MOSI_TXD OUT SPI Master-Out-Slave-In/UART TxD

1 PMOD1_SSL# OUT SPI Slave Select

The PMOD1 port can be configured using jumper blocks:

J207 for selecting which MCU UART (SCI) is connected (if any) to the PMOD1 connector.

J210 for enabling power, interrupts, and extra SPI signals to the PMOD1 connector.

YDBENETPMODTechnical Reference ManualError! Unknown document property name.

Page 20 of 30

Error! Unknown document property name.

9.2 - PMOD1 MCU UART Selection (J207) The J207 jumper block routes the desired UART (SCI) from the MCU to the PMOD1 connector:

Connected Positions RX62x SCI RX63x SCI MCU TxD

Pin MCU RxD

Pin

15-16 & 13-14 6-B 6 or 0 P32 P33

11-12 & 9-10 1-A 1 P26 P20

7-8 & 5-6 6-A 6 P00 P01

3-4 & 1-2 2-A 2 P13 P12

PMOD1 is a 3.3V UART, not a full-level RS232 port. The Digilent Pmod RS232X Pmod device plugs into the Pmod connector and delivers a full-level DB9-F RS232 port. Alternatively, you can hand-wire an inexpensive adaptor (such as the CircuitMonkey.com USB-Serial TTL Adapter) to the Pmod connector to enable full serial-over-USB communications to a PC.

9.3 - PMOD1 Configuration (J210) J210 optionally enables power, interrupts, and extra SPI signals to the PMOD1 connector:

Connected Positions

RX62x Function

RX63x Function

MCU Pin PMOD1 Function, When

Connected

16-15 +3v3 +3V3 Out

14-13 RESET# Reset# Out

12-11 IRQ11-A IRQ11 P03

Interrupt In 10-9 IRQ12 IRQ12-DS P44

8-7 IRQ13-A IRQ13 P05

6-5

4-3 RSPCKB-A RSPCK0 P27 SPI Clock Out

2-1 SSLB-A SSLB0 P31 SPI Slave Select Out

To enable the various Pmod configurations, ensure jumpers are installed on J210 as follow:

PMOD Type 16-15 14-13 12-11 or 10-9 or 8-7 6-5 4-3 2-1

2 - SPI x x x

2A - Expanded SPI x x x x x

4 - UART x

4A - Expanded UART x x x

YDBENETPMODTechnical Reference ManualError! Unknown document property name.

Page 21 of 30

Error! Unknown document property name.

Chapter 10 - PMOD2 Host/Peripheral PMOD2 (J213) is a Digilent PMOD™ compatible 1x6 or 2x6 host or peripheral port. It supports, depending on jumpers and MCU configuration, 3 PMOD configurations:

Type 1 GPIO Type 4 UART without CTS/RTS flow control Type 4A Expanded UART without CTS/RTS flow control

For information on the PMOD convention, see the Digilent website, or read the PMOD standard. PMOD2 can not only be configured as a traditional host port, but also can be configured to resemble a PMOD peripheral. When configured as a peripheral, an external PMOD host (such as a Renesas Development Kits RDKRX63N or YRDKRL78) can be directly connected and the YDBENETPMOD/YLCDRX63N combination can act as a very sophisticated PMOD device.

10.1 - PMOD2 Connector (J213) The PMOD2 connector J213 can be configured as a PMOD host or peripheral, in type 1, 4, or 4A modes:

J213 Pin #

Signal Host

Mode Peripheral

Mode Description

12, 6 PMOD2_3v3 OUT DNC1 Optionally connected to YLCDRX63N's +3v3

11, 5 GND System Ground

8 RESET# OUT IN2 System Reset#

7 PMOD2_INT IN OUT Interrupt Input (Host) or Output (Peripheral)

3 PMOD2_RXD/TXD IN OUT UART RxD In (Host) or TxD Out (Peripheral)

2 PMOD2_TXD/RXD OUT IN UART TxD Out (Host) or RxD in (Peripheral)

1Do not connect the +3V3 to PMOD2 in Peripheral Mode: it will conflict with the expected +3V3 coming from the attached PMOD host.

2Be careful connecting RESET# in peripheral mode. The YDBENETPMOD/YLCDRX63N supports an open-drain type RESET# input and, when it sees an incoming RESET# active, will ensure the line is held low for ~250mS. You may not even want the YDBENETPMOD/YLCDRX63N to reset when the host resets. If you do, ensure the connected host also is open-drain (or push-button to ground), never actively drives high, and that this extra hold will not disrupt its operation. If the connected host actively drives RESET# high and these are connected, you may damage your equipment.

Pay special attention to the pin order of the PMOD connectors: it is not the zig-zag numbering convention normally used for headers. Incorrectly wiring to the PMOD connectors may damage your YDBENETPMOD, YLCDRX63N, or even other connected equipment.

PMOD2 is a 3.3V UART, not a full-level RS232 port. The Digilent Pmod RS232X PMOD device plugs into the PMOD connector and delivers a full-level DB9-F RS232 port. Alternatively, you can hand-wire an inexpensive adaptor (such as the CircuitMonkey.com USB-Serial TTL Adapter) to the PMOD connector to enable full serial-over-USB communications to a PC.

PMOD2 is configured using jumper blocks: J208 for selecting which MCU UART (SCI) is connected (if any) to the PMOD2 connector. J211 for selecting host/peripheral mode, interrupts, power, and reset connectivity.

YDBENETPMODTechnical Reference ManualError! Unknown document property name.

Page 22 of 30

Error! Unknown document property name.

10.2 - PMOD2 MCU UART Selection (J208) PMOD2 should be configured to connect to an MCU UART (SCI) using J208:

Connected Positions RX62x SCI RX63x SCI MCU TxD

Pin MCU RxD

Pin

15-16 & 13-14 6-B 6 or 0 P32 P33

11-12 & 9-10 1-A 1 P26 P20

7-8 & 5-6 6-A 6 P00 P01

3-4 & 1-2 2-A 2 P13 P12

10.3 - PMOD2 Configuration and Host/Peripheral Select (J211) J211 configures and connects the signals for PMOD2. It is used slightly differently than the other jumper blocks;

nearly all jumpers on the board are placed horizontally across the rows. However, the bottom area (pins 1 to 6) on

J211 are used vertically to deliver the selected UART either directly or flipped to the PMOD2 connector. When

configured directly (4-2 & 3-1), PMOD2’s UART is in host mode. When flipped (6-4 and 5-3), PMOD2’s UART is in

peripheral mode.

J211 Connected Positions

RX62x Function

RX63x Function

MCU Pin

PMOD2 Function, When Connected

16-15 +3v3 +3v3 Out

14-13 RESET# Reset# In/Out

12-11 IRQ11-A IRQ11 P03

Interrupt In/Out 10-9 IRQ12 IRQ12-DS P44

8-7 IRQ13-A IRQ13 P05

6-4 PMOD2_TXD/RXD_SEL UART peripheral mode Tx to Rx, Rx to Tx 5-3 PMOD2_RXD/TXD_SEL

4-2 PMOD2_RXD/TXD_SEL UART host mode Tx to Tx, Rx to Rx 3-1 PMOD2_TXD/RXD_SEL

To enable the various PMOD configurations, ensure jumpers are installed on J211 as follow:

PMOD Mode

PMOD Type 16-15 14-13 12-11 or 10-9 or 8-7 6-4 or 5-3 4-2 or 3-1

Host 4 - UART x x

4A - Expanded UART x x x x

Peripheral 4 - UART x

4A - Expanded UART ?1 x x 1See note above regarding peripheral mode RESET# connection

YDBENETPMODTechnical Reference ManualError! Unknown document property name.

Page 23 of 30

Error! Unknown document property name.

Chapter 11 - 10/100 Ethernet (J102) The YDBENETPMOD includes a Renesas uPD60610 PHY with industry standard RJ48 10/100 Ethernet jack, marked

J102 on the schematics. The PHY is connected to the RX63N’s RMII port on the YLCDRX63N via the J102 FPC

Connector so the flex cable must be attached in order for the Ethernet feature to function. The J204 Baseboard

Connector is not required for Ethernet operation. Programming and functionality of the RX63N’s MAC and

uPD60610 PHY are beyond the scope of this manual; consult the respective data sheets.

Micrium has a complete Ethernet driver and TCP/IP stacks that demonstrate the functionality of this port with a small web server demo application (See YLCDRX63NE Demo of Everything).

The J102 Ethernet RJ45 jack has two LEDs built into its housing. GPIO0 of the PHY should be programmed as LED0

(Activity) to show link activity on the yellow LED. GPIO7 of the PHY should be programmed as LED2 to go active

when in 100BT mode.

Chapter 12 - FPC Connector (J202) In order to use the 10/100 Ethernet feature, the YDBENETPMOD’s J202 must be

connected to the YLCDRX63N via a 24 pin FFC cable. The pins on the FFC cable are

mirrored on the YDBENETPMOD compared to the YLCDRX63N so that, when mated, the

signals are appropriately connected.

The J202 FPC Expansion Connector on the YDBENETPMOD is the FCI 10051922-2410ELF

24 position 0.5mm Gold plated Bottom signal latching connector. Most YDBENETPMOD

kits come with a standard flex cable; replacement or additional cables can be purchased

from Molex, for example the 6” Molex 21020-0259.

The FPC Expansion Connector exposes numerous GPIO signals from the MCU, including

the same seven connections as the 7-pin Power and Communications Connector on the

YLCDRX63N. If desired, the FPC Expansion Connector can be the only external

connection to the YLCDRX63N.

If the YLCD family member has the RX63N (vs. RX621/RX631) MCU specified, the MCU’s

Reduced MII (RMII) Ethernet MAC connection is fully available on this connector for use

with an external RMII PHY, magnetics, and 10/100 Ethernet jack. The YDBENETPMOD

provides this Ethernet capability when the FPC connector is installed and the underlying

YLCD has the RX63N MCU.

The RX63N/RX631 MCUs have extensive I/O multiplexers allowing one of many different peripheral functions to

map to a given I/O pin: consult the RX63N/RX631 hardware manuals for the complete list of options.

YDBENETPMODTechnical Reference ManualError! Unknown document property name.

Page 24 of 30

Error! Unknown document property name.

Chapter 13 - Baseboard Connector (J204) The 26-pin 0.1” Baseboard Connector, marked J204, carries the power, serial, and GPIO signals between the

YLCDRX63N and the YDBENETPMOD. The pins on this header are mirrored on the YDBENETPMOD and the

YLCDRX63N so that, when mated, the signals are appropriately connected. The unpopulated J205 adjacent to

J204 is for your use: you can tap into these signals directly for measurement and observation as desired.

J205 is provided for your use to add external circuitry and measurement. However, be aware that connecting to this port (e.g. soldering a header into the YDBENETPMOD) may void your warranty.

Many of the indicated functions require software pin configuration on the RX MCU to operate as specified. Careful examination of the appropriate RX MCU Manual yields the ability to reconfigure many of these pins to these functions as well as other modes, including GPIO.

Only some of these signals are connected to circuitry on the YDBENETPMOD:

Signal Description Pin MCU Name

+5V_EXT YDBENETPMOD provides 5V to this pin from its power supply. 6 -

RX_SDA0 GPIO, I2C2 Data, or UART2 TxD 7 P13/SSDA2/TXD2

RX_SCL0 GPIO, I2C2 Clock, or UART2 RxD 8 P12/SSCL2/RXD2

RX_RSPCKB RX MCU RSPI1 Clock 9 P27/RSPCKB

RX_GPIO1 GPIO, Analog to Digital Input, or Interrupt. 10 P44/AN004/IRQ12

RX_MOSIB RX MCU RSPI0 Master-Out-Slave-In 11 P26/MOSIB

RX_MISOB RX MCU RSPI0 Master-In-Slave-Out 12 P30/MISOB

RX_SSLB0# RX MCU RSPI1 Slave Select 14 P31/SSLB0#

RX_TXD6 GPIO or RX UART6 TxD 17 P00/TXD6

RX_RXD6 GPIO or RX UART6 RxD 18 P01/RXD6

RX_GPIO4 GPIO or CAN0 TxD 19 P32/CTX0

RX_GPIO3 GPIO or CAN0 RxD 20 P33/CRX0

RX_GPIO2 GPIO or Digital to Analog Port 1. 21 P05/DA1

RESET# System Reset (wired-or with Reset Switch) 22 RESET#

GND Ground 25, 26 -

The Baseboard Header is not keyed or polarized. Misaligned assembly or connecting it backwards may damage your YDBENETPMOD, YLCDRX63N, or even other connected equipment.

YDBENETPMODTechnical Reference ManualError! Unknown document property name.

Page 25 of 30

Error! Unknown document property name.

Chapter 14 - Additional Information

Further information available for this product can be found on the Renesas website at:

http://am.renesas.com/ddlcd

General information on Renesas Microcontrollers can be found on the

following website. Global: http://www.renesas.com/

Renesas Electronics America, Inc.

2880 Scott Boulevard

Santa Clara, CA 95050-2554, US