Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ain1084/serial_audio_encoder
Serial audio encoder
https://github.com/ain1084/serial_audio_encoder
encoder i2s-audio verilog
Last synced: about 1 month ago
JSON representation
Serial audio encoder
- Host: GitHub
- URL: https://github.com/ain1084/serial_audio_encoder
- Owner: ain1084
- Created: 2021-03-27T16:52:07.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-11-26T13:33:33.000Z (about 2 months ago)
- Last Synced: 2024-11-26T14:32:14.110Z (about 2 months ago)
- Topics: encoder, i2s-audio, verilog
- Language: Verilog
- Homepage:
- Size: 17.6 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# serial_audio_encoder
Serial audio (I2S or Left justified) encoder.
## Module description
![serial_audio_encoder](https://user-images.githubusercontent.com/14823909/113436176-35a78480-941f-11eb-936f-84346c20c97f.png)
|Name|Direction|Description|
|--|--|--|
|data_width|parameter|Width of channel audio data|
|reset|input|reset signal (active high)|
|clk|input|Input sclk (Eg. Fs:44100Hz/16bit = 44100 * 16 * 2 = 1.4112MHz)|
|is_i2s|input|Serial format (0: Left justified / 1: I2S)|
|lrclk_polarity|input|Left-right clock polarity (0: low = left / 1: low = right)|
|i_valid|input|Input data (i_xxxx) valid|
|i_is_left|input|i_audio channel (0: right / 1: left)|
|i_audio|input|Channel audio data|
|i_ready|output|Data incoming ready|
|sclk|output|Output SCLK signal|
|lrclk|output|Output LRCLK signal|
|sdo|output|Output DATA signal|
|is_underrun|output|Underrun signal (active high)|## Timming diagram
![is_i2s=0 lrclk_polarity=0](https://user-images.githubusercontent.com/14823909/113443485-0c8df080-942d-11eb-8298-a3c18e720119.png)
![is_i2s=1 lrclk_polarity=1](https://user-images.githubusercontent.com/14823909/113443487-0d268700-942d-11eb-801b-25a3510db615.png)