NCV73810V2GEVB
NCV7381 FlexRay
)
Bus
Driver Evaluation Board
User's Manual
http://onsemi.com
EVAL BOARD USER’S MANUAL
Introduction
This document describes the NCV7381 APP V2
Evaluation board for the ON Semiconductor NCV7381
FlexRay
®
Bus Driver. The functionality and major
parameters can be evaluated with the NCV7381_APP_v2
board.
The NCV7381 is a single-channel FlexRay
®
bus driver
compliant with the FlexRay
®
Electrical Physical Layer
Specification Rev. 3.0.1, capable of communicating at
speeds of up to 10 Mb/s. It provides differential transmit and
receive capability between a wired FlexRay
®
communication medium on one side and a protocol
controller and a host on the other side.
NCV7381 mode control functionality is optimized for
nodes permanently connected to car battery.
Additional details can be found in the NCV7381
datasheet.
allows users immediately start with the NCV7381 FlexRay
Bus Driver. The MCU is preprogrammed with a firmware
which provides simple mode control and FlexRay
communication. With use of Freescalet BDM programmer
and a suitable development environment, the MCU
firmware can be freely modified and reprogrammed.
NCV7381 Pin Connections
INH
EN
V
IO
TxD
TxEN
RxD
BGE
STBN
1
2
NCV7381
3
4
5
6
7
8
FB20100921.4
16
15
14
13
12
11
10
9
V
CC
BP
BM
GND
WAKE
V
BAT
ERRN
RxEN
Board Hardware
The NCV7381_APP_V2 Evaluation board is a reference
design for stand-alone 2-channel FlexRay
®
node. The board
is intended to give designers easy, quick and convenient
means for evaluation of NCV7381 FlexRay bus drivers. The
design incorporates complete node solution with possibility
of modifications and small board size. A set of two boards
The board consists of MCU with integrated 2-channel
FlexRay communication controller interconnected with two
separate FlexRay bus drivers (NCV7381), two switchable
voltage regulators and peripherals. The board is prepared for
various modifications in power supply concept and FlexRay
bus termination, and allows simple extension of the system
by unused MCU pins. USB interface provides compatibility
with standard PC. The address of each board can be easily
modified by address switch what allows creating complex
FlexRay network without need of reprogramming the MCU.
Implemented High Speed CAN interface can be used as
a diagnostic interface in a network built from several nodes.
For evaluation purposes NCV7381 is populated with several
LED diodes and most of the bus driver signals are
comfortable accessible to oscilloscope probes.
©
Semiconductor Components Industries, LLC, 2014
1
January, 2014 − Rev. 3
Publication Order Number:
EVBUM2037/D
NCV73810V2GEVB
GENERAL FEATURES
FlexRay Transceiver
•
Two Separate FlexRay
®
Channels with NCV7381 Bus Driver Compliant with the FlexRay Electrical Physical Layer
Specification Rev. 3.0.1
•
Reconfigurable Bus Termination – End Node/Middle Node
•
Common Mode Choke and Additional ESD Protection Footprint
•
SUBD-9 Connectors – FlexRay bus
•
Local Wakeup Switch
MCU
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
Freescalet 16-bit MC9S12XF Family MCU
Integrated FlexRay Communication Controller (Protocol Specification Rev. 2.1)
Integrated CAN 2.0 A, B Controller
Background Debug Modul – Single-wire Communication with Host Development System
512 kB Flash
32 kB RAM
50 MHz Maximum CPU Bus Frequency
Relatively Small 112-pin LQFP Package
Peripherals
Optical Isolated USB Interface (USB to UART Converter)
Additional CAN Interface
All NCV7381 Digital I/O Pins Connected to Test Points – Easy Connection to Logic Analyzer
8 General Purpose LEDs
Address Switch
Other
Two Automotive Voltage Regulators with Inhibit Function (Input Battery Voltage Up to 42 V)
Power Supplies Voltage Monitoring
Instant 2-nodes FlexRay Network with Running Communication by Connecting Two NCV7381 EVBs
PC Configuration Software under Development (Available upon Request)
PCB Layout
•
The FlexRay Transceiver, the ESD Protection and the Common Mode Choke are Placed near to the FlexRay the ECU
Connector
•
The FlexRay Signal Lines (BP, BM) are Decoupled from Disturbances on the ECU Board
•
The Routing of the FlexRay Lines (BP, BM, TX and TXEN) is Symmetric
•
The Distance between the Lines BP and BM resp. TX and TXEN is Minimized
http://onsemi.com
2
NCV73810V2GEVB
GETTING STARTED
The NCV7381EVB board is fully assembled, pre-programmed and can be immediately used for evaluation. Only a few steps
need be proceeded to get fully working simple FlexRay network.
Connect the evaluation boards as follows:
1. Set the boards to default configuration according to Jumpers and Default Configuration section
2. Set a different board address on each board. One of the boards must be set with address 1 and is considered as Master
Board. Node address is configurable by address switch (SW12) – see Address Switch section for details
3. Connect the boards according to figure below
4. Optionally connect an oscilloscope to any test-point as needed
5. After the power supply is applied, FlexRay communication is automatically initialized
With properly running setup, button SW11 (#IRQ) has following functions:
•
Press the button shortly to read-out Bus Driver status register (Only in Bus Driver status indication mode)
•
Press and hold the button for approximately 2 seconds to change LED bar indication mode. Three modes are available:
♦
♦
♦
♦
FlexRay communication indication – each LED is assigned to one slot according to LED number. The LED is blinking
if the respective slot in FlexRay communication is active
Bus Driver status indication – Channel A,
Bus Driver status indication – Channel B:
LED1 – Local Wake-Up status
LED2 – Remote Wake-Up status
LED3 – TxEN-BGE Timeout status
LED4 – Bus Error status
LED5 – Vio Undervoltage status
LED6 – Vcc Undervoltage status
LED7 – Vbat Undervoltage status
LED8 – Power On status
Press and hold the button for more than 5 seconds – Both nodes are switched to SLEEP mode and can be woken-up by
one of the Local Wake-up switches. Only Node 1 is allowed to send the rest of network to SLEEP mode
In SLEEP mode, NCV7381 is supplied only from VBAT supply. VCC and VIO power supplies are switched off by NCV7381
INH output. MCU is not running and the board can be woken-up only with one of the Local Wakeup buttons (SW70, SW80).
•
NCV7381 Local Wakeup function – Wake-up one of the nodes by any Local Wakeup button
•
NCV7381 Remote Wakeup function – Second node is woken-up by Remote Wakeup pattern sent over the FlexRay bus
by first node during initialization phase after Local Wakeup
http://onsemi.com
3
NCV73810V2GEVB
BOARD OVERVIEW
Basic Interface
Legend:
1 Power Supply Input Connector
2 Aux Digital I/O Connector
3 CAN Backbone Connector 1
4 CAN Backbone Connector 2
5 USB Interface
6 Address Switch
7 FlexRay CC Strobe Output Signals
8 BDM Connector (MCU Debugging Interface)
9
10
11
12
13
14
15
16
FlexRay BD Signals Test Points (Channel A)
FlexRay BD Signals Test Points (Channel B)
MCU Reset Switch
MCU External Interrupt Switch
BD Local Wakeup Switch (Channel A)
BD Local Wakeup Switch (Channel B)
FlexRay Bus Connector (Channel A)
FlexRay Bus Connector (Channel B)
Power Supply Input Connector
J1
Power supply input socket. Plug diameter 2.1 mm, length
14 mm. Maximum input voltage 42 V (Limited by onboard
voltage regulators).
Aux Digital I/O Connector
GND
SS0
MOSI0
TXD1
J12
GND
SCK0
MISO0
RXD1
These pin header contains 6 auxiliary MCU signals – one
complete SPI interface (4 pins) and one UART interface
(2 pins). These signals can be also used as general
Input/Output signals for debugging or other purposes.
CAN Backbone Connectors
CAN backbone network is created as parallel connection
of several boards. Each board contains two equivalent
connectors in parallel, so whole network can be prepared
using only simple point-to-point twisted pair.
H40
H41
J40
H40
H41
J40
H40
H41
J40
PCB1
PCB2
PCB3
http://onsemi.com
4
NCV73810V2GEVB
USB Interface
Standard B type USB socket is used for connection to PC. USB interface is bus powered and electrically isolated from the
rest of the board, so it is not possible to supply this board via USB.
FlexRay CC Strobe Output Signals
STBN1
J11
STBN3
STBN2
The MCU FlexRay block provides a number of strobe
signals for observing internal protocol timing related signals
in the protocol engine.
These signals are connected to STBN pin header:
BDM Connector (MCU Debugging Interface)
STBN0
J10
The BDM module provides a single-wire communication
with host development system (Programming and
debugging interface).
FlexRay BD Digital Signals Test Points Headers
BKGD
NC
NC
GND
RESET
VCC
J83
These headers are intended to be used as a test points for
digital probes. Headers contain all FlexRay BD digital input
and output signals.
Test points for both FlexRay channel A and channel B are
placed on separated headers (J73 – channel A,
J83 – channel B).
FlexRay BD Analog Signals Test Points
GND
EN
TXEN
BGE
ERRN
GND
TXD
RXD
STBN
RXEN
Each FlexRay channel contains 4 analog test points:
•
•
•
•
INH1 – Bus Driver Inhibit 1 output
INH2 – Bus Driver Inhibit 2 output
BP – FlexRay Bus Plus terminal
BM – FlexRay Bus Minus terminal
FlexRay Bus Connectors
FlexRay EPL Specification [1] does not prescribe certain connectors for FlexRay systems. Common used 9-pin D-Sub
connectors were chosen as a suitable connector, whose electrical characteristics satisfy the specification.
Table 1. FLEXRAY CONNECTOR
Pin #
1
2
3
4
5
6
7
8
9
Signal
−
FR_BM
FR_GND
−
−
−
FR_BP
−
(FR_Vbat)
Description
Reserved
BM Bus Line
Ground
Reserved
Reserved
Reserved
BP Bus Line
Reserved
Optional FR External Supply
Connection
Not Connected
BM
GND
Not Connected
Not Connected
Not Connected
BP
Not Connected
Main Supply Line
Yes
Yes (Optional)
Yes (Optional)
ESD Protection
Connector type:
9-pin D-Sub (DIN 41652 or corresponding international standard), plug (male)
http://onsemi.com
5