M5Stack Unit PaHUB2 Pinout

Connect one host I²C bus at PORT.A to six switchable channels. Select one channel at a time when downstream devices share an address. The 5 V and ground rails are shared across all seven sockets.

  • PCA9548A NXP

Main pinout

100%Drag to pan · Ctrl/⌘ + wheel to zoomSwipe up/down to scroll the page · Swipe sideways to pan · Use two fingers to pan and zoom
Show signal routes

Pin index

Pin index

Quickly scan every header pin, port name, supported function and usage note.

28 visible
PinMCU pinTypesNotes
I2CDownstream I²C channel 3. Serial clock.
I2CDownstream I²C channel 3. Serial data.
PowerDownstream I²C channel 3. Shared 5 V supply from PORT.A.
GNDDownstream I²C channel 3. Common ground.
I2CDownstream I²C channel 2. Serial clock.
I2CDownstream I²C channel 2. Serial data.
PowerDownstream I²C channel 2. Shared 5 V supply from PORT.A.
GNDDownstream I²C channel 2. Common ground.
GNDDownstream I²C channel 4. Common ground.
PowerDownstream I²C channel 4. Shared 5 V supply from PORT.A.
I2CDownstream I²C channel 4. Serial data.
I2CDownstream I²C channel 4. Serial clock.
GNDDownstream I²C channel 5. Common ground.
PowerDownstream I²C channel 5. Shared 5 V supply from PORT.A.
I2CDownstream I²C channel 5. Serial data.
I2CDownstream I²C channel 5. Serial clock.
I2CDownstream I²C channel 1. Serial clock.
I2CDownstream I²C channel 1. Serial data.
PowerDownstream I²C channel 1. Shared 5 V supply from PORT.A.
GNDDownstream I²C channel 1. Common ground.
I2CDownstream I²C channel 0. Serial clock.
I2CDownstream I²C channel 0. Serial data.
PowerDownstream I²C channel 0. Shared 5 V supply from PORT.A.
GNDDownstream I²C channel 0. Common ground.
GNDUpstream host socket. Common ground.
PowerUpstream host socket. Nominal 5 V supply input.
I2CUpstream host socket. Serial data.
I2CUpstream host socket. Serial clock.

Specifications

Model
PaHUB2 (Unit PaHub v2.0), SKU U040-B
I²C switch
PCA9548A family, marked PCA9548A on the photographed board
Supply
5 V nominal via PORT.A, shared with the six channels
Switch address
0x70 default, 0x70–0x77 via A0–A2 (7-bit)
I²C clock
Up to 400 kHz at the switch IC, subject to bus loading
Sockets
Seven HY2.0-4P sockets, 2.0 mm pitch
Enclosure
48 × 24 × 10.8 mm

References

Datasheets

Manufacturer references and technical documentation.

ChipRoleManufacturerNotesLink
U040-BProduct documentation and PinMapM5StackModel, connector map, default address and address links.Datasheet
PCA9548AI²C switch datasheetNXPIC pin functions, bus timing and channel selection.Datasheet
Unit PaHubReference schematic linked by M5StackM5StackThe shared drawing shows the earlier TCA9548A symbol. A U040-B electrical CAD file was unavailable.Datasheet
U040-BMechanical CADM5StackEnclosure geometry and socket placement.Datasheet

Board notes

Connector positions
Component side with PORT.A at the bottom. CH3 and CH2 are at the top, left to right. CH4 and CH5 are on the left, top to bottom. CH1 and CH0 are on the right, top to bottom.
Power and logic levels
Channel selection switches only SDA and SCL. The linked reference schematic shows 10 kΩ pull-ups to the shared 5 V rail on both sides of the switch. Check host and peripheral compatibility with the actual board pull-ups. The module has no published per-port current rating.
Address straps
M5Stack specifies three optional 0 Ω links under the switch on the component side, in A2, A1, A0 order from left to right with PORT.A down. Fitting a link sets its address bit high. The 7-bit address is 0x70 + 4×A2 + 2×A1 + A0. The macro photograph shows a different chip marking.
Channel control
Write bits 0–5 of the switch control byte to select CH0–CH5. Power-up deselects every channel. Channels 6 and 7 of the IC have no socket on the module.
Hardware identification
The pictured U040-B uses solder links for its address. Unit PaHub U040 uses TCA9548A and Unit PaHub v2.1 U040-B-V21 adds a DIP switch. The exact PCB revision of this U040-B is unconfirmed.