Difference between revisions of "SK-RZG1M:RZGEXT"

From eLinux.org
Jump to: navigation, search
(Created page with "{{TOC right}} == Introduction == This is the official Wiki for Renesas RZ/G1M Expansion Board. Please refer to RZ-G/Boards/SK-RZG1M for Renesas RZ/G1M board. == Hardwar...")
 
(Switch position, Aduio discription and other minor fixes added)
Line 43: Line 43:
 
  "12V" - supply 12V from CN4 to LVDS camera
 
  "12V" - supply 12V from CN4 to LVDS camera
 
  open - do not supply power to LVDS camera
 
  open - do not supply power to LVDS camera
 +
 +
===SW1 Switch Positions===
 +
 +
SW1.1 <br>
 +
OFF - CMOS Camera on VIN2 active (CN20)<br>
 +
ON - LVDS Camera on VIN2 active (CN5)<br><br>
 +
 +
SW1.2 <br>
 +
OFF - CMOS Camera on VIN1 active (CN19)<br>
 +
ON - EthernetAVB port active (CN1)<br>
 +
 +
===Additional Connector===
 +
 +
[[File:RZGEXT Additional Connector.png|left|thumb|RZ/G1M Expansion Board Additional Connector]]
 +
<br clear=all>
  
 
===EthernetAVB===
 
===EthernetAVB===
Line 58: Line 73:
 
Next step you should set JP7 in open state. Pext01 board generates own 125MHz refclock.
 
Next step you should set JP7 in open state. Pext01 board generates own 125MHz refclock.
  
 +
 +
===Multi-Channel Audio===
 +
 +
====Hardware====
 +
PCM3168A: 24-Bit, 96-kHz/192-kHz, 6-In/8-Out Audio Codec with Differential Input/Output<br>
 +
TPA6133A2: Stereo Headphone Amplifiers for Headphones outputs<br>
 +
OPA2134: High Performance Audio Operational Amplifiers for Line-outs and Microphone/Line-ins<br>
 +
<br>
 +
Connected to R-Car M2 processor through SSI3 and 4 in I2S TDM mode (Time Division Multiplexed Audio Interface).
 +
 +
====Software====
 +
From SW point of view PCM3168A codec is represented as 8-ch playback and 8-ch capture device. Due to share of WS and BCLK pins between SSI3 and SSI4 both playback and capture can be done with same sample rate only (48000 or  44100).
 +
<br>
 +
Using a PulseAudio soundcard can be splitted to several sink/sources.
 +
<br><br>
 +
 
===Modification===
 
===Modification===
  

Revision as of 07:59, 28 June 2016

Introduction

This is the official Wiki for Renesas RZ/G1M Expansion Board.

Please refer to RZ-G/Boards/SK-RZG1M for Renesas RZ/G1M board.

Hardware

This section contains information about RZ/G1M Expansion Board hardware.

Board Layout

Rzg1m expansion (bot).png

Rzg1m expansion (top).png

Hardware Features

  • Ethernet AVB phy
    • KSZ9031 phy
  • LVDS camera interface
    • MAX9272 deserializer
    • 8-bit wide video bus connected to VI2 interface of R-Car M2 CPU
    • 5V or 12V selectable supply voltage for camera with current limiting
  • CMOS camera interface (x2)
    • 8-bit wide bus with Hsync and Vsync
    • Up to 100 MHz pixelclock
  • High quality 24-bit audio codec PCM3168A
    • 6 input channels (3 stereo jacks for microphone connection)
    • 8 line out channels (RCA connectors)
    • 8 HP outputs (3 stereo jack connectors for direct headphones connection)
    • 44100/48000 Hz sampling frequency
  • RS-232 interface with flow control
  • Additional connector with 2xUART, SSI and several GPIOs

CMOS camera interface 2 (CN20) share VIN2 with LVDS camera deserializer. So only one type of camera can be used simultaneously. CMOS camera interface 1 (CN19) share pins with WthAVB interface. So only EthAVB or CMOS camera can be used simultaneously.

Jumper Positions

J1 - voltage select for LVDS camera

"5V" - supply 5V to LVDS camera
"12V" - supply 12V from CN4 to LVDS camera
open - do not supply power to LVDS camera

SW1 Switch Positions

SW1.1
OFF - CMOS Camera on VIN2 active (CN20)
ON - LVDS Camera on VIN2 active (CN5)

SW1.2
OFF - CMOS Camera on VIN1 active (CN19)
ON - EthernetAVB port active (CN1)

Additional Connector

RZ/G1M Expansion Board Additional Connector


EthernetAVB

This section provides information about Ethernet for Audio Video Bridging (AVB) for R-Car M2 Porter board.

R-Car M2 SoC provides Ethernet AVB functionality with 1000Mbps speed. This IP block shares pins with Ethernet MAC so only one of these interfaces can be used. R-Car M2 Porter board provides Ethernet MAC with KSZ8041RNLI PHY and Ethernet AVB connector (CN3). You can find this connector on the Porter hardware page. Thus it is necessary to disconnect KSZ8041RNLI PHY before using Ethernet AVB. To achieve this you should remove resistor R321. Resistors R1005 and R1006 allows to connect PHY reset pin to different SoC pins. Please, check that resistor R1005 is installed and R1006 is not.

KSZ8041RNLI reset resistor


This resistor connects KSZ8041RNLI PHY reset pin with R-Car M2 SoC. Without this resistor MAC PHY remains in the reset mode and does not use shared pins.

Ethernet AVB clock jumper


Next step you should set JP7 in open state. Pext01 board generates own 125MHz refclock.


Multi-Channel Audio

Hardware

PCM3168A: 24-Bit, 96-kHz/192-kHz, 6-In/8-Out Audio Codec with Differential Input/Output
TPA6133A2: Stereo Headphone Amplifiers for Headphones outputs
OPA2134: High Performance Audio Operational Amplifiers for Line-outs and Microphone/Line-ins

Connected to R-Car M2 processor through SSI3 and 4 in I2S TDM mode (Time Division Multiplexed Audio Interface).

Software

From SW point of view PCM3168A codec is represented as 8-ch playback and 8-ch capture device. Due to share of WS and BCLK pins between SSI3 and SSI4 both playback and capture can be done with same sample rate only (48000 or 44100).
Using a PulseAudio soundcard can be splitted to several sink/sources.

Modification

You need to connect test point CP104 to the test point TP17 to make VIN1 work properly.

Connection between CP104 and TP17
(marked with red)



Installing RZ/G1M Expansion Board

Use the following procedure to install RZ/G1M Expansion Board to the RZ/G1M Board.
1. Find EXIO and Ethernet AVB connectors on both RZ/G1M and RZ/G1M Expansion boards.

2. Align and carefully push them to each other until Ethernet AVB and EXIO connectors are fully inserted.

RZ/G1M Expansion Board connected to the RZ/G1M Board with MT9D111 and OV5642 cameras


3. When boards are reliably mounted to each other, use 12V power supply splitter cables to connect RZ/G1M and RZ/G1M Expansion board's power plugs to the same adapter.

Some peripheral components:

Power supply splitter
Camera module with MT9D111
Camera module with OV5642