background image

VERSION 1.0

J20 (38223)

Initialization 

The J20 rev1 requires a supply of 1.8V from the dev kit board. This has to be enabled first by writing to the 
GPIO port expander on the dev kit board. Rev 2 of the J20 features an on-board 1.8V LDO, so the enabling of 
the 1.8V supply is not required. Please run the following commands every time after powering up the system, 
so that the J20 is initialized. 

i2cset -f -y 1 0x77 3 0xfb

- enable 1.8V power to the J20 (rev 1 only)

i2cset -f -y 6 0x20 6 0x3e

- configure the outputs of the I2C port expander 
  (low byte) - clock lines remain input, so there 
  is no data collision

i2cset -f -y 6 0x20 7 0x33

- configure the outputs of the I2C port expander 
  (high byte)

 

i2cset -f -y 6 0x20 2 0xfe

- write ones to all GPIO outputs and turn on LED 
  (low byte)

i2cset -f -y 6 0x20 3 0xff

- write ones to all GPIO outputs 

 

(high byte)

    

If the initialization commands above have been executed successfully the GPIO LED should be lighted up. The 
power (PWR) LED should be always on. A  Pi camera connected should respond to I2C accesses. We have tested 
the port detection with i2cdetect. After init the GPIO port expander should show up on address 0x20 (device 
6). 

In the default configuration the J20 is configured that the 
GPIO port expander only supplies the CAM_GPIO signal to 
the CSI-2 connectors. 

With the Raspberry Pi cameras the CAM_GPIO is the reset 
to the camera. It must be inactive to allow the camera to 
work. 

The CAM_CLK by default is connected to the CAM_CLK 
signals of the 120 pin dev kit connector. So R11, R12, R15, 
R16, R17, and R18 are installed. 0R resistors (0603 size) or 
solder jumpers. 

Please make sure that the on-board GPIO expander is 
configured correctly with the i2cset commands as listed 
above. The clock pins must be configured as inputs. If not 
then the port expander will drive against the clock signals 
of the dev kit board. This potentially could cause a 
hardware damage. 

AUVIDEA GMBH

TECHNICAL REFERENCE MANUAL

 5

Summary of Contents for 38223

Page 1: ...223 J20 technical reference manual 38223 Version 1 0 Preliminary November 2016 Auvidea GmbH Kellerberg 3 D 86920 Denklingen Tel 49 8243 7714 622 info auvidea com www auvidea com AUVIDEA GMBH TECHNICAL REFERENCE MANUAL 1 ...

Page 2: ...any of its contents may be reproduced copied modified or adapted without the prior written consent of the author unless otherwise indicated for stand alone materials You may share this document by any of the following means this PDF file may be distributed freely as long as no changes or modifications to the document are made For any other mode of sharing please contact the author at the email bel...

Page 3: ...bus the 2nd connector J2_x is connected through an I2C address translation device This changes the I2C address of the camera so that 2 cameras can coexist on the same I2C bus Software drivers The J20 is intended for software developers who wish to develop a software driver for setups with multiple cameras Ridgerun ridgerun com is developing drivers for multiple Raspberry Pi camera setups Please co...

Page 4: ... on the opposite side of the brown hatch The cable is now safely locked in place Some cables may have lengthy stiffeners on the opposite side of the contacts So it may be difficult to slide the cable in as the connectors are placed close to each other In this case please use scissors to shorten the FFC cable So contact length of 2mm is fine for the connectors on the J20 module Auvidea supplies FFC...

Page 5: ...bove have been executed successfully the GPIO LED should be lighted up The power PWR LED should be always on A Pi camera connected should respond to I2C accesses We have tested the port detection with i2cdetect After init the GPIO port expander should show up on address 0x20 device 6 In the default configuration the J20 is configured that the GPIO port expander only supplies the CAM_GPIO signal to...

Page 6: ...o the 6 connectors just change the data in the following 2 commands GPIOs all 1 i2cset f y 6 0x20 2 0xfe i2cset f y 6 0x20 3 0xff GPIOs all 0 i2cset f y 6 0x20 2 0x00 i2cset f y 6 0x20 3 0x00 J20 rev 1 The clock resistors are equipped with solder jumpers The black rubber covers the power on reset patch for the GPIO port expander AUVIDEA GMBH TECHNICAL REFERENCE MANUAL 6 ...

Page 7: ...ess for the 2nd connector J2 This device is configured by 3 resistors R1 R2 and R3 By default the address translation is configured for cameras which have a single I2C address Cameras with multiple I2C addresses may require a custom configuration of the three resistors R1 R2 and R3 120 pin SAMTEC connector to the TX1 dev kit AUVIDEA GMBH TECHNICAL REFERENCE MANUAL 7 ...

Page 8: ...RSION 1 0 J20 38223 J20 rev 2 Rev 2 adds the power on reset circuitry and the 1 8V LDO Also the silkscreen on top on bottom has been extended top view bottom view AUVIDEA GMBH TECHNICAL REFERENCE MANUAL 8 ...

Page 9: ...VERSION 1 0 J20 38223 FAQ 1 to be added AUVIDEA GMBH TECHNICAL REFERENCE MANUAL 9 ...

Page 10: ...l If you have found any typos or errors in this document please let us know This is the preliminary version of this data sheet Please treat all specifications with caution as there may be any typos or errors The Auvidea Team AUVIDEA GMBH TECHNICAL REFERENCE MANUAL 10 ...

Page 11: ...256 KITTOP AC164334 AC164353 AC164383 SOCKET ADM106XTQZ SPC564A80CAL176 ST5M1267 001 FP3 10PIN ADAPTER KIT CY3675 LCC4A TDGL015 ATF15XXDK3 SAA100 LFBGADATC SM64TQ ACTEL 1 AC164358 ATSTK600 RC99 76002056 DS91230 OM13019 598 09185058 AC164369 AC164409 AC164402 SMPA ISP ACTEL 3 KIT ICESABCM81 01 LFVDBGF AC164408 KIT 70601 3 S5U13U00P00C100 AC164352 PN Q208 5256V PN T100 LC4256 AC164370 AC164355 AC164...

Reviews: