Renesas RZ BSP Custom Board Configuration: Difference between revisions
(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...") Â |
|||
Line 9: | Line 9: | ||
====VDC5 Graphic Drivers==== | ====VDC5 Graphic Drivers==== | ||
The VDC5 configuration files are located tin the rz_bsp .\src\renesas\application\graphics\inc | |||
* lcd_panel.h | |||
*:- This configuration file selects what board LCD is supported and number of supported LCD. RZA1H and M support 2 LCD panels or one LVDS all other support one LCD. FOr custom board you an override the number of supported LCDs here. | |||
* .\lcd\rsk_tft_ch0.h | |||
*:- Configuration control signals for RZA1H/M VDC5 channel 0. | |||
* .\lcd\rsk_tft_ch1.h | |||
*:- Configuration control signals for RZA1H/M VDC5 channel 1. | |||
* .\lcd\rsk_tft_clk.h | |||
*:- RZA1H/M VDC5 defines macros for the above signals | |||
* .\lcd\stream2_tft_ch0.h | |||
*:- Configuration control signals for RZA1L/LU/LC VDC5 channel 0. | |||
* .\lcd\stream2_tft_clk.h | |||
*:- RZA1L/LU/LC VDC5 defines macros for the above signals | |||
====Board Specific drivers==== | ====Board Specific drivers==== |
Revision as of 23:49, 28 July 2021
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
The VDC5 configuration files are located tin the rz_bsp .\src\renesas\application\graphics\inc
- lcd_panel.h
- - This configuration file selects what board LCD is supported and number of supported LCD. RZA1H and M support 2 LCD panels or one LVDS all other support one LCD. FOr custom board you an override the number of supported LCDs here.
- .\lcd\rsk_tft_ch0.h
- - Configuration control signals for RZA1H/M VDC5 channel 0.
- .\lcd\rsk_tft_ch1.h
- - Configuration control signals for RZA1H/M VDC5 channel 1.
- .\lcd\rsk_tft_clk.h
- - RZA1H/M VDC5 defines macros for the above signals
- .\lcd\stream2_tft_ch0.h
- - Configuration control signals for RZA1L/LU/LC VDC5 channel 0.
- .\lcd\stream2_tft_clk.h
- - RZA1L/LU/LC VDC5 defines macros for the above signals
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.
- Set the MPU board, and GUI Driver( see Renesas RZA1 BSP Board Configuration ).
- Full Build of the rz_bsp project.
- 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"
- 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
- 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).
- In the USB Sample demo select the build configuration that matches the selection in step 1.
- Download and Run demo.