Expansion#
BeagleBadge does not use the BeagleBone cape headers. Instead it expands through three types of industry-standard ecosystem connectors, so that off-the-shelf modules can be attached without designing a custom board. BeagleBadge has two QWIIC connectors, one Grove connector and one mikroBUS socket. A row of 1.8V GPIO and ADC pads along the top edge covers everything else, and two FPC connectors carry the ePaper panel and a MIPI DSI display.
Note
The pin order of each connector is fixed by its ecosystem. What varies between boards is which SoC peripheral lands on each pin. Both are given below, read from the schematic. Anything still unconfirmed is marked.
Pinout diagrams#
Todo
Add pinout diagrams for the QWIIC, Grove, mikroBUS and GPIO expansion headers in the style of the Expansion diagrams, marking pin 1 of each.
QWIIC connectors#
BeagleBadge has two QWIIC connectors (WY-4539), 4-pin 1.0mm pitch JST-SH style,
right-angle. QWIIC is a 3.3V I2C-only ecosystem, which means devices can be daisy-chained
and hot-plugged without soldering.
Pin |
Signal |
Cable colour |
Notes |
|---|---|---|---|
1 |
GND |
Black |
Ground |
2 |
3.3V |
Red |
Supply, |
3 |
SDA |
Blue |
I2C data |
4 |
SCL |
Yellow |
I2C clock |
The two connectors are on separate buses: QWIIC 1 (J6) is on I2C1, shared
with the mikroBUS socket, the Grove connector and the ePaper touch option. QWIIC 2
(J7) is on I2C2 by itself. That means a module with a fixed I2C address can be
used on both connectors at the same time. Both are filtered with ferrite beads and ESD
diodes.
Both buses are pulled up to VDD_3V3 with 4.7kΩ resistors beside the SoC, on
schematic sheet 15, so a module does not need
pull-ups of its own. Many QWIIC modules fit them anyway. With several such modules on
one bus, disable the extra pull-ups, usually with a solder jumper on the module.
The 3.3V pin is VDD_3V3 through a ferrite bead rated 1.3A, with no current limit or
fuse of its own. The same rail supplies the SoC I/O, the ePaper panel and the other
expansion connectors, so the practical budget is set by the battery. See
Powering expansion hardware.
Grove connector#
BeagleBadge has one Grove connector (PHS-4A), 4-pin 2.0mm pitch, right-angle.
Pin |
Signal |
Cable colour |
Notes |
|---|---|---|---|
1 |
SCL |
Yellow |
I2C clock on an I2C Grove port |
2 |
SDA |
White |
I2C data on an I2C Grove port |
3 |
VCC |
Red |
Supply |
4 |
GND |
Black |
Ground |
Important
This is an I2C Grove port at 3.3V, on I2C1. Grove modules that expect a 5V
supply, or that use the UART, analog or digital Grove variants, will not work here
without an adapter.
mikroBUS socket#
BeagleBadge has one mikroBUS socket, built from a pair of 1x8, 2.54mm pitch vertical
female headers (ST-FH-254-0144-1*8P-B). mikroBUS is a MikroElektronika standard that
gives access to SPI, I2C, UART, PWM, analog and interrupt lines from a single socket, and
there are well over a thousand Click boards available for it.
Pin |
Signal |
BeagleBadge function |
Pin |
Signal |
BeagleBadge function |
|---|---|---|---|---|---|
1 |
AN |
|
16 |
PWM |
|
2 |
RST |
|
15 |
INT |
|
3 |
CS |
|
14 |
RX |
|
4 |
SCK |
|
13 |
TX |
|
5 |
MISO |
|
12 |
SCL |
|
6 |
MOSI |
|
11 |
SDA |
|
7 |
+3.3V |
|
10 |
+5V |
Boost converter, 0.1A max |
8 |
GND |
Ground |
9 |
GND |
Ground |
SPI1 is shared with the 7-segment display expander, and I2C1 with QWIIC connector
1 and the Grove connector. Every pin carries an ESD diode.
Warning
The 5V pin is fed from the on-board boost converter through a diode and is limited
to 0.1A. Click boards that draw more than that from 5V will not work reliably on
battery power.
GPIO expansion header#
Two 15-pin headers, J28 on the left and J27 on the right, sit side by side across
the front of the board just below the lanyard slot. No connector is fitted. Instead of
sitting in a straight line, the plated holes zig-zag, they alternate slightly above and
below the centre line of a standard header footprint. A pin header pushed into the row
is gripped by the staggered holes, so it makes contact without soldering.
The silkscreen prints the AM62L32 ball name beside each hole rather than a GPIO number.
BeagleBadge fits no Ethernet PHY, so both RGMII ports and the MDIO0 pair are free for
use as general-purpose I/O. Pins are numbered left to right as you look at the front of
the board: 1-15 on J28 and 16-30 on J27.
Warning
Signal pins are 1.8V. Connecting 3.3V or 5V logic directly risks damaging the SoC, so use a level translator.
Pin |
Silkscreen |
Signal |
|---|---|---|
1 |
|
1.8V supply |
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
Ground |
The schematic numbers J27’s own pins 1-15, so pin 16 here is J27 pin 1.
Pin 16 carries Sensor_3V3, the switched 3.3V rail that also feeds the IMU, light
sensor, RGB LED and 7-segment digits. It is on only while WKUP_GPIO0_1 enables it,
so switch it on in software before powering anything from this pin.
Note
On schematic sheets 15 and 24 the net label for ball AC8 reads RGMII1_RX_CTL, but
the SoC symbol names that ball RGMII2_RX_CTL, which is what the pinout above shows.
Todo
Add the Linux GPIO chip and line number for each signal pin, read back from a running
board with gpioinfo (libgpiod), so the header can be driven without working
back from ball names. The ball-to-signal mapping is on
schematic sheet 15.
FPC connectors#
Connector |
Positions |
Part |
Purpose |
|---|---|---|---|
ePaper |
24+2, 0.5mm |
|
4.2 inch 400x300 black-and-white ePaper panel, top contact |
MIPI DSI |
22, 0.5mm |
|
LCD panel, right-angle bottom contact |
Pin |
Signal |
BeagleBadge connection |
|---|---|---|
1 |
NC |
|
2 |
GDR |
|
3 |
RESE |
Boost current sense |
4 |
NC |
Not connected |
5 |
VSH2 |
Decoupled to ground |
6 |
TSCL |
Touch I2C clock, link to |
7 |
TSDA |
Touch I2C data, link to |
8 |
BS1 |
Interface select, tied for 4-line SPI |
9 |
BUSY |
|
10 |
RES# |
Panel reset, from |
11 |
D/C# |
|
12 |
CS# |
|
13 |
SCL |
|
14 |
SDA |
|
15 |
VDDIO |
|
16 |
VCI |
|
17 |
VSS |
Ground |
18 |
VDD |
Decoupled to ground |
19 |
VPP |
Not connected |
20 |
VSH1 |
Decoupled to ground |
21 |
VGH |
Gate high voltage from the on-board boost |
22 |
VSL |
Decoupled to ground |
23 |
VGL |
Gate low voltage from the on-board boost |
24 |
VCOM |
Decoupled to ground |
25, 26 |
Mounting |
Ground |
The signal names are the panel’s own.
Pin |
Signal |
BeagleBadge connection |
|---|---|---|
1 |
GND |
Ground |
2 |
D0_N |
|
3 |
D0_P |
|
4 |
GND |
Ground |
5 |
D1_N |
|
6 |
D1_P |
|
7 |
GND |
Ground |
8 |
CLK_N |
|
9 |
CLK_P |
|
10 |
GND |
Ground |
11 |
D2_N |
|
12 |
D2_P |
|
13 |
GND |
Ground |
14 |
D3_N |
|
15 |
D3_P |
|
16 |
GND |
Ground |
17 |
GPIO |
|
18 |
GPIO |
|
19 |
GND |
Ground |
20 |
SCL |
|
21 |
SDA |
|
22 |
3.3V |
|
23, 24 |
Mounting |
Ground |
All four DSI data lanes are routed, so the connector supports the SoC’s full DSI
output of up to 1920x1080 at 60fps. Pins 17 and 18 go through BSS138 level
shifters with 10kΩ pull-ups on both sides, and can be used for panel reset or
backlight enable.
Todo
List LCD panels that have been tested on J24, with the device tree overlay each one
needs.
Antenna connectors#
Connector |
Type |
Radio |
|---|---|---|
Wi-Fi / BLE |
IPEX Gen 4 (MHF4) |
BeagleMod BM3301-1216 module (TI CC3301) |
LoRa |
u.FL |
Wio-SX1262 module |
Todo
List antennas known to work on the IPEX Gen 4 (Wi-Fi and BLE) and u.FL (LoRa) connectors. The BM3301-1216 module is certified with specific antennas. See the BeagleMod CC33 page.
Powering expansion hardware#
The QWIIC, Grove and mikroBUS 3.3V pins are on VDD_3V3, which is ON whenever the board is ON
and has no separate switch. The mikroBUS 5V pin comes from the boost converter and is limited to
0.1A. GPIO expansion header pin 16 is Sensor_3V3, which software must switch on.
See Rails, converters and load switches.
Warning
On battery, every milliamp drawn by expansion hardware comes out of a single BL-5C cell. Budget carefully before attaching several modules at once.