Skip to content

Commit 618119e

Browse files
linguini1xiaoxiang781216
authored andcommitted
docs/raspberrypi-4b: Document PWM configuration
Documents the configuration which allows PWM audio. Signed-off-by: Matteo Golin <matteo.golin@gmail.com>
1 parent de8db15 commit 618119e

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

  • Documentation/platforms/arm64/bcm2711/boards/raspberrypi-4b

Documentation/platforms/arm64/bcm2711/boards/raspberrypi-4b/index.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,3 +322,15 @@ This configuration leverages all four A72 cores of the BCM2711. It comes with
322322
the standard NSH shell, :doc:`/applications/testing/getprime/index`,
323323
:doc:`/applications/testing/ostest/index`, and
324324
:doc:`/applications/testing/smp/index` tests.
325+
326+
audio_tone
327+
----------
328+
329+
This configuration enables PWM0 and PWM1 interfaces and provides examples like
330+
:doc:`/applications/examples/pwm/index` for playing with sound. The audio jack
331+
right and left channels are channel 1 and 2 of ``/dev/pwm1``.
332+
333+
.. warning::
334+
335+
Audio output over the jack is very loud. DO NOT plug in earbuds until first
336+
assessing the sound level with them out of your ears.

0 commit comments

Comments
 (0)