board dev studio

Verified 2026-11

m5stack STM32G030F6P6 Voice Pyramid Smart Speaker Base without M5Atom

Pyramid speaker base with an STM32G030F6P6, ES8311 codec, ES7210 ADC, AW87559 amplifier, SI5351 clock and 28 WS2812 LEDs, exposing 3.3 V, I2C and I2S on a 9-pin Atom-interface so an Atom controller supplies the brains; $24.50 USD as measured at M5Stack.

Place this board on a carrier in the editor →

Logic level3.3 V

Part & documents

Headline partSTM32G030F6P6
Data sheetSTM32G030F6P6 data sheet →
Sourceshop.m5stack.com/products/echo-pyramid-smart-speaker-base-without-m5atom →

Specs

MCUST STM32G030F6P6

Pinout

9 pads, as the vendor numbers them.

#NameFunctionSignals
13V33.3 V from the host controller, right column vendor pad 1
2SCLI2C clock, left column vendor pad 2
3I2S_DOUTI2S data out of the base, right column vendor pad 3
4SDAI2C data, left column vendor pad 4
5I2S_SCLKI2S bit clock, right column vendor pad 5
65V5 V power in, left column vendor pad 6
7I2S_DINI2S data into the base, right column vendor pad 7
8GNDground, left column vendor pad 8
9I2S_LRCKI2S word / left-right clock, right column vendor pad 9

Buses

BusSignalsPinsVoltageNote
I2C ×1SDA, SCLSDA, SCL
I2S ×1I2S_SCLK, I2S_LRCK, I2S_DIN, I2S_DOUTI2S_SCLK, I2S_LRCK, I2S_DIN, I2S_DOUT

I²C / bus addresses

AddressBusDeviceNote
0x60I2CSI5351 clock generator
0x18I2CES8311 audio codec
0x40I2CES7210 audio ADC
0x1AI2CSTM32G030F6P6 base controller
0x5BI2CAW87559 amplifier

Power

InputDC 5 V on pad 6 and on the PORT.A 5 V wire
Typical draw578.47 mA

Notes

Pad numbers are M5Stack's own 9-pin Atom-form interface numbering, printed as a LEFT/RIGHT table on docs.m5stack.com/en/products/sku/A167; every one of the nine pads is labelled by the vendor, so nothing is inferred. The HY2.0-4P PORT.A socket is a second connector and is described in ai_context rather than folded into pins[] because the vendor numbers it only by colour, not by pad. datasheet_url is M5Stack's own copy of ST's STM32G030x6/x8 datasheet DS12991 Rev 6 (100 pages, application/pdf, verified 200) - the file is named stm32g030c6.pdf but its title page covers the whole x6/x8 family including the F6 part fitted here, and st.com itself does not resolve from this host. The address table is the vendor's own cross-reference and lists five devices on the one I2C bus. Price is USD as measured, not converted.

AI context

Dense context for pasting into a model prompt — addresses, pinout, voltages, tolerances and the vendor's reference circuit.

BOARD: M5Stack Voice Pyramid, SKU A167, an 83.6 x 83.6 x 56.7 mm pyramid-shaped smart-speaker base weighing 100.7 g that carries the audio front end and lights but no application processor - the "without M5Atom" in its name means the host Atom controller is bought separately and plugs into the 9-pin interface on top. It contains an STM32G030F6P6 microcontroller that runs the base itself (touch, LEDs, codec setup), an ES8311 audio codec, an ES7210 audio ADC, an LMA3729T381-0Y3S microphone, an AW87559 amplifier, an SI5351 clock generator, 28 WS2812 RGB LEDs arranged as four bars of seven, and dual-side touch-slider zones with four detection points, two per side. Powered from DC 5 V.
ADDRESSES: the base puts five devices on one I2C bus, all at fixed addresses - SI5351 clock generator 0x60, ES8311 codec 0x18, ES7210 ADC 0x40, STM32G030F6P6 0x1A and AW87559 amplifier 0x5B. The host controller talks to all five over the single SCL/SDA pair on the interface, so each must be addressed by its own number.
PINOUT: 9 pads on the Atom-form interface, numbered left and right columns the way M5Stack prints it: pad 1 = 3V3, pad 2 = SCL, pad 3 = I2S_DOUT, pad 4 = SDA, pad 5 = I2S_SCLK, pad 6 = 5V, pad 7 = I2S_DIN, pad 8 = GND, pad 9 = I2S_LRCK. All nine are labelled; the interface carries power, one I2C bus and one full-duplex I2S port. A separate HY2.0-4P PORT.A socket is also fitted and wired GND (Black), 5V (Red), SCL (Yellow), SDA (White), i.e. the standard M5Stack PORT.A I2C pinout, not a custom one.
SUPPLY: 5 V in on pad 6 (and on the PORT.A 5 V wire). The vendor measures 14.92 mA standby with no controller connected and 578.47 mA operating at maximum volume with a controller attached, so the 5 V feed has to supply over half an amp at full volume. The STM32G030F6P6 itself is a 2.0 V to 3.6 V part and runs here from the 3.3 V rail that the board makes.
LOGIC LEVEL: 3.3 V on SCL, SDA, the three I2S clocks and the 3V3 pad; the 5V pad is power, not a logic line. The STM32G030 is rated -40 to +85 degrees C, while M5Stack rates the assembled base at -10 to +60 degrees C, so the base's rating is the one that applies.
REFERENCE CIRCUIT: nothing to add - the codec, ADC, microphone, amplifier, clock generator and LEDs are all on the board and the interface only needs power plus I2C and I2S from the host. From the vendor's own cross-reference tables: SI5351 CLK1 drives ES7210 I2S_MCLK_ADC and ES8311 I2S_MCLK_DAC, so the clock generator is what feeds both audio devices rather than the host; ES8311 has SCLK, LRCK and DSDIN on the shared I2S lines, ES7210 has SCLK, LRCK and ASDOUT on them, and I2S_DOUT and I2S_DIN are the two directions of that same port. AW87559's SPK_RST comes from STM32 PB7. NEOPIXEL1's DIN is on PA6 and NEOPIXEL2's DIN on PA7. The four touch points are TP_1 on PA0, TP_2 on PA1, TP_3 on PA4 and TP_4 on PA5.
TRAPS: the base is not a computer - without an Atom-shaped controller in the socket there is no WiFi, no application code and no audio source, and the package contains only the base. Five I2C devices share one bus at fixed addresses, so an added sensor must not use any of 0x18, 0x1A, 0x40, 0x5B or 0x60. The board's I2S port uses M5Stack's own ordering: DOUT is the base's output to the host, DIN is the host's data into the base, which is the reverse of what a codec-centric silkscreen would suggest. Speaker volume is set through the AW87559/ES8311 path over I2C, not by a pin. The two touch zones are per-side sliders, so the four points give position along each side, not four discrete buttons.

Provenance

Every figure on this page was read from the 5 sources below and last checked on Nov 1, 2026.

Related boards