User Guide for AVNET models including: RZBoard V2L AI Accelerated Development Board, RZBoard V2L, AI Accelerated Development Board, Accelerated Development Board, Development Board, Board
RZBOARD V2L - Qiita t-boards/avnet-board-families/rzboard-v2l/ (2)Renesas, Avnet https://www.renesas.com/jp/ja/products/microcontrollers-microprocessors/rz-mpus/rz-partner-solutions/avnet-rzboard#overview (3)RZBoard V2L Hardware User Guide
10 mag 2022 — Renesas RZ/V2L Group User's Manual: Hardware (r01uh0936ej0100-rzv2l ) ... Two pushbuttons are located near the board edge, in the bottom-left corner.
File Info : application/pdf, 40 Pages, 4.47MB
DocumentDocumentAI-Accelerated RZ/V2L Development Board RZBoard V2L Hardware User Guide v1.0 October 05, 2022 Page 1 1 Document Control Document Version: Document Date: Document Author: Document Classification: Document Distribution: 1.0 10/05/2022 Peter Fenn Public Public 2 Version History Version 1.0 Date 10/05/2022 Comment Initial public release (Rev 1.2 production PCB) Page 2 Contents 1 Document Control................................................................................................. 2 2 Version History ..................................................................................................... 2 3 Hardware Checklist .............................................................................................. 6 4 Software Checklist................................................................................................ 6 5 Introduction........................................................................................................... 7 5.1 RZBoard V2L Info .......................................................................................... 8 5.2 Items Included with RZBoard V2L.................................................................. 8 5.3 Important Reference Documents ................................................................... 8 6 RZBoard V2L Architecture & Features ................................................................. 9 6.1 Features......................................................................................................... 9 6.2 Block Diagram Renesas RZ/V2L Processor ............................................. 10 6.3 DRP-AI Accelerator Core ............................................................................. 10 6.4 RZ/V2L Architecture (ACPU bus, MCPU bus, System bus)......................... 11 6.5 RZBoard V2L Block Diagram ....................................................................... 12 Renesas parts on RZBoard (8 devices) .................................................................... 12 6.6 RZBoard V2L Component Locations (Top) .................................................. 13 6.7 RZBoard V2L BaseBoard Component Locations (Bottom) .......................... 14 6.8 Debug Header, Switches and LEDs............................................................. 15 6.8.1 Debug UART 4-pin Header (J19)................................................................................ 15 6.8.2 DIP Switches (SW1) and Boot-Mode Selection........................................................... 15 6.8.3 Push-Button Switches ................................................................................................ 17 6.8.4 Status LEDs............................................................................................................... 17 6.9 Memory Resources ...................................................................................... 18 6.9.1 eMMC Memory (Partition size and Programming)....................................................... 18 6.10 Peripheral Devices and Interfaces ............................................................... 19 6.10.1 J1: Pi-HAT compatible 40-pin header ......................................................................... 19 6.10.2 J1: Pinout Comparison with MikroE Pi-2-Click HAT Adapter ....................................... 20 6.10.3 MikroE Click Boards................................................................................................... 21 6.10.4 Pi HAT Expansion Boards .......................................................................................... 21 6.10.5 J16: SWD/JTAG debugger 10-pin mini-header ........................................................... 21 6.10.6 J3: USB 2.0 OTG Interface......................................................................................... 22 6.10.7 J6, J20: USB 2.0 Host Interfaces................................................................................ 22 6.10.8 J1: CAN0 Interface..................................................................................................... 22 Page 3 6.10.9 J18: CAN1 and ADC[3:0] interfaces (10-pin WTB header) .......................................... 22 6.10.10 J20: USB1 and SSI3 (10-pin WTB header) ................................................................. 23 6.10.11 J13: HDMI Display Output .......................................................................................... 23 6.10.12 J5: MIPI-DSI Display and Touchscreen Interface........................................................ 24 6.10.13 J4: MIPI-CSI Camera Interface................................................................................... 25 6.10.14 J7: Gigabit Ethernet RJ45 Interface............................................................................ 25 6.10.15 Audio Codec .............................................................................................................. 26 6.10.16 J9: Stereo Audio Jack ................................................................................................ 26 6.11 Wireless Connectivity................................................................................... 27 6.11.1 Wi-Fi SDIO Interface .................................................................................................. 27 6.11.2 BT/BLE UART Interface ............................................................................................. 28 6.11.3 BT PCM Audio Interface............................................................................................. 28 6.11.4 Wi-Fi / BT antenna ..................................................................................................... 28 6.12 Power Architecture....................................................................................... 28 6.12.1 Power Input (+5V USB type-C Connector).................................................................. 28 6.12.2 Power Regulation (RAA215300 PMIC: 6 Buck Regulators, 3 LDOs) ........................... 29 6.12.3 Power Consumption Measurements ........................................................................... 30 6.13 ESD Protection ............................................................................................ 30 7 Technical Support............................................................................................... 31 7.1 Renesas-hosted Technical Support Resources ........................................... 31 7.2 Avnet-hosted Technical Support Resources ................................................ 31 8 Sales Contact Info .............................................................................................. 31 9 Cautionary Notes................................................................................................ 32 10 Safety Warnings ................................................................................................. 32 11 Disclaimer........................................................................................................... 32 12 Software: eMMC Memory and Device Tree Overlays......................................... 33 12.1 Procedure to Reflash the Bootloader Firmware (eMMC) ............................. 33 12.2 Procedure to Reflash the Linux System Image (eMMC) .............................. 35 12.3 Procedure to Increase the eMMC Partition Size .......................................... 36 12.4 Linux Device Tree Description of RZBoard Hardware.................................. 37 13 Accessories: RZBoard V2L Add-On Options...................................................... 38 13.1 MIPI DSI 7-inch Capacitive Touch LCD Display (Optional) .......................... 38 13.2 MIPI CSI 5 MP Camera (Optional) ............................................................... 38 13.3 Other SBCs, SOMs and Accessories from "Avnet Boards" .......................... 39 Page 4 Figures Figure 1 RZ/V2L Processor Block Diagram ........................................................... 10 Figure 2 RZBoard V2L Block Diagram (Rev 1.2 PCB) ........................................... 12 Figure 3 J1 Header pin-numbering ........................................................................ 16 Figure 4 Selecting the Boot Mode.......................................................................... 16 Figure 5 RZBoard V2L Memory Resources ........................................................... 18 Figure 6 Murata Type-1ZM Wi-Fi/BT Combo Module Block Diagram .................... 27 Figure 7 Current-measurement USB Dongle ......................................................... 30 Tables Table 1 Hardware Checklist ..................................................................................... 6 Table 2 Software Checklist ...................................................................................... 6 Table 3 Key Components on RZBoard V2L (Top) ................................................. 13 Table 4 Key Components on RZBoard V2L (Bottom) ............................................ 14 Table 5 Pi-HAT compatible 40-pin header (J1) ...................................................... 19 Table 6 MikroE Pi-2-Click HAT Adapter Mapping to J1 Header............................. 20 Table 7 SWD/JTAG debugger 10-pin mini-header (J16) ....................................... 21 Table 8 Wi-Fi Interface........................................................................................... 27 Table 9 Bluetooth Data Interface ........................................................................... 28 Table 10 Bluetooth Audio Interface........................................................................ 28 Page 5 3 Hardware Checklist Hardware items recommended for application development are the following # Item Description 1 Computer (Windows / Linux / Mac) with installed development tools (see below) 2 Avnet RZBoard V2L board 3 USB to Serial Cable (or use of VCOM interface from debugger probe) 4 1x fly-lead (to select SCIF download boot mode) 5 Segger J-LINK debugger (or other debugger from the subset supported) 6 5V 2A power adapter (plus USB type-A to USB-C cable) 7 USB current monitor dongle (optional) 8 MaaXBoard MIPI-DSI 7" capacitive-touch 720 x 1280 display (optional) p/n: AES-ACC-MAAX-DISP1 9 MaaXBoard MIPI-CSI Camera, 5 MP, OV5640 image sensor (optional) p/n: AES-ACC-MAAX-CAM1 Table 1 Hardware Checklist 4 Software Checklist Listed below are software items mentioned in this document # Item Description 1 Renesas E2 Studio IDE (version 2022-07 or later) https://www.renesas.com/us/en/software-tool/e-studio 2 teraterm-4.106.exe Use for console communication and SCIF download mode 3 flashwriter_RZBoard.mot FlashWriter tool. Use to flash SREC images into eMMC or QSPI 4 bl2_bp-RZBoard.srec BL2 bootloader SREC image, ARM TFA (Trusted Firmware-A) 5 fip-RZBoard.srec BL31 and uboot combined bootloader SREC image (ARM TFA) 6 core-image-RZBoard20220920085823.rootfs.wic Linux kernel images & root filesystem (Linux system image, write this to to eMMC or SD card) 7 https://github.com/Avnet/RZBoard Linux kernel source Table 2 Software Checklist Page 6 5 Introduction RZBoard V2L is a power efficient, vision-AI accelerated development board in a popular single board computer format with well supported expansion interfaces. Based on the Renesas RZ/V2L processor, this platform is ideal for development of cost-efficient vision-AI and a range of energy-efficient edge AI applications. It's RZ/V2L processor has two 1.2GHz Arm® Cortex®-A55 cores plus a 200MHz Cortex-M33 core, a MALI 3D GPU and Image Scaling Unit. This processor SoC further differentiates itself with an onchip DRP-AI accelerator plus H.264 video (1920 x 1080) encode/decode function, making it ideal for implementing cost-effective embedded-vision applications. RZBoard V2L is engineered in a compact Raspberry Pi form-factor with a versatile set of expansion interfaces, including Gigabit Ethernet, 801.11ac Wi-Fi and Bluetooth 5, two USB 2.0 hosts and a USB 2.0 OTG interface, MIPI DSI and CSI camera interfaces, CANFD interface, Pi-HAT compatible 40-pin expansion header and Click Shuttle expansion header. The board supports analog audio applications via it's audio codec and stereo headphone jack. It also provides five 12bit ADC inputs for interfacing with analog sensors. 5V input power is sourced via a USB-C connector and managed via a single-chip Renesas RAA215300 PMIC device. Onboard memory includes 2GB DDR4, 32GB eMMC and 16MB QSPI flash memory, plus microSD slot for removable media. Software enablement includes CIP Kernel based Linux BSP (maintained for 10 years+) plus reference designs that highlight efficient vision AI implementations using the DRP-AI core. Onboard 10-pin JTAG/SWD mini-header and 4-pin UART header enable the use of an external debugger and USB-serial cable. Accessory options include a MIPI 7-inch display, MIPI CSI camera and 5V/3A USB Type C power supply. Page 7 5.1 · · RZBoard V2L Info Part# to order: AES-RZB-V2L-SK-G Product Page: https://avnet.me/RZBoard-V2L 5.2 · · · Items Included with RZBoard V2L RZBoard V2L board QuickStart Card Downloadable examples, reference designs and documentation 5.3 · · · · · · · Important Reference Documents RZBoard V2L QuickStart Card (QSC) RZBoard V2L Product Brief RZBoard V2L Hardware User Guide (this document) RZBoard V2L Linux Yocto User Manual RZBoard V2L Linux Yocto Development Guide RZBoard V2L Schematic and BOM (available under NDA) Renesas RZ/V2L Group User's Manual: Hardware (r01uh0936ej0100-rzv2l.pdf) Typical Hardware Setup (with optional 7-inch panel attached) Page 8 6 RZBoard V2L Architecture & Features 6.1 Features Renesas RZ/V2L energy-efficient Vision-AI MPU with: · RZ/V2L processor part number: R9A07G054L23GBG · 2x Arm Cortex A55 (1.2 GHz) · 1x Arm Cortex M33 (200 MHz) · 1x Arm MALI G31 3D-GPU (500 MHz), plus Image Scaling Unit · DRP-AI accelerator (1 TOPS/W class, capable of running Tiny YOLOv2 at 28fps) · DRP Simple ISP machine-vision library functions (supports up to 1920 x 1080) · H.264 Hardware Video Encode/Decode (1920 x 1080) · 128KB ECC RAM Avnet SBC development board in Raspberry-Pi / MaaXBoard form-factor includes: · 2GB DDR4 (16-bit, single-channel, with in-line ECC) · 16GB eMMC memory · Micro SD removable storage · 16MB QSPI NOR Flash · 1G Ethernet wired network interface · 801.11ac Wi-Fi wireless network interface and Bluetooth 5 interface · U.FL connected external antenna · 2x USB 2.0 Host and 1x OTG USB 2.0 interfaces · CANFD interface (includes onboard CAN transceiver) · MIPI DSI and HDMI display interfaces (selectable) · MIPI-CSI camera interface · 40-pin Pi-HAT compatible expansion header · 16-pin MikroE Click Shuttle expansion header · Renesas RAA215300 PMIC · 8-pin WTB connector with 4x 12bit ADC inputs plus CAN-FD · 8-pin WTB connector with UART and spare USB expansion CAN-FD · 10-pin JTAG/SWD debugger header · Audio Codec and audio jack stereo output and microphone input · USB-Type C connector for 5V power input · 1x User RGB LED, 1x power LED · 2x button switches Page 9 6.2 Block Diagram Renesas RZ/V2L Processor Figure 1 RZ/V2L Processor Block Diagram 6.3 DRP-AI Accelerator Core Dynamically Reconfigurable Processor (DRP) is a programmable, highly flexible accelerator core, optimised for use in AI accelerated vision applications DRP-AI Resource DRP AI-MAC Data type Relevant Specs. 192 ALU/DMU @ 266 MHz 576 MAC @ 400 MHz FP16 AI Operations Best Suited For Pooling, Softmax, + other processing Convolution higher precision than INT8 (used by competitors) Page 10 6.4 RZ/V2L Architecture (ACPU bus, MCPU bus, System bus) Page 11 6.5 RZBoard V2L Block Diagram Figure 2 RZBoard V2L Block Diagram (Rev 1.2 PCB) Renesas parts on RZBoard (8 devices) · RZ/V2L Processor · RAA215300 PMIC · 5P35023B Clock · DA7212 Audio Codec · UPD720115 USB Hub · ISL61852 USB Power · AT25QL128A QSPI NOR · SLG7RN45292 Configurable Analog Page 12 6.6 RZBoard V2L Component Locations (Top) # Ref Component Description 1 U1 Renesas RZ/V2L processor 2 U39 Renesas RAA215300 PMIC 3 U3 LPDDR4 SDRAM memory 4 U14 eMMC memory (32G) 5 U11 QSPI NOR flash memory (16 MB) 6 U9 Murata Wi-Fi/BT module 7 J11 U.FL antenna connector 8 U7 GMII Gigabit Ethernet PHY 9 J7 Gig Ethernet RJ45 connector 10 J6 Stacked USB host connectors 11 J3 OTG USB 2.0 connector 12 U38 MIPI to HDMI display convertor 13 J13 Micro HDMI display connector # Ref Component Description 14 J5 MIPI DSI display connector 15 J4 MIPI CSI camera connector 16 J9 Stereo audio jack 17 J16 10-pin header (JTAG/SWD) 18 J20 8-pin WTB connector (UART, USB) 19 J18 8-pin WTB connector (ADC, CAN1) 20 J19 4-pin header (debug uart) 21 D33 User RGB LED 22 S1 S1 button switch (ON/OFF) 23 S2 S2 button switch (USER) 24 J10 USB-C 5V power input 25 J1 40-pin Pi-HAT expansion header Table 3 Key Components on RZBoard V2L (Top) Page 13 6.7 RZBoard V2L BaseBoard Component Locations (Bottom) # Ref Component Description 26 J12 MicroSD cage (removable storage) 27 U4 USB 4-port HUB 28 U8 CAN transceiver 29 U43 MIPI / HDMI display switch U44 # Ref Component Description 30 U10 eMMC / microSD QSPI bus switch 31 U36 3V3 / 1V8 Greenpak level-shifter U37 3V3 / 1V8 level-shifter 32 U6 USB OTG 5V switch 33 MH Mounting Holes (standoffs or Pi-Hat) Table 4 Key Components on RZBoard V2L (Bottom) Page 14 6.8 Debug Header, Switches and LEDs 6.8.1 Debug UART 4-pin Header (J19) A USB-Serial debug cable needs to be attached to the J1 header for console debug output and Linux command-line access. J19 RZBoard V2L Serial Interface Pin Signals Signal Direction 1 BOOT2 n/a 2 TXD TX to RZBoard 3 RXD RX from RZBoard 4 GND GND J19 USB-Serial cable to SCIF0 connections 6.8.2 DIP Switches (SW1) and Boot-Mode Selection SW1 # SW1.1 SW1.2 Function BOOT1 DEBUGEN RZ/V2L boot-mode is determined by the state of BOOT[2:0] at end of Reset: · BOOT2 (Debug header J19 pin 1) · BOOT1 (DIP switch SW1.1) · BOOT0 (SD card inserted/or not) RZBoard supports 4 different boot sources (default eMMC boot mode is highlighted): BOOT2 0 0 0 1 BOOT1 0 0 1 0 BOOT0 0 1 1 1 BOOT MODE Boot from 3V3 SD card Boot from 1V8 eMMC (default) Boot from 1V8 QSPI flash Boot from SCIF serial download To use "SCIF serial download" boot mode: - Remove SD card from SD card cage (this sets BOOT0=1) - Strap a fly-lead from pin1 of this J19 debug header to J1-pin2 on 40pin header (ie. To 5V pin, this sets BOOT2=1) Page 15 o BOOT2 is set by use of a flywire from J19-pin1 of Debug UART 4pin header. BOOT2 0 1 Strapping to change boot mode Default. No flywire strapping required Strap J19-pin1 to 5V (J1-pin2 on HAT 40pin header) Figure 3 J1 Header pin-numbering o BOOT1 is set by DIP switch SW1.1 BOOT1 0 1 Strapping to change boot mode Controlled by DIP switch: SW1.1 = ON Controlled by DIP switch: SW1.1 = OFF o BOOT0 is driven by the SD card-detect signal (from uSD card cage) BOOT1 0 1 Strapping to change boot mode SD card is inserted SD card not inserted Figure 4 Selecting the Boot Mode Page 16 6.8.3 Push-Button Switches Two pushbuttons are located near the board edge, in the bottom-left corner Ref. Switch Button Switch Des Name Function RZ/V2L GPIO Pin S1 ONOFF Board ON/OFF control n/a S2 USER USER function (unassigned) RZ_P39_0 PMIC Pin PMIC PWRON input n/a 6.8.4 Status LEDs Ref. Des. D38 D33 D33 D33 LED Status Function PWR USER-RED USER-GREEN USER-BLUE LED RZ/V2L Color GPIO Pin Green Red Green Blue n/a RZ_P8_1 RZ_P17_2 RZ_P19_1 Linux sysfs Definitions n/a /sys/class/leds/ledred /sys/class/leds/ledbgreen /sys/class/leds/ledblue RZ/V2L Board Function 3V3 status GPIO / PWM GPIO / PWM GPIO / PWM The User RGB LED can easily be exercised from Linux command-line using sysfs commands: eg. echo default-on > /sys/class/leds/ledblue/trigger echo 0 > /sys/class/leds/ledblue/brightness echo 1 > /sys/class/leds/ledgreen/brightness echo 0 > /sys/class/leds/ledgreen/brightness echo 1 > /sys/class/leds/ledred/brightness echo 0 > /sys/class/leds/ledred/brightness echo heartbeat > /sys/class/leds/ledblue/trigger Page 17 6.9 Memory Resources RZBoard includes the following onboard memory resources: Memory Type DDR4 SDRAM eMMC flash microSD slot QSPI flash RZ/V2L Interface DDR SD0 SD0 QSPI0 Memory Size 2 GB 32 GB removable media 16 MB Performance Considerations 800 MHz, x16 bus 200 MHz, x8 bus ??? MHz, x4 bus 104 MHz, x4 bus Part Number Micron MT40A1G16KD-062E Micron MTFC32GAZAQHD-IT determined by User Adesto AT25QL128A-UIUE-T Figure 5 RZBoard V2L Memory Resources 6.9.1 eMMC Memory (Partition size and Programming) · For convenience, the procedures for changing partition size and programming new images into eMMC flash memory are included in the Appendix area of this User Guide document · Configuring and programming the microSD card and QSPI memory use a similar scripted approach, but this is detailed in the software documentation Page 18 6.10 Peripheral Devices and Interfaces 6.10.1 J1: Pi-HAT compatible 40-pin header Pin Possible HAT # Pin Function 1 3V3 3 I2C_SDA 5 I2C_SCL 7 GPIO / GPCLK0 9 GND 11 GPIO / RTS 13 GPIO 15 GPIO 17 3V3 19 SPI_MOSI 21 SPI_MISO 23 SPI_SCLK 25 GND 27 EEPROM_SDA 29 GPIO / GPCLK1 31 GPIO / GPCLK2 33 GPIO / PWM1 35 GPIO / PCM_FS 37 GPIO 39 GND J1 RZBoard V2L Signal Name VDD_3V3 RZ_RIIC2_SDA RZ_RIIC2_SCL P12_0 GND P48_3 P48_2 P17_0 VDD_3V3 RZ_RSPI1_MOSI RZ_RSPI1_MISO RZ_RSPI1_CK GND P14_1 RZ_P42_3 RZ_P42_4 P10_0 P9_1 P13_1 GND Pin Possible HAT J1 RZBoard V2L # Pin Function Signal Name 2 5V 5V_SYS 4 5V 5V_SYS 6 GND GND 8 UART_TX RZ_SCIF2_TXD 10 UART_RX RZ_SCIF2_RXD 12 PCM_CLK P17_1 14 GND GND 16 GPIO P13_2 18 GPIO P14_0 20 GND GND 22 GPIO RZ_P39_1 24 SPI_CS0 RZ_RSPI1_SSL 26 SPI_CS1 RZ_P0_1 28 EEPROM_SCL RZ_P46_3 30 GND GND 32 GPIO / PWM0 P15_1 34 GND GND 36 GPIO / CTS P48_4 38 GPIO / PCM_DIN RZ_CAN0_RX 40 GPIO / PCM_DOUT RZ_CAN0_TX Table 5 Pi-HAT compatible 40-pin header (J1) Page 19 6.10.2 J1: Pinout Comparison with MikroE Pi-2-Click HAT Adapter · Pinout for recommended HAT adapter ($8.00) is shown below (this accommodates two Click boards) Pin Pi-2-Click HAT # Pin Function 1 3V3 3 GPIO2 SDA 5 GPIO3 SCL 7 GPIO4 AN1 9 GND 11 GPIO17 PWM2 13 GPIO27 nc 15 GPIO22 nc 17 3V3 19 GPIO10 SPI_MOSI 21 GPIO9 SPI_MISO 23 GPIO11 SPI_SCLK 25 GND 27 ID_SDA nc 29 GPIO5 RST1 31 GPIO6 INT1 33 GPIO13 AN2 35 GPIO19 RST2 37 GPIO26 INT2 39 GND J1 RZBoard V2L Signal Name VDD_3V3 RZ_RIIC2_SDA RZ_RIIC2_SCL P12_0 GND P48_3 P48_2 P17_0 VDD_3V3 RZ_RSPI1_MOSI RZ_RSPI1_MISO RZ_RSPI1_CK GND P14_1 RZ_P42_3 RZ_P42_4 P10_0 P9_1 P13_1 GND Pin Pi-2-Click HAT # Pin Function 2 5V 4 5V 6 GND 8 GPIO14 UART_TX 10 GPIO15 UART_RX 12 GPIO18 PWM1 14 GND 16 GPIO23 nc 18 GPIO24 nc 20 GND 22 GPIO25 nc 24 GPIO8 SPI_CS0 26 GPIO7 SPI_CS1 28 ID_SCL nc 30 GND 32 GPIO12 nc 34 GND 36 GPIO16 nc 38 GPIO20 nc 40 GPIO21 nc J1 RZBoard V2L Signal Name 5V_SYS 5V_SYS GND RZ_SCIF2_TXD RZ_SCIF2_RXD P17_1 GND P13_2 P14_0 GND RZ_P39_1 RZ_RSPI1_SSL RZ_P0_1 RZ_P46_3 GND P15_1 GND P48_4 RZ_CAN0_RX RZ_CAN0_TX Table 6 MikroE Pi-2-Click HAT Adapter Mapping to J1 Header Page 20 6.10.3 MikroE Click Boards · Over 1200+ Click boards available. Orderable from Avnet http://avnet.me/click · Parametric search tool on MikroE website · Open source library code available at https://www.mikroe.com/click-boards 6.10.4 Pi HAT Expansion Boards · Ecosystem of Pi HAT boards support a wide range of functionality · See listings at websites such as https://pinout.xyz/boards · Height of stacked boards is minimized as RZ/V2L does not require heatsink 6.10.5 J16: SWD/JTAG debugger 10-pin mini-header The 10-pin Mini-header by default supports the SWD interface tabled below JTAG JTAG_TMS_18 JTAG_TCK_18 JTAG_TDO_18 JTAG_TDI_18 RZ_PRST# SWD SWD_IO SWCLK SWO IF_TDI IF_RST Pin Pin SWD JTAG 2 1 IF_VREF 1V8 4 3 GND GND 6 5 GND GND 8 7 IF_ISPEN N/C 10 9 IF_DETECT JTAG_TRST#_18 Table 7 SWD/JTAG debugger 10-pin mini-header (J16) Page 21 6.10.6 J3: USB 2.0 OTG Interface RZ_USB0 controller connects with the J3 MicroUSB connector, that supports USB device or host operation. In host mode this interface's USB 5V output is rated for 600mA max. 6.10.7 J6, J20: USB 2.0 Host Interfaces RZ_USB1 controller connects to an onboard USB Hub that supports 4 USB Host interfaces: USB HUB HUB_#1 HUB_#2 HUB_#3 HUB_#4 Label on RZBoard V2L J20 WTB connector USB (expansion interface) < Unused > J6 stacked USB type-A connectors (UPPER) J6 stacked USB type-A connectors (LOWER) 6.10.8 J1: CAN0 Interface CAN0 TXD and RXD signals are accessible on the 40-pin Pi HAT connector, but the pinout deviates from the HAT standard (ie. This interface can only be supported via a custom HAT board on which a suitable CAN transceiver, termination and ESD protection is then provided) 6.10.9 J18: CAN1 and ADC[3:0] interfaces (10-pin WTB header) · CAN1 TXD and RXD signals are available on the J18 WTB 8-pin connector (This interface has onboard transceiver, termination and ESD protection) · ADC_CH0..CH3 supports 4x 12bit ADC inputs. (0V~1.8V range, 1us per chan conversion-rate) Page 22 6.10.10 J20: USB1 and SSI3 (10-pin WTB header) · An ESD-protected USB host interface from RZ_USB1 4-port hub is available on J20 · The 4-wire SSI3 (I2S) digital audio interface on J20 pins 6.10.11 J13: HDMI Display Output · The 4-lane MIPI-DSI output from the RZ/V2L processor is routed via NX3DV642 high-speed MIPI switch devices to drive either: a) the J5 MIPI Interface, or b) the J13 HDMI interface (via the U38 MIPI to HDMI convertor) · MIPI to HDMI conversion is implemented using an IT6161 device Page 23 6.10.12 J5: MIPI-DSI Display and Touchscreen Interface · A 4-lane MIPI-DSI interface is supported plus touchscreen interface. · This supports the 7-inch MaaXBoard 720 x 1280 display via the 30-pin J5 ribbon connector. · This 30-pin connector has same form-factor as display connector on Raspberry Pi but the pinout is adapted to include an I2C touchscreen controller interface DSI Connector Signal Name DSI_RST RZ/V2L Processor I/O RZ_P43_1 DSI_EN DSI_PWM DSI_INT RZ_RIIC1_SCL RZ_RIIC1_SDA RZ_P43_3 RZ_P43_2 RZ_IRQ5 RZ_RIIC1_SCL RZ_RIIC1_SDA MIPI DSI Panel Function Display Controller and Touch Controller Reset Display Enable Display Backlight PWM Touch Controller Interrupt Touch Controller I2C Clock Touch Controller I2C Data Page 24 6.10.13 J4: MIPI-CSI Camera Interface The 2-lane, 15-pin MIPI connector pinout is the same as what is used on Raspberry-Pi board Camera Control I/O CAM1_PWR# CAM1_RST# RZ_RIIC0_SCL RZ_RIIC0_SDA RZ/V2L Processor I/O RZ_P2_0 RZ_P40_2 RZ_RIIC0_SCL RZ_RIIC0_SDA 6.10.14 J7: Gigabit Ethernet RJ45 Interface The 10/100 Ethernet subsystem is comprised of: · AR8035-AL1B Ethernet transceiver (U24) with GRMII interface, · RJ45 (J7) connector with integrated magnetics. Page 25 6.10.15 Audio Codec RZ_SSI0 interface of RZ/V2L (Serial Audio Interface #0) connects to Dialog DA7212-01UM2 stereo audio Codec. PCM audio between Wi-Fi/BT module and the Codec, requires routing through the RZ/V2L processor. RZ_SCI0 (Serial Communications Interface #1) connects the RZ/V2L processor with the Bluetooth PCM audio interface of the WiFi/BT module. 6.10.16 J9: Stereo Audio Jack Page 26 6.11 Wireless Connectivity RZBoard V2L uses a Murata Type-1ZM Wi-Fi 5 and Bluetooth 5 combo module, which is based on the NXP 88W8987 device. Dual-band 2.4 GHz and 5 GHz Wi-Fi operation is supported Interfaces between the 88W8987 based module and the RZ/V2L host processor include: · Wi-Fi SDIO 3.0 (4-bit) interface (uses RZ_SD1) · BT/BLE UART 4-wire interface (uses RZ_SCIF1) · Bluetooth Audio PCM interface (uses RZ_SCI0) 6.11.1 Figure 6 Murata Type-1ZM Wi-Fi/BT Combo Module Block Diagram Wi-Fi SDIO Interface RZ_SD1 interface is configured for 1.8V operation and is clocked at 200 MHz (This is the same SDIO interface as used on the RZ/V2L-EVK) RZ/V2L Signal Name RZ_SD1_[D3:D0] RZ_SD1_CMD RZ_SD1_CLK RZ_P7_1 RZ_P8_0 RZ_P39_2 1ZM Module WLAN Pin Name SD_DAT[3:0] SD_CMD SD_CLK WL_WAKE_HOST HOST_WAKE_WLAN PMIC_EN Table 8 Wi-Fi Interface Page 27 6.11.2 BT/BLE UART Interface RZ_SCIF1 including hardware flow is routed from the RZ/V2L via a 3.3V to 1.8V level-shifter, to the 1ZM module's Bluetooth UART interface. (Note uses of LPUART10 interface is different from what used on the RZ/V2L-EVK, which uses LPUART2 for this interface) RZ/V2L SCIF Signal Name RZ_SCIF1_RXD RZ_SCIF1_TXD RZ_SCIF1_RTS RZ_SCIF1_CTS RZ_P7_2 RZ_P7_0 1ZM Module BT Pin Name BT_UART_TXD BT_UART_RXD BT_UART_CTS BT_UART_RTS HOST_WAKE_BT BT_WAKE_HOST Table 9 Bluetooth Data Interface 6.11.3 BT PCM Audio Interface RZ_SCI0 is routed from the RZ/V2L via a 3.3V to 1.8V level-shifter, to the Murata 1ZM module's Bluetooth UART PCM audio interface. RZ/V2L SCI0 Signal Name RZ_SCI0_TXD RZ_SCI0_CTS RZ_SCI0_SCK RZ_SCI0_RXD 1ZM Module BT Audio Pin Name BT_PCM_DIN BT_PCM_SYNC BT_PCM_CLK BT_PCM_DOUT Table 10 Bluetooth Audio Interface 6.11.4 Wi-Fi / BT antenna This board only supports an external antenna, attached via UFL / IPEX MHF connector. The antenna shipped with RZBoard V2L (as used in regulatory certifications) is Molex p/n: 1461870050 6.12 Power Architecture RZBoard is a power-efficient low-wattage board (typical 1.5W ~ 4.5W depending on use case) 6.12.1 Power Input (+5V USB type-C Connector) The USB type-C connector is used for 5V power input (It does not support a data interface) Page 28 6.12.2 Power Regulation (RAA215300 PMIC: 6 Buck Regulators, 3 LDOs) The Renesas PMIC efficiently converts the 5V power input into multiple regulated supply rails Power architecture of RZBoard is based on the Renesas diagram below (See table for detail on RZBoard's specific usage of the PMIC output rails) PMIC Voltage Regulator BUCK1 BUCK2 RZBoard Power Rail VDD_1V1 VDDQ_DDR_1V2 BUCK3 1V8 BUCK4 3V3 BUCK5 BUCK6 LDO1 LDO2 LDO3 VREFOUT VIO 1V2 VTT_DDR SD0_PVDD TP23 VPP_DDR_2V5 VREF_DDR_0V6 VIO_1V8 VDD, PLLx5 Power Rail Connects To... DDR_VDDQ JTAG, PLL_AVDD, MPIO_CSI, MIPI_DSI, USB_AVDD18, USB_DVDD18, SPI_PVDD, ADC, eMMC, QSPI, Codec, WiFi/BT, Level-shifters PVDD_1, PVDD_2, USB_VD33, Clock module, ETHER0_PVDD, ETHER1_PVDD, USB hub, CSI camera, IT6161, MIPI switches, CAN, Pi-HAT header, SD card, SD/eMMC switch, eMMC, Codec, Level-shifters IT6161 (6x power rails) (Unused) SD0_PVDD (Unused) SD1_PVDD VREFCA (DDR4) (Unused) Page 29 6.12.3 Power Consumption Measurements An inexpensive current-measurement USB dongle is recommended during development, in-line with the USB power connection to monitor 5V input current draw. The USB dongle meter shown here accommodate type-C and type-A cable connections and is available online for around $20 https://www.amazon.com/Tester-Eversame-Voltmeter-Ammeter-Braided/dp/B07MGQZHGM Note: An invalid current measurement will be seen if RZBoard V2L is powered from a USB port of same PC as used by the debugger probe! To achieve a useful current measurement, power RZBoard from a separate power-adapter, or disconnect the debugger probe. Figure 7 Current-measurement USB Dongle 6.13 ESD Protection All USB interfaces and the HDMI interface have high-speed ESD protection discrete devices on their power rails and data lines. The CAN1 interface also includes ESD protection. Page 30 7 Technical Support 7.1 Renesas-hosted Technical Support Resources Renesas Support Portal Technical support of RZ/V2L software enablement plus the broader RZ family is available via the Renesas Portal for knowledge base, FAQs and Support Forums, eg. https://en-support.renesas.com https://en-support.renesas.com/knowledgeBase/category/31243 (requires Renesas login) Renesas RZ/V2L and RZ/G2L SMARC Wiki Pages https://renesas.info/wiki/RZ-V/RZ-V2L_SMARC https://renesas.info/wiki/RZ-G/RZ-G2L_SMARC Renesas Github Repos Renesas maintains various github repositories in context of RZ/V2L, eg. https://github.com/renesas-rz/rz_linux-cip https://github.com/mkosinski05/meta-renesas-ai 7.2 Avnet-hosted Technical Support Resources For general RZBoard V2L questions, visit the product page at http://avnet.me/RZBoard-V2L where you will find technical documentation, videos and tutorials, reference designs and other support. Detailed questions regarding RZBoard V2L hardware design, software application development, training and use of related tools, can be posted on the RZBoard Support Forum at http://avnet.me/RZBoard-forum (This forum is monitored by technical resources in Avnet's Advanced Applications Group) If interested in customization of RZBoard V2L with customer-specific options, send an email inquiry with detail of desired changes (and use-case) to customize@avnet.com 8 Sales Contact Info For further info on Avnet-designed Development Boards, contact your local Avnet representative at: Region Organization Contact Webpage Address & Phone North America Avnet Americas www.avnet.com/contact 2211 South 47th Street Phoenix, AZ 85034, USA Phone: +1-800-585-1602 EMEA Avnet Silica avnet-silica.com/contact Gruber Str. 60c 85586 Poing, Germany Phone: +49-8121-77702 EMEA EBV ebv.com/contact Im Technologypark 2-8 85586 Poing, Germany Phone: +49-8121-774 - 0 Page 31 9 Cautionary Notes ESD - Handling precautions for ESD-vulnerable electronic equipment are strongly recommended. It is advised to touch the metal housing of Ethernet or USB connectors, prior to touching any other part of the PCB. Connectors - Use care when inserting/unplugging cables, especially with USB-C and audio jack connectors. Finger-support is advised to brace surface mount connectors against excessive lateral force. MIPI Connectors - The locking mechanism of MIPI-DSI and MIPI-CSI ribbon cable connectors are relatively fragile and should be handled with care. Make sure of alignment and use minimal force when locking. OTP eFuses For security reasons, the on-chip OTP fuses in the RZ/V2L are one-time programmable. During application development, there should never be a need to program these fuses. Two boot modes are supported via selection jumper (J19). Programming of OTP eFuses will only be necessary when deploying this board in an end-product. It is the user's responsibility to be absolutely certain of their requirements before OTP programming and to not program the fuses by accident. Note that Avnet accepts no liability and will not replace boards that have been: · Damaged by ESD or mishandling. · Compromised through OTP eFuse programming 10 Safety Warnings 1) It is recommended that this product only be powered via the onboard USB type-C connector, from one of the following +5V power sources: a) Connected to the development computer (depends on use-case) b) Connected to a 5V power-bank battery of suitable rating c) Connected to an external +5V, 1A DC power adaptor (a higher rating may be needed if an expansion Pi_HAT or custom board is fitted). The external power supply shall comply with relevant regulations and standards applicable in the country of intended use. 2) Only compatible plug-in modules shall be connected to RzBoard V2L. Connection of incompatible devices may affect compliance or result in damage to the unit and void the warranty. 3) This product must be operated in a well-ventilated environment. If an enclosure is used, this must provide adequate ventilation. 4) Do not insert or remove any expansion board or cable, without first unplugging the relevant +5V DC power source 5) Ambient operating temperature range when using RzBoard V2L shall not exceed: -30C to +85C 11 Disclaimer RZBoard V2L is engineered for use as a development board (to facilitate product evaluation and systemlevel prototyping) as well as for potential use as a sub-assembly in custom OEM end-products. Avnet assumes no liability for modifications that a user chooses to make to RZBoard V2L. Page 32 12 Software: eMMC Memory and Device Tree Overlays 12.1 Procedure to Reflash the Bootloader Firmware (eMMC) Typically not necessary to update the bootloader (the Linux System Image is what usually gets updated!) Bootloader programming is however detailed below. .BAT File Name flash_bootloader.bat Download Type: SCIF0 @115.2 kb/s File Size 268 KB 115 KB 2.02 MB File Names · flashwriter_RZBoard.mot · bl2_bp-RZBoard.srec · fip-RZBoard.srec Boot Mode Board Settings BOOT2=1: Fit fly-wire from J1 pin2 to J19 pin1 BOOT1=0: Set SW1.1 = ON BOOT0=1: Remove SD card RZBoard supports an easy scripted procedure to program the following bootloader image files via SCIF serial download from the development computer into RZBoard's eMMC flash memory. · flashwriter_RZBoard.mot FlashWriter image tool Once downloaded, this is used to program the following two bootloader images into eMMC · bl2_bp-RZBoard.srec bootloader image in Motorola S-Record format, ARM TFA (Trusted Firmware-A ) BL2 image · fip-RZBoard.srec which is a combination of bootloader image, ARM TFA (Trusted Firmware-A ) BL31 and u-boot combined image Note: Complete steps 1-6 below, prior to running the provided flash_bootloader.bat file: 1) Download the latest image files, .bat and macro files from https://avnet.me/RZBoard_emmc and extract the zipped files to a staging folder on the development computer 2) Edit Windows Ethernet network adapter settings for the development computer: Set it's IPv4 properties to static IP Address 192.168.1.88 3) Edit the config.ini file (update the COM port#, check for matching names of BootLoader image files) 4) Power-off RZBoard 5) Place RZBoard into "SCIF download boot-mode" by setting BOOT[2:0] to b101 (as tabled above), ie. a) Set BOOT2=1 by strapping J19-pin1 to +5V (ie. connect it to J1-pin2 on the 40pin header) b) Set BOOT1=0 by strapping SW1.1 = ON c) Set BOOT0=1 by removing SD card from MicroSD slot 6) On RZBoard's J19 Debug UART 4-pin header, connect the fly-leads from the USB-Serial cable connected to the development computer. Page 33 7) Run flash_bootloader.bat (this launches a Tera Term macro using the edited config.ini settings) 8) Press and hold S1 for 2 seconds to power-on RZBoard, the macro will now proceed. Wait for this to complete (<5 min) Page 34 12.2 Procedure to Reflash the Linux System Image (eMMC) .BAT File File Name Size File Names Boot Mode Settings flash_system_image.bat Download Type: Ethernet Fastboot @1 Gb/s 2.53 GB core-image-RZBoard*typical 20220920085823.rootfs.wic BOOT2=0: Remove fly-wire from J1 pin2 to J19 pin1 BOOT1=0: Set SW1.1 = ON BOOT0=1: Remove SD card RZBoard supports an automated procedure to program the large Linux System Image file, into RZBoard's eMMC flash memory, via Gigabit Ethernet from the development computer. Note: Complete steps 1-6 below, prior to running the provided flash_system_image.bat file: 1) Download the image files, .bat and macro files from https://avnet.me/RZBoard_emmc and extract the zipped files to a staging folder on the development computer 2) Edit Windows Ethernet network adapter settings for the development computer: Set it's IPv4 properties to static IP Address 192.168.1.88 3) Edit the config.ini file (update the COM port#, the IP address and name of the System image file) 4) Power-off RZBoard 5) Place RZBoard into "eMMC (1V8) boot-mode" by setting BOOT[2:0] to b001 (as tabled above), ie. d) Set BOOT2=0 by removing fly-wire from J19-pin1 to J1-pin2 (40pin header) e) Set BOOT1=0 by strapping SW1.1 = ON f) Set BOOT0=1 by removing SD card from MicroSD slot 6) Run flash_system_image.bat (launches applicable Tera Term macro using saved config.ini settings) 7) Power-on RZBoard. Ethernet connection will be established and a blue window shall open in <30 sec. Wait for the macro to complete (typically 15 blocks of data are sent and this completes in <5 min) Page 35 12.3 Procedure to Increase the eMMC Partition Size Caution: A miss-step in this procedure can delete all files on your board! As configured during manufacture, only a section of the 32GB eMMC is accessible. Use the following steps to expand the rootfs partition in eMMC flash memory: · Open a serial port connection to RZBoard's debug connector · Boot Linux and login to the board with user: root and password: avnet · Execute the command fdisk /dev/mmcblk0 · Make note of the mmcblk0p2 start address displayed on the screen · Execute the following sequence of commands: p -> d -> 2 -> n -> p -> 2 -> <mmcblk0p2 start address> -> enter (to accept default) -> N -> w · Now resize the partition using the entered settings: resize2fs /dev/mmcblk0p2 Page 36 12.4 Linux Device Tree Description of RZBoard Hardware At startup, u-boot loads the RZBoard.dtb device tree blob, plus whatever device tree overlays have been specified by the user in the uEnv.txt (u-boot environment) file. To configure Linux to use the MIPI DSI display (rather than default HDMI output) or to support peripherals such as I2C, SPI, CAN, ADC, Audio Codec, etc, requires that specific device tree overlay files be enabled. The available device tree overlay files are located in the file-system /boot/overlays/ folder /-----------------------|--------------|------------------------------ | Config to enable | Value if set | File that this loads |-----------------------|--------------|------------------------------ | enable_overlay_disp | 'hdmi' | RZBoard-hdmi.dtbo | | 'mipi' | RZBoard-mipi.dtbo |-----------------------|--------------|------------------------------ | enable_overlay_camera | 'ov5640' | RZBoard-ov5640.dtbo | | 'as0260' | RZBoard-as0260.dtbo |-----------------------|--------------|------------------------------ | enable_overlay_adc | '1' or 'yes' | RZBoard-adc.dtbo |-----------------------|--------------|------------------------------ | enable_overlay_can | '1' or 'yes' | RZBoard-can.dtbo |-----------------------|--------------|------------------------------ | enable_overlay_cm33 | '1' or 'yes' | RZBoard-cm33.dtbo |-----------------------|--------------|------------------------------ | enable_overlay_audio | '1' or 'yes' | RZBoard-lite-audio.dtbo |-----------------------|--------------|------------------------------ | enable_overlay_i2c | '1' or 'yes' | RZBoard-ext-i2c.dtbo |-----------------------|--------------|------------------------------ | enable_overlay_spi | '1' or 'yes' | RZBoard-ext-spi.dtbo |-----------------------|--------------|------------------------------ | enable_overlay_uart2 | '1' or 'yes' | RZBoard-ext-uart2.dtbo |--------------------------------------------------------------------- | fdtfile : is base dtb file, should be set to RZBoard.dtb |--------------------------------------------------------------------- | fdt_extra_overlays : other dtbo files to load | eg. RZBoard-f1.dtbo RZBoard-f2.dtbo |--------------------------------------------------------------------- | uboot env : Use env set to add u-boot environment variables, | eg. 'console=' 'bootargs=' \--------------------------------------------------------------------- Default uEnv.txt setting: fdtfile=RZBoard.dtb enable_overlay_disp=hdmi #fdt_extra_overlays=1.dtbo 2.dtbo 3.dtbo #ethaddr=aa:bb:cc:aa:bb:cc Refer to RZBoard V2L Linux Yocto User Manual for further detail of the Linux BSP software support provided for the RZBoard V2L hardware. Page 37 13 Accessories: RZBoard V2L Add-On Options 13.1 MIPI DSI 7-inch Capacitive Touch LCD Display (Optional) · Supports up to 1280 x 720 resolution · Compatible with all MaaXBoard SBC platforms. · Connects to host via 2-lane MIPI-DSI interface · Capacitive multi-touch display overlay · Custom displays available via Avnet Embedded Part# (and link): AES-ACC-MAAX-DISP2 (MSRP = $95.00) 13.2 MIPI CSI 5 MP Camera (Optional) · High quality 5 MP image sensor · Compatible with all MaaXBoard SBCs and Raspberry Pi · Attaches to host via 2-lane MIPI CSI ribbon cable · Supports 1080p30, 720p60 and 640x480p90 video · Small dimensions (24mm x 25mm x 9mm) Part# (and link): AES-ACC-MAAX-CAM1 (MSRP = $31.95) Page 38 13.3 Other SBCs, SOMs and Accessories from "Avnet Boards" The engineering team in Avnet's Advanced Application Group, work in close partnership with key suppliers to develop a range of enablement solutions: · Kits / Boards / SOMs / Modules · Reference Designs · Trainings / Tutorials / Blogs For more information, visit avnet.me/avnetboards Solutions Guides are also available for download: avnet.me/mpu-mcu-solutions-guide-2022 avnet.me/xlx-solutions-guide-2022 Page 39 Page 40