Wi-Fi streaming module LinkPlay A31 (AirPlay, DLNA, Spotify Connect)
OEM streaming module as in WiiM / Arylic / Audio Pro class amplifiers: Wi-Fi 802.11n with an external antenna (I-PEX), receives AirPlay, DLNA and Spotify Connect and outputs the audio on I2S (pin 7 SDO, 5 WS, 6 CLK) to a DSP or DAC. The device's microcontroller controls it over the UART (57600 8N1, pins 24 RXD / 25 TXD) with the LinkPlay MCU commands: MCU+PLY+PUS (play/pause), MCU+VOL+050 (volume 0–100), MCU+MUT+001, MCU+PLM+GET (source), MCU+MEA+GET (title, artist); the module reports AXX+… lines. 5 V, 170 mA (320 mA peak), 100 µF + 10 µF at the supply; 3.3 V output for small loads (100 mA). In the simulation it joins the circuit's Wi-Fi router and "plays" the chosen test signal or demo phrase as the stream; it boots in a few seconds (a real module takes 10–20 s).
Key data
- Category
- Radio
- Simulation model
- Behavioural mixed-signal model
- Manufacturer part number
- A31
- Reference prefix
- U
- Pins
- 28
- Land pattern
- LinkPlay_A31
Used in these examples 1
Simulation model
A behavioural model implements the interface of the chip (registers, protocol, timing) at its pins. The pins are connected to the analog circuit like CMOS pins.
- Model
- linkplay_a31
- Supply pins
- 1 / 3
Pins 28
| Pin | Name | Use |
|---|---|---|
| 1 | 5VINSupply pin | Supply 5 V (3.5–5.5 V, 320 mA peak): 100 µF + 10 µF |
| 2 | 5VINSupply pin | Supply 5 V (both pins) |
| 3 | GNDGround pin | Ground |
| 4 | GNDGround pin | Ground |
| 5 | I2S_WSI/O pin | I2S word clock (LRCK) out |
| 6 | I2S_CLKI/O pin | I2S bit clock (BCLK) |
| 7 | I2S_SDOOutput pin | I2S audio data out: to the DSP / DAC input |
| 8 | I2S_SDII/O pin | I2S audio data in (not used by the model) |
| 9 | ETH_TXPPassive pin | Ethernet TX+ (optional, via magnetics) |
| 10 | ETH_TXNPassive pin | Ethernet TX− |
| 11 | ETH_RXPPassive pin | Ethernet RX+ |
| 12 | ETH_RXNPassive pin | Ethernet RX− |
| 13 | USB_DMI/O pin | USB host D− |
| 14 | USB_DPI/O pin | USB host D+ |
| 15 | I2C_CLKI/O pin | I2C clock (pull-up on the module) |
| 16 | I2C_SDAI/O pin | I2C data (pull-up on the module) |
| 17 | CPU_RSTInput pin · pulled up on the board | Reset in, active low (> 300 ms), pull-up on the module: to a host GPIO |
| 18 | nReloadInput pin · pulled up on the board | Low 0.3–5 s: WPS; > 5 s: factory reset (button to GND) |
| 19 | GPIO5I/O pin | GPIO (module firmware) |
| 20 | 3.3VDOutput pin | 3.3 V out for small loads (100 mA) |
| 21 | GNDGround pin | Ground |
| 22 | GPIO2I/O pin | GPIO (module firmware) |
| 23 | GPIO1I/O pin | GPIO (module firmware) |
| 24 | UART_RXDInput pin | UART in from the host MCU (57600 8N1): to the MCU TX |
| 25 | UART_TXDOutput pin | UART out to the host MCU: to the MCU RX; must stay high while booting |
| 26 | GPIO4I/O pin | GPIO (module firmware) |
| 27 | GPIO3I/O pin | GPIO (module firmware) |
| 28 | GNDGround pin | Ground |
Parameters 5
streamliveWhat a phone streams to the module: a test signal, the demo phrase or a music file you choose in the inspector (it stays in this browser tab and is not saved with the project). Real AirPlay / Spotify streams cannot enter the simulation.
sourceliveReported to the host as AXX+PLM+nnn: 000 idle, 001 AirPlay, 002 DLNA, 031 Spotify
ssidThe module joins a Wi-Fi router part with this SSID (set up in the LinkPlay app on a real device)
volumeThe module keeps its last volume (0–100); the host changes it with MCU+VOL+nnn
bootA real module needs 10–20 s; shorter here so the simulation gets to the interesting part
PCB
LinkPlay_A31pin numbering of the two 2.0 mm rows not dimensioned in the module manual: check against the module or its socket strips before ordering
| Package | Land pattern | Status | Source |
|---|---|---|---|
| module · A31 | LinkPlay_A31 | Draft: check before production | LinkPlay A31 user manual (FCC 2AAPP-A31): two rows of 14 pins, 2.0 mm pitch, 26.3 mm apart; pin numbering along the rows as drawn here (1–14 down the left row, 15–28 down the right row) is not dimensioned in the manual |
Needs: pin numbering of the two 2.0 mm rows not dimensioned in the module manual: check against the module or its socket strips before ordering | |||