Renesas RZ Series Quick Start Manual
Hide thumbs Also See for RZ Series:

Advertisement

Quick Links

RZ/N1D Group
RZ/N1S Group
RZ/N1L Group
RZ Family
RZ/N1 Series
All information contained in these materials, including products and product specifications,
represent information on the product at the time of publication and is subject to change by
Renesas Electronics Corp. without notice. Please review the latest information published by
Renesas Electronics Corp. through various means, including the Renesas Electronics Corp.
website (http://www.renesas.com).
Renesas Electronics
www.renesas.com
Application Note:
PROFINET Quick Start Guide
Rev. 1.4.3 January 07, 2019
Preliminary

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RZ Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Renesas RZ Series

  • Page 1 All information contained in these materials, including products and product specifications, represent information on the product at the time of publication and is subject to change by Renesas Electronics Corp. without notice. Please review the latest information published by Renesas Electronics Corp. through various means, including the Renesas Electronics Corp.
  • Page 2 Renesas Electronics products are not subject to radiation resistance design. Please be sure to implement safety measures to guard them against the possibility of physical injury, and injury or damage caused by fire in the event of the failure of a Renesas Electronics product, such as safety design for hardware and software including but not limited to redundancy, fire control and malfunction prevention, appropriate treatment for aging degradation or any other appropriate measures.
  • Page 3 General Precautions in the Handling of the Product The following usage notes are applicable to all products from Renesas. For detailed usage notes on the products covered by this document, refer to the relevant sections of the document as well as any technical updates that have been issued for the products.
  • Page 4: Table Of Contents

    Table of Content Introduction ............................6 Features ............................... 7 Project Setup ............................8 Requirements ..........................8 Hardware ............................8 Sample Application........................9 Quick Start for the 01_simple_io application ................10 3.4.1 Application behavior......................10 3.4.2 Changing MAC Address ...................... 10 3.4.3 Changing IP Address ......................
  • Page 5 Table 3-2: PINs for SPI usage ........................18 Table 3-3: GPIOs for SPI usage ........................18...
  • Page 6: Introduction

    Preliminary document. Specifications in this RZ/N1D/S/L Group document are tentative and subject to change. Application Note PROFINET Quick Start Guide 1. Introduction 1 Introduction This document describes how to run port GmbH’s PROFINET device stack on the RZ/N1 Series. It is possible either to run a standalone variant only using one core, the CM3-core, or to use two separate cores in the case of the RZ/N1D communicating via Core To Core.
  • Page 7: Features

    Preliminary document. Specifications in this RZ/N1D/S/L Group document are tentative and subject to change. Application Note PROFINET Quick Start Guide 2. Features 2 Features The port GmbH’s PROFINET device stack is a fully implemented Conformance Class A PROFINET stack. It has no feature restrictions but in demonstration mode it only runs about 3 hours.
  • Page 8: Project Setup

    Preliminary document. Specifications in this RZ/N1D/S/L Group document are tentative and subject to change. Application Note PROFINET Quick Start Guide 3. Project Setup 3 Project Setup The following chapter describes the setup and usage of the PROFINET device stack. 3.1 Requirements Please extract the released archive to your workspace and make sure that the following components are installed: Tool...
  • Page 9: Sample Application

    Preliminary document. Specifications in this RZ/N1D/S/L Group document are tentative and subject to change. Application Note PROFINET Quick Start Guide 3. Project Setup Figure 3-1: Serial Terminal settings RZ/N1 3.3 Sample Application Several sample applications are provided for port GmbH’s PROFINET device stack. They show how to set up and use the stack.
  • Page 10: Quick Start For The 01_Simple_Io Application

    Preliminary document. Specifications in this RZ/N1D/S/L Group document are tentative and subject to change. Application Note PROFINET Quick Start Guide 3. Project Setup 3.4 Quick Start for the 01_simple_io application 3.4.1 Application behavior The application behavior is controlled by the file appl\goal_pnio\01_simple_io\goal_appl.c. The first part of the file controls the device configuration (modules and slots), the second part is the application itself that mirrors the received output data to the input data.
  • Page 11: Standalone Variant - Rz/N1D And Rz/N1S

    Preliminary document. Specifications in this RZ/N1D/S/L Group document are tentative and subject to change. Application Note PROFINET Quick Start Guide 3. Project Setup refer to the Linux documentation - Quick Start Guide for U-Boot and Linux - RZN1x-Quick-Start- Guide.pdf. There are many similarities between the derivatives of the RZ/N1 series but some minor differences, too.
  • Page 12: Standalone Variant - Rz/N1L

    Preliminary document. Specifications in this RZ/N1D/S/L Group document are tentative and subject to change. Application Note PROFINET Quick Start Guide 3. Project Setup 1. Connect a Linux PC to the board according to section 3.2. 2. Power up the board. 3.
  • Page 13: Core To Core Variant - Rz/N1D (Communication Core)

    Preliminary document. Specifications in this RZ/N1D/S/L Group document are tentative and subject to change. Application Note PROFINET Quick Start Guide 3. Project Setup a. Compile the project via “Project/Compile” or “Project/Rebuild all”. b. Press and hold the devices software-reset button. c.
  • Page 14: Core To Core Variant - Rz/N1D (Application Core)

    Preliminary document. Specifications in this RZ/N1D/S/L Group document are tentative and subject to change. Application Note PROFINET Quick Start Guide 3. Project Setup 6. On a Linux terminal start the command sudo dfu-util -a "sf_cm3" -D FIRMWARE Replace FIRMWARE with the file name of the software to install. 7.
  • Page 15: Core To Core Variant - Rz/N1S

    Preliminary document. Specifications in this RZ/N1D/S/L Group document are tentative and subject to change. Application Note PROFINET Quick Start Guide 3. Project Setup ./goal_rzn_a7_demo_board.bin –i eth0 The GOAL setups the connection to the communication core via core to core and starts the user application.
  • Page 16: Figure 3-6: Multicore Debug Option

    To run the core to core variant of the Simple IO example please perform the following steps: 1. Power up the board. 2. Open the corresponding AC IAR project workspace, e.g.: projects\goal_pnio_rpc\01_simple_io\iar\renesas\rzn1s_a7_threadx\rzn1s_a7_threadx.eww 3. Open the project options and navigate to the subcategory “Multicore” in the category “Debugger”.
  • Page 17: Core To Core Variant - Rz/N1L (Communication Core)

    Preliminary document. Specifications in this RZ/N1D/S/L Group document are tentative and subject to change. Application Note PROFINET Quick Start Guide 3. Project Setup in the subcategory “Multicore” to rzn1s_demo_board_eb. 5. Compile the project via “Project/Compile” or “Project/Rebuild all”. 6. Press the “Download and debug” button or Ctrl+D This will cause IAR to open the slave workspace as an additional IAR workbench instance, build the slave project and load both –...
  • Page 18: Figure 3-8: Spi Connection Of Synergy S7Gs-Sk (Left) And Rz/N1L (Right)

    Preliminary document. Specifications in this RZ/N1D/S/L Group document are tentative and subject to change. Application Note PROFINET Quick Start Guide 3. Project Setup Figure 3-8: SPI connection of Synergy S7GS-SK (left) and RZ/N1L (right) function color S7GS-SK RZ/N1L Black J24-7 CN20-5 SPI Clock Green...
  • Page 19: Setting Up A Profinet Plc (Tia Portal With S7-1500)

    Preliminary document. Specifications in this RZ/N1D/S/L Group document are tentative and subject to change. Application Note PROFINET Quick Start Guide 4. Setting up a PROFINET PLC (Tia Portal with S7- 1500) 4. Setting up a PROFINET PLC (Tia Portal with S7-1500) This chapter shows how to setup a PROFINET PLC by using the Siemens tool TIA (“Totally Integrated Automation”...
  • Page 20: Figure 4-2: Add I/O Modules

    Preliminary document. Specifications in this RZ/N1D/S/L Group document are tentative and subject to change. Application Note PROFINET Quick Start Guide 4. Setting up a PROFINET PLC (Tia Portal with S7- 1500) Figure 4-2: Add I/O modules 6. Add the PLC to the project (Figure 4-3). o Double click on “Add new device”.
  • Page 21: Figure 4-4: Connect The Devices

    Preliminary document. Specifications in this RZ/N1D/S/L Group document are tentative and subject to change. Application Note PROFINET Quick Start Guide 4. Setting up a PROFINET PLC (Tia Portal with S7- 1500) Figure 4-4: Connect the devices 8. Check the IP address of the PLC (Figure 4-5): o Change to “Device view”...
  • Page 22: Figure 4-6: Set Device Name

    Preliminary document. Specifications in this RZ/N1D/S/L Group document are tentative and subject to change. Application Note PROFINET Quick Start Guide 4. Setting up a PROFINET PLC (Tia Portal with S7- 1500) Figure 4-6: Set device name 10. Load the settings to the hardware: o Right-click on the PLC at the “Project tree”...
  • Page 23: Figure 4-7: Configuration Of The Connection

    Preliminary document. Specifications in this RZ/N1D/S/L Group document are tentative and subject to change. Application Note PROFINET Quick Start Guide 4. Setting up a PROFINET PLC (Tia Portal with S7- 1500) Figure 4-7: Configuration of the connection Finish PLC configuration (Figure 4-8) Figure 4-8: Finish configuration Now the PLC should connect to the device and exchange cyclic data with it.
  • Page 24: Revision History

    Communication core in debug mode 2017-07-31 Marcus Züche Minor text updates 2017-08-07 Marcus Züche Review Renesas 2017-12-15 Marcus Züche Add description for autostart the CA7 application. Minor updates. 2018-05-28 Martin Herberg Add description project variants and all RZ/N1 derivatives. Minor Updates 2018-07-04 Martin Ehlert Added interface usb0 as parameter to start command in chapter 3.5.4.1...
  • Page 25 Sales Offices www.renesas.com Refer to "http://www.renesas.com/" for the latest and detailed information. Renesas Electronics America Inc. 2880 Scott Boulevard Santa Clara, CA 95050-2554, U.S.A. Tel: +1-408-588-6000, Fax: +1-408-588-6130 Renesas Electronics Canada Limited 1101 Nicholson Road, Newmarket, Ontario L3Y 9C3, Canada...
  • Page 26 RZ/N1 Group...

This manual is also suitable for:

Rz/n1 seriesRz/n1dRz/n1sRz/n1l

Table of Contents