Renesas RZ/N1S Quick Start Guide

Quick Start Guide
R01QS0021ED0060 Rev. 0.60 Page 1 of 24 Jan.31.2020
RZ/N1S Group
Introduction
RZ/N1 is a family of scalable ARM® based industrial Ethernet switches. Due to the integrated performant ARM® Cortex®-A7 CPU, they are ideal choice for building products such as Programmable Logic Controllers (PLC), complex remote-IO slaves, industrial switches, gateways or operator terminals.
RZ/N1 Family consists of three devices, out of which the RZ/N1S, is an industrial ethernet communication System on Chip with a 3 or 5-ports, depending on the respective chosen package 324BGA/196BGA.
This guide shall assist you to quickly start with your evaluation of the RZ/N1S device on the related Solution Kit board(s) and the Solution Kit software and documentation. It represents a short guide for the first time users with the instructions for the first startup of the board.
In addition to this document, please be aware of the extensive documentation on RZ/N1 devices, evaluation boards and software that you may find in the Solution Kit Documentation directory.
The Solution Kit boards can solely be used for evaluation purposes. It is not allowed to use the boards for commercial purposes.
List of reference documents
Document name
User’s Manual: System Introduction, Multiplexing, Electrical and Mechanical Information
User’s Manual: System Control and Peripheral
User’s Manual: Peripherals
User’s Manual: R-IN Engine and Ethernet Peripherals
User’s Manual: Generic Open Abstraction Layer
RZ/N1S Development Board Schematic
RZ/N1S Development Board Setup Notes
RZ/N1 U-Boot User Manual
RZ/N1S Group CONNECT IT! ETHERNET RZ/N1S-DB
R01QS0021ED0060 Rev. 0.60 Page 2 of 24 Jan.31.2020
List of Abbreviations and Acronyms
Abbreviation
Full Form
API
Application Programming Interface
BSP
Board Support Package
CO
CANopen Bus Protocol
DLR
Device Level Ring Protocol
EtherCAT / ECAT
EtherCAT Network Protocol
EtherNet/IP / EIP
EtherNet/IP Network Protocol
EPL
Ethernet POWERLINK Network Protocol
PNIO
PROFINET IO Protocol
PROFINET
Process Field Network Protocol
lwIP
Lightweight IP Protocol
GOAL
Generic OS Abstraction Layer, Communication Framework on RZ/N1x
LLDP
Link Layer Discovery Protocol
NVM
Non-volatile memory
OS
Operating System
RT
Real-Time
API
Application Programming Interface
HW
Hardware
SW
Software
HSR
High-Availability Seamless Redundancy Protocol
PRP
Parallel Redundancy Protocol
IBIS
I/O Buffer Information Specification for pin signal simulation
EtherCAT is registered trademark and patented technology, licensed by Beckhoff Automation GmbH, Germany. Sercos is a registered trademark of Sercos International e.V. Ethernet POWERLINK is the registered trademark of Ethernet POWERLINK Standardization Group (EPSG). CAN(Controller Area Network)An automotive network specification developed by Robert Bosch GmbH of Germany ARM is a registered trademark of ARM Limited (or its subsidiaries) in the EU and/or elsewhere. All rights reserved. All registered trademarks or trademarks are the property of their respective owners.
RZ/N1S Group CONNECT IT! ETHERNET RZ/N1S-DB
R01QS0021ED0060 Rev. 0.60 Page 3 of 24 Jan.31.2020
1. Overview
The following chapters will help you setup the hardware and software environment and run a sample application on your RZ/N1L evaluation board.
The Solution Kit is being actively updated and new versions of it are iteratively released
Current version of Solution Kit is providing a snapshot of the latest software and documentation
versions at the release time
The CONNECT IT! ETHERNET RZ/N1S Solution Kit is based on the RZ/N1S, a 3/5-port, industrial Ethernet communication SoC in a 324BGA / 196BGA package. RZ/N1D features two independent blocks integrated in a single package – a communication block based on the proven multi-protocol R-IN Engine, as well as an application block and a variety of peripherals. In contrast to the RZ/N1D, RZ/N1S includes only a single ARM® Cortex®-A7 CPU without an external DDR interface, but with 6MB internal SRAM. Please refer to the RZ/N1S device documentation for further differences. Also, the RZ/N1S Solution Kit contains everything you need for fast evaluation and rapid prototyping of multiple industrial Ethernet protocols.
The RZ/N1S Solution Kit contains
RZ/N1S CPU Development Board
IAR I-jet Lite debugger (incl. 20pin flat ribbon and USB-micro/A cable)
USB Cable Micro / Type-A
DVD RZ/N1x-DB Solution Kit for all RZ/N1x devices / boards
Additionally, one can order the RZ/N1-EB Expansion Board separately, that provides the user with the possibility to use an expanded range of functionalities and RZ/N1S interfaces. RZ/N1-EB kit contains:
RZ/N1-EB Expansion Board
Power Supply 24V/750mA
Power Supply Primary Adapters Euro/UK/JPN-US
The expansion board has no stand-alone capability and requires an RZ/N1D or RZ/N1S CPU board.
RZ/N1S
APPLICATION
ThreadX
6MB SRAM
QSPI/NAND
CAN/UART/I2C
SDIO/USB
HD Display Controller
Arm®Cortex®–A7
ETHERNET COMMUNICATION
uItron + HWRTOS
Multi-Protocol
Industrial Ethernet
Arm®Cortex®–M3
5 Port Real-Time
Ethernet Switch
GOAL
C2C
Communication
324BGA (15x15mm, 0.8mm pitch)
196BGA(12x12mm, 0.8mm pitch)
Figure 1-1: RZ/N1S Functional and HW overview
RZ/N1S Group CONNECT IT! ETHERNET RZ/N1S-DB
R01QS0021ED0060 Rev. 0.60 Page 4 of 24 Jan.31.2020
2. Hardware Setup
2.1 CPU Demo Board Setup
To get started quickly with the board, please identify the connectors on the RZ/N1S-DB CPU Board.
Figure 2-1: Board connectors overview
RZ/N1S Group CONNECT IT! ETHERNET RZ/N1S-DB
R01QS0021ED0060 Rev. 0.60 Page 5 of 24 Jan.31.2020
1. Switches and Jumpers
Please take care that the following switches are set.
Table 1: RZ/N1S GPIO Multiplexer DIP-Switch SW5
Number
SW ON (low)
SW OFF (high)
Default Setting
1
RMII/MII
LCD
OFF
2
CAT/S3
PMOD
ON*
3
MSEBI
Mixed
OFF
4
RMII2 / MDIO 3
QSPI2-Memory
OFF
5
USB 1x Host 1x Device
USB 2 x Host
ON
6
ARM Debug**
FTDI Debug
ON
7
Segger Debugger
I-Jet Debugger
OFF
8
Not used
Not used
OFF
*PHY reset available only in PMOD configuration **ARM serial debug feature is not supported with the RZ/N1S demo board from the solution kit package
Table 2: RZ/N1S Boot Config DIP-Switch SW4
Switch
SW ON (white bar)
SW OFF
Default
Setting
SW3
JTAG Mode
ARM Coresight Mode
OFF
SW10
Boot from NAND
Boot from QSPI/USB
OFF
SW11
LCD pull up
LCD pull down
ON
SW12
LCD pull up
LCD pull down
ON
SW1
RXCLK4 from PHY
RXCLK4 from GPIO61
ON
SW7
RXCLK5 from PHY
RXCLK5 from GPIO61
ON
Please refer to the schematics
Table 3: Ethernet RX Clock Selection
SW1: RX_CLK4 Setting
Switch
On Setting (white bar) (default)
Off Setting
SW1
RXCLK4 from Phy
RXCLK4 from GPIO61
SW7: RX_CLK5 Setting
RZ/N1S Group CONNECT IT! ETHERNET RZ/N1S-DB
R01QS0021ED0060 Rev. 0.60 Page 6 of 24 Jan.31.2020
Switch
On Setting (white bar) (default)
Off Setting
SW7
RXCLK5 from Phy
RXCLK5 from GPIO61
Table 4: Jumper Settings RZ/N1S-DB
USB Power
Jumper
On Setting (default)
Off Setting
CN14
Power from USB
Power from expansion board
SRESET from Debugger to RZ/N1D
Jumper
On Setting (default)
Off Setting
CN10
RZ/N1D is connected with the SRESET from the Debugger
Debugger cannot reset the CPU
MRESETout
Jumper
On Setting
Off Setting (default)
CN9
MRESETOUT is connected to the Debugger
Debugger cannot detect any internal CPU reset
USB Host/Device Mode
Jumper
On Setting
Off Setting (default)
CN2
OTG mode ID
Peri Mode ID
Table 5: Push buttons
SW2: Boot Mode Select In case SW3 (2) has selected QSPI it is possible to boot from USB instead of the QSPI if SW2 is
pressed down during RESET.
Switch
On Setting
Off Setting
SW2
Boot from USB
Boot from QSPI
Table 6: Reset and NMI Button
SW8
RZ/N1S Group CONNECT IT! ETHERNET RZ/N1S-DB
R01QS0021ED0060 Rev. 0.60 Page 7 of 24 Jan.31.2020
Power On Clear
Switch
On Setting
Off Setting
SW8
POR Reset
Release POR Reset
SW9: Soft Reset
Switch
On Setting
Off Setting
SW4
Soft Reset
Release Soft Reset
SW6: CM3 NMI
Switch
On Setting
Off Setting
SW6
Generate CM3 NMI
Release CM3 NMI
For more information please refer to the hardware setup notes (RZ_N1S_DB_Board_Setup_Notes) and schematics (RZ_N1S_DB_Board_Schematic) in respective board documentation folder in Solution Kit.
1. JTAG Debug Connector
This connection is required for software development purposes, to be able to run and debug the software on the target. The IAR Debugger cable has one unused key pin, therefore pin 7 of the CN7 connector should be cut or bent, as shown below. After this step, you can attach your I-jet debugger to the board via JTAG cable.
Figure 2-2: Connector CN10 with removed pin 7
RZ/N1S Group CONNECT IT! ETHERNET RZ/N1S-DB
R01QS0021ED0060 Rev. 0.60 Page 8 of 24 Jan.31.2020
Figure 2-3: I-Jet Debugger connection
2. Power connector and serial-over-USB
The board is powered via USB connector CN6. Please make sure that the jumper CN14 is ON. Please connect the board to your PC via USB cable to the connector CN6. The same interface is used for serial UART communication with the board, so if you have a windows PC, after connecting the board via USB, you should be able to see a new device registered with 4 new USB Serial COM ports. You may use any of the terminal emulator on your PC to open a serial port connection to the board. The board uses the 3rd port for UART output at 115200,8,n,1. On Linux PCs, if you have no other serial-over-USB devices attached, this is accessed using /dev/ttyUSB2, provided you do not have any other USB devices attached.
Figure 2-4: Power connector and serial over USB
If the board is not recognized by Windows, please install the FTDI driver that you may find under \YCONNECT-IT-RZN_V1.x\Tools\FTDI.
If the required 3.3V are supplied to RZ/N1S, the green LED24 will be lit and stay ON.
Loading...
+ 18 hidden pages