{"id":13648969,"url":"https://github.com/jiegec/WM8731PMOD","last_synced_at":"2025-04-22T11:33:30.697Z","repository":{"id":68571353,"uuid":"345546407","full_name":"jiegec/WM8731PMOD","owner":"jiegec","description":"Audio extension board for FPGA with PMOD interface.","archived":false,"fork":false,"pushed_at":"2024-06-11T03:14:08.000Z","size":9755,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-05T10:22:50.412Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cern-ohl-p-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jiegec.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-08T05:56:11.000Z","updated_at":"2024-06-11T03:14:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"f9d1eaf8-30e6-4ad4-95ae-6c77427d5883","html_url":"https://github.com/jiegec/WM8731PMOD","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiegec%2FWM8731PMOD","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiegec%2FWM8731PMOD/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiegec%2FWM8731PMOD/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiegec%2FWM8731PMOD/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jiegec","download_url":"https://codeload.github.com/jiegec/WM8731PMOD/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250232606,"owners_count":21396668,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T01:04:40.567Z","updated_at":"2025-04-22T11:33:27.789Z","avatar_url":"https://github.com/jiegec.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# WM8731PMOD\n\nA small board to extend audio capabilities to FPGA via PMOD interface. Designed with [lceda](https://lceda.cn)。\n\nIt includes:\n\n1. [WM8731](https://www.cirrus.com/products/wm8731/) chip with I2C and I2S\n2. [PAM8303](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/hat/PAM8303_en.pdf) + XH2.54 2P for speaker output\n3. 4x TRS port for line in, mic in, line out and headphone out\n4. [PMOD](https://reference.digilentinc.com/_media/reference/pmod/pmod-interface-specification-1_2_0.pdf) connection to FPGA\n\n## PMOD pin definition\n\n| Description  | Pin number | Pin number | Description |\n| ------------ | ---------- | ---------- | ----------- |\n| SPEAKER_MUTE | 7          | 1          | I2S_LRCLK   |\n| MCLK         | 8          | 2          | I2S_DACDAT  |\n| I2C_SCL      | 9          | 3          | I2S_ADCDAT  |\n| I2C_SDA      | 10         | 4          | I2S_BCLK    |\n| GND          | 11         | 5          | GND         |\n| VCC          | 12         | 6          | VCC         |\n\n## TRS definition\n\n1. Line in: T(Left) R(Right) S(Ground)\n2. Microphone in: T(Left) R(Ground) S(Ground)\n3. Line out: T(Left) R(Right) S(Ground)\n4. Headphone out: T(Left) R(Right) S(Ground)\n\n## Project\n\nOnline version is available at [oshwhub.com/jiegec/wm8731mod](https://oshwhub.com/jiegec/wm7831pmod)。\n\nSchematic, PCB, Gerber and BOM files are included in this repo.\n\n![Schematic](Schematic.png)\n\n![PCB](PCB.png)\n\nExample code: [jiegec/Arty-A7-WM8731PMOD](https://github.com/jiegec/Arty-A7-WM8731PMOD).\n\n## Errata\n\n### #1: PMOD interface flipped\n\nVersion affected: 2021-03-07, 2021-03-09\n\nPMOD interface is flipped in direction, so you need to flip the board to match the correct pin mapping.\n\n## Cost\n\nManufacture in JLC:\n\n1. 5 pcs PCB: 5.0 CNY + tax 0.4 CNY\n2. 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\n\nTotal: 61.686 CNY/pcs.\n\n## References\n\n- [A similar project](http://ebrombaugh.studionebula.com/synth/codec_pmod/index.html)\n- [DE2 board schematic](https://wiki.bu.ost.ch/infoportal/_media/fpga/cyclone_iv/de2_115_schematic.pdf)\n\n## Version history\n\n### 2024-04-09\n\n1. Replace some BOM\n\n### 2021-04-29\n\n1. Fixed typo: WM7831 -\u003e WM8731\n\n### 2021-04-13\n\n1. Fixed errata #1: PMOD interface flipped\n\n### 2021-03-09\n\n1. Add support for speaker: XH2.54P connector and PM8303 amplifiier\n2. Add output selector to choose one of: speaker and line out left\n\n### 2021-03-07\n\n1. Initial version with WM8731 and four audio jacks\n\n## License\n\nLicensed under CERN-OHL-P.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjiegec%2FWM8731PMOD","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjiegec%2FWM8731PMOD","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjiegec%2FWM8731PMOD/lists"}