A small board to extend audio capabilities to FPGA via PMOD interface. Designed with lceda。
It includes:
- WM8731 chip with I2C and I2S
- PAM8303 + XH2.54 2P for speaker output
- 4x TRS port for line in, mic in, line out and headphone out
- PMOD connection to FPGA
Description | Pin number | Pin number | Description |
---|---|---|---|
SPEAKER_MUTE | 7 | 1 | I2S_LRCLK |
MCLK | 8 | 2 | I2S_DACDAT |
I2C_SCL | 9 | 3 | I2S_ADCDAT |
I2C_SDA | 10 | 4 | I2S_BCLK |
GND | 11 | 5 | GND |
VCC | 12 | 6 | VCC |
- Line in: T(Left) R(Right) S(Ground)
- Microphone in: T(Left) R(Ground) S(Ground)
- Line out: T(Left) R(Right) S(Ground)
- Headphone out: T(Left) R(Right) S(Ground)
Online version is available at oshwhub.com/jiegec/wm8731mod。
Schematic, PCB, Gerber and BOM files are included in this repo.
Example code: jiegec/Arty-A7-WM8731PMOD.
Version affected: 2021-03-07, 2021-03-09
PMOD interface is flipped in direction, so you need to flip the board to match the correct pin mapping.
Manufacture in JLC:
- 5 pcs PCB: 5.0 CNY + tax 0.4 CNY
- 5 pcs SMT: Components 126.18 CNY(WM8731 16.05 CNY/pcs, PAM8303 2.51 CNY/pcs) + Other fees 154.4 CNY(Extended library 60 CNY, Engineering 50 CNY, SMT pad 5.9 CNY, Hand weld pad 18.5 CNY, Hand engineering 20 CNY) + Tax 22.45 CNY
Total: 61.686 CNY/pcs.
- Replace some BOM
- Fixed typo: WM7831 -> WM8731
- Fixed errata #1: PMOD interface flipped
- Add support for speaker: XH2.54P connector and PM8303 amplifiier
- Add output selector to choose one of: speaker and line out left
- Initial version with WM8731 and four audio jacks
Licensed under CERN-OHL-P.