Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Keith Packard 0b90fd5adf samples, tests, boards: Switch main return type from void to int 2 years ago
..
src samples, tests, boards: Switch main return type from void to int 2 years ago
CMakeLists.txt
README.rst
prj.conf
sample.yaml

README.rst

.. _i2s_litex_example:

#####################
I2S example
#####################

Overview
********

This is a simple I2S audio transceiver example. You can plug any source of music and listen to it.

Audio Format
************

The driver requires and provides Audio data with the following parameters:

* 44100 kHz sample rate
* Signed 24 bit PCM
* Stereo
* Little endian

Building
********

.. code-block::

mkdir build && cd build
cmake -DBOARD=litex_vexriscv ..
make

Known issues
************

It seems that after a few minutes some music delay occurs, this is because the sound driver is not able to send data as fast as it receives it.