Table of Contents

Advertisement

Quick Links

RA4M2 Group
Evaluation Kit for RA4M2 Microcontroller Group
Renesas
RA Family
RA4 Series
All information contained in these materials, including products and product specifications, represents
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).
www.renesas.com
EK-RA4M2
Quick Start Guide
Rev.1.00 Jan 2021

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for Renesas RA4M2

  • Page 1 All information contained in these materials, including products and product specifications, represents 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.
  • Page 2 Renesas Electronics disclaims any and all liability for any damages or losses incurred by you or any third parties arising from the use of any Renesas Electronics product that is inconsistent with any Renesas Electronics data sheet, user’s manual or other Renesas Electronics document.
  • Page 3 Unit Products The following usage notes are applicable to all Microprocessing unit and Microcontroller unit 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 Terms and Conditions available at https://www.renesas.com/en-us/legal/disclaimer.html. The EK-RA4M2 is not guaranteed to be error free, and the entire risk as to the results and performance of the EK-RA4M2 is assumed by the User. The EK- RA4M2 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 good workmanship, fitness for a particular purpose, title, merchantability, and non-infringement of intellectual property rights.
  • Page 5: Table Of Contents

    Figure 1. EK-RA4M2 Kit Contents ........................7 Figure 2. Quick Start Example Project Flow ....................8 Figure 3. Connecting the EK-RA4M2 Board to the Host PC via USB Full Speed Port ........9 Figure 4. USB Serial Device in Windows Device Manager ................10 Figure 5.
  • Page 6 Figure 21. Building the Project ........................24 Figure 22. Successful Build Output ....................... 24 Figure 23. Connecting the EK-RA4M2 Board to the Host PC via USB Debug Port ........25 Figure 24. Selecting the Debug Option ......................26 Figure 25. Selecting the Debug Image ......................26 Figure 26.
  • Page 7: Renesas Ra Family

    3. Prior to running the Quick Start example project or programming the EK-RA4M2 board, default jumper settings must be used. Refer to the EK-RA4M2 user’s manual for the default jumper settings. 4. The screen shots provided throughout this document are for reference. The actual screen content may differ depending on the version of software and development tools used.
  • Page 8: Overview Of The Quick Start Example Project

    10%, 50%, and 90%. When the EK-RA4M2 board running the Quick Start example project is connected to a host PC via USB as a Full Speed CDC Device, the kit information, MCU die temperature, and user LED blinking frequency are displayed on a terminal console.
  • Page 9: Running The Quick Start Example Project

    RA4M2 board lights up white, indicating that the EK-RA4M2 board is powered on. Note: If the EK-RA4M2 board is not powered through micro-AB USB Full Speed port (J11) and the host PC, then USB CDC functionality of the Quick Start example project cannot be fully demonstrated because of the absence of a USB Full Speed Device connection with the host PC.
  • Page 10: Running The Quick Start Example Project

    Note: The debug LED (LED5) will blink or light up orange; this can be ignored for now. 2. Press the user button (S1) on the EK-RA4M2 board to change the intensity of the user LED1. With every press of the user button (S1), the intensity will switch from 10% to 50% to 90% and cycle back.
  • Page 11: Figure 5. Selecting The Serial Port On Tera Term

    Renesas RA Family EK-RA4M2 – Quick Start Guide 5. Open Tera Term, select Serial and COMxx: USB Serial Device (COMxx) and click OK. Figure 5. Selecting the Serial Port on Tera Term 6. Using the Setup menu pull-down, select Serial port… and ensure that the speed is set to 115200, as shown below.
  • Page 12: Figure 7. Welcome And Main Menu

    Renesas RA Family EK-RA4M2 – Quick Start Guide 7. Complete the connection. The ‘welcome and main menu’ screen will be displayed. Figure 7. Welcome and Main Menu R20QS0018EG0100 Rev.1.00 Page 12 of 29 Jan.04.21...
  • Page 13: Figure 8. Kit Information

    Renesas RA Family EK-RA4M2 – Quick Start Guide Press 1 to display the Kit Information including the kit name, part number, MCU ID, MCU die temperature, and the user LED’s current blinking frequency. Figure 8. Kit Information 8. Press space to return to the ‘welcome and main menu’ screen.
  • Page 14: Figure 9. Quad-Spi Block Write Size

    Renesas RA Family EK-RA4M2 – Quick Start Guide 9. Press 2 to display the Quad-SPI FLASH Write/Read. This application performs a read-write cycle to the Quad-SPI memory, in the Special Functions Area of the evaluation kit. 10. Enter a read-write block size, in kB, using multiples of 2 kB and press tab.
  • Page 15: Figure 10. Quad-Spi Speed Measurement

    Renesas RA Family EK-RA4M2 – Quick Start Guide 11. The EK-RA4M2 will write a block of memory, of the entered size, then read it back. On successful completion the cycle times will be displayed as follows: Figure 10. Quad-SPI Speed Measurement 12.
  • Page 16: Customizing The Quick Start Example Project

    Renesas RA Family EK-RA4M2 – Quick Start Guide 13. Press 3 to display Next Steps. Figure 11. Next Steps 14. Press space to return to the ‘welcome and main menu’ screen. 5. Customizing the Quick Start Example Project This section lists the requirements and instructions for customizing the Quick Start example project.
  • Page 17: Downloading And Installing Software And Development Tools

    1. Download and extract the Quick Start example project to a local directory on the host PC.  The Quick Start example project (source code and project files) is available in the EK-RA4M2 Example Projects Bundle that is available in the Downloads tab of EK-RA4M2 webpage at renesas.com/ra/ek-ra4m2...
  • Page 18: Figure 14. Importing The Project

    Renesas RA Family EK-RA4M2 – Quick Start Guide 5. Click Import from the File drop-down menu. Figure 14. Importing the Project R20QS0018EG0100 Rev.1.00 Page 18 of 29 Jan.04.21...
  • Page 19: Figure 15. Importing Existing Projects Into The Workspace

    Renesas RA Family EK-RA4M2 – Quick Start Guide 6. In the Import dialog box, select General, and then select Existing Projects into Workspace. Figure 15. Importing Existing Projects into the Workspace 7. Click Next. R20QS0018EG0100 Rev.1.00 Page 19 of 29...
  • Page 20: Figure 16. Selecting The Root Directory

    Renesas RA Family EK-RA4M2 – Quick Start Guide 8. Click Select root directory and click Browse to go to the location of the Quick Start example project folder. Figure 16. Selecting the Root Directory R20QS0018EG0100 Rev.1.00 Page 20 of 29...
  • Page 21: Figure 17. Finishing Importing The Quick Start Example Project

    Renesas RA Family EK-RA4M2 – Quick Start Guide 9. Select the Quick Start example project and click Finish. Figure 17. Finishing Importing the Quick Start Example Project R20QS0018EG0100 Rev.1.00 Page 21 of 29 Jan.04.21...
  • Page 22: Modifying, Generating, And Building The Quick Start Example Project

    Renesas RA Family EK-RA4M2 – Quick Start Guide 5.3 Modifying, Generating, and Building the Quick Start Example Project This section provides instructions to modify the Quick Start example project. The Quick Start example project can be modified by editing the source code and reconfiguring the properties of the MCU peripherals, pins, clocks, interrupts, and so forth.
  • Page 23: Figure 19. Modifying The Configuration Settings

    Renesas RA Family EK-RA4M2 – Quick Start Guide 2. For example, in the Stacks tab of the configurator, the user can click to select modules to modify the configuration settings, as required, in the Properties tab. The following screen shot illustrates modifying the USB Console driver configuration.
  • Page 24: Figure 20. Saving The Configuration Changes

    Renesas RA Family EK-RA4M2 – Quick Start Guide 3. After the desired modifications are made, click Generate Project. A dialog box may appear with an option of saving the configuration changes. Click Proceed. Figure 20. Saving the Configuration Changes 4. Modify the source files in the /src folder as needed and save the changes.
  • Page 25: Setting Up Debug Connection Between The Ek-Ra4M2 Board And Host Pc

    Note: The debug LED (LED5) continues to blink when J-Link drivers are not detected by the EK-RA4M2 board. In that case, make sure that the EK-RA4M2 board is connected to the host PC through the micro-B USB debug port (J10) and that J-Link drivers are installed on the host PC by checking in the Windows Device Manager (expand Universal Serial Bus controller, and locate J-Link driver).
  • Page 26: Downloading And Running The Modified Quick Start Example Project

    Debug Configurations option. Figure 24. Selecting the Debug Option 2. In the dialogue, on the left-hand pane, expand the Renesas GDB Hardware Debugger and select the built image to debug, in this case, the quickstart_ek_RA4M2_ep.
  • Page 27: Firewall Dialogue

    4. Press F8 or click Resume icon to begin executing the project. Figure 27. Executing the Project 5. The modified Quick Start example project is programmed into the EK-RA4M2 board and is running. The project can be paused, stopped, or resumed using the debug controls.
  • Page 28: Next Steps

    Renesas RA Family EK-RA4M2 – Quick Start Guide 6. Next Steps 1. To learn more about the EK-RA4M2 kit, refer to the EK-RA4M2 user’s manual and design package available in the Documents and Download tabs respectively of the EK-RA4M2 webpage at renesas.com/ra/ek-ra4m2.
  • Page 29: Revision History

    Renesas RA Family EK-RA4M2 – Quick Start Guide Revision History Description Rev. Date Page Summary 01.00 Jan.04.21 — Initial release R20QS0018EG0100 Rev.1.00 Page 29 of 29 Jan.04.21...
  • Page 30 EK-RA4M2 – Quick Start Guide Publication Date: Jan.04.21 Published by: Renesas Electronics Corporation...
  • Page 31 EK-RA4M2 – Quick Start Guide R20QS0018EG0100...
  • Page 32 Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: Renesas Electronics RTK7EKA4M2S00001BE...

This manual is also suitable for:

Ra4 seriesEk-ra4m2

Table of Contents