Configurare driver I2S: Diferență între versiuni

De la YO3ITI
Sari la navigare Sari la căutare
Pagină nouă: Enabling I2S ............ The default ALSA sound devices supported by the Raspberry Pi 3 are PWM audio output jack and HDMI output. To run this demonstration I2S input and output needs to be enabled. The goal is to use a simple I2S interface that does not depend on a particular DAC or CODEC device that requires configuration over I2C or SPI. To avoid recompilation of the Linux kernel a loadable kernel module is used. This enables the driver for the I2S peripheral inside th...
 
Fără descriere a modificării
Linia 1: Linia 1:
Enabling I2S
............
The default ALSA sound devices supported by the Raspberry Pi 3 are PWM audio output jack and HDMI output. To run this demonstration I2S input and output needs to be enabled. The goal is to use a simple I2S interface that does not depend on a particular DAC or CODEC device that requires configuration over I2C or SPI.
The default ALSA sound devices supported by the Raspberry Pi 3 are PWM audio output jack and HDMI output. To run this demonstration I2S input and output needs to be enabled. The goal is to use a simple I2S interface that does not depend on a particular DAC or CODEC device that requires configuration over I2C or SPI.


Linia 8: Linia 5:
A full description of how to do this can be found in the link below [#]_, however a brief summary of the required steps, found to work on a clean copy of Debian Jessie shipped with ``Noobs``, is show below:
A full description of how to do this can be found in the link below [#]_, however a brief summary of the required steps, found to work on a clean copy of Debian Jessie shipped with ``Noobs``, is show below:


.. [#] http://www.raspberrypi.org/forums/viewtopic.php?f=44&t=91237
http://www.raspberrypi.org/forums/viewtopic.php?f=44&t=91237


First, update the Raspbian Linux distribution to the latest version (version 4.4.13v7 tested). This may take a few hours::
First, update the Raspbian Linux distribution to the latest version (version 4.4.13v7 tested). This may take a few hours::
 
<syntaxhighlight lang="Console">
   sudo apt-get update
   sudo apt-get update
   sudo apt-get dist-upgrade
   sudo apt-get dist-upgrade
</syntaxhighlight>

Versiunea de la data 1 noiembrie 2022 01:43

The default ALSA sound devices supported by the Raspberry Pi 3 are PWM audio output jack and HDMI output. To run this demonstration I2S input and output needs to be enabled. The goal is to use a simple I2S interface that does not depend on a particular DAC or CODEC device that requires configuration over I2C or SPI.

To avoid recompilation of the Linux kernel a loadable kernel module is used. This enables the driver for the I2S peripheral inside the BCM2708 device to be loaded dynamically.

A full description of how to do this can be found in the link below [#]_, however a brief summary of the required steps, found to work on a clean copy of Debian Jessie shipped with ``Noobs``, is show below:

http://www.raspberrypi.org/forums/viewtopic.php?f=44&t=91237

First, update the Raspbian Linux distribution to the latest version (version 4.4.13v7 tested). This may take a few hours::

   sudo apt-get update
   sudo apt-get dist-upgrade