Renesas RZ BSP Custom Board Configuration

From Renesas.info
Revision as of 23:29, 28 July 2021 by Zkmike (talk | contribs) (Created page with "By default the Microsoft Azure RZ Software Development kit demos are designed the Renesas Evaluation Kit boards. *Renesas RZA1H Display-it Kit (RSK) *Renesas RZA1LU Stream-it...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

By default the Microsoft Azure RZ Software Development kit demos are designed the Renesas Evaluation Kit boards.

  • Renesas RZA1H Display-it Kit (RSK)
  • Renesas RZA1LU Stream-it Kit

This page provides information on how to use the SDK for Custom Boards

BSP

VDC5 Graphic Drivers

Board Specific drivers

GUIX Drivers

The rz_bsp provides three drivers for the 16bpp (RGB565), 24bpp (RBG888), and 32bpp (RGB8888). The rz_bsp mcu configuration file allows for selection of these three drivers. This section shows how create a custom driver.

GUIX Application Port

The GUIX sample projects include a GUIX Studio Project (GXP). This sections describes settings in the GXP project and how to port these changes to a RZA.

USBX Drivers

The USB hardware is the same for all RZA1 parts.

  1. Set the MPU board, and GUI Driver( see Renesas RZA1 BSP Board Configuration ).
  2. Full Build of the rz_bsp project.
  3. In the USBX library set the USB channel. For USB Device open "\common\usbx_device_controllers\ux_dcd_rz.h". For USB Host open "\common\usbx_host_controllers\ux_hcd_rz.h"
  4. Set the preprocessor define UX_RZ_USB_BASE to the desired channel. Note: The setting in the file "ux_hcd_rz.h" has condition compilation depending on the board selected, so it may not be required to make additional settings.
    #define UX_RZ_USB0_BASE 0xE8010000
    #define UX_RZ_USB1_BASE 0xE8207000
    ....
    #define UX_RZ_USB_BASE UX_RZ_USB0_BASE
  5. Rebuild the USBx library. This is required because the RZ USB drivers are part of the USBX library. These drivers have conditional compilations for the selected board ( not MPU).
  6. In the USB Sample demo select the build configuration that matches the selection in step 1.
  7. Download and Run demo.