![UUGear PiGear Nano User Manual Download Page 38](http://html1.mh-extra.com/html/uugear/pigear-nano/pigear-nano_user-manual_1065765038.webp)
35
10.7.4 Configuration 4 (four outputs):
In order to configure all of them as outputs, you need to set the register in I2C-1 to 0x00, set the
register in I2C-6 to 0xFC and then set to 0xFE.This way you give bit 2 a raising edge to make the
change take effect.
Bus
Address
Register Index
Set to Value
I2C-1
0x20
Omitted
0x00 (B00000000)
I2C-6
0x20
omitted
0xFC (B11111100)
and then
0xFE (B11111110)
Then you set the output pin status via I2C-1 (address=0x20, omitting register index). More
specifically set the value of bit 4 ~7 to change the output state on DIO-1, DIO-2, DIO-3 and DIO-4.
Bit
7
6
5
4
3
2
1
0
Value
0 / 1
0 / 1
0 / 1
0 / 1
X
X
X
X
Pin
DIO-4
DIO-3
DIO-2
DIO-1
N/A
N/A
N/A
N/A
11. PCIE
PiGear Nano extends 4 channels of USB3.0 interfaces from the PCIE on Raspberry Pi Compute
Module 4, and then extends a PCIE Gen3 x2 (via RTL9210B-CG) for NVME SSD, a Mini PCIE for 4G
LTE module, and also 8 USB 3.0 ports.
Summary of Contents for PiGear Nano
Page 5: ...2...