Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

4
I2S (MAX98357) Audio Output on Raspberry Pi 3 B V1.2 with Raspbian Buster Lite not working.
Post Flair (click to view more posts with a particular flair)
Post Body

I am trying to get this setup to run.

I connected:

LRC to GPIO19 / Pin 35 / LRCK

BCLK to GPIO18 / Pin 12 / BCK

DIN to GPIO21 / Pin 40 / DOUT

The raspberry and the I2S module share the same ground and 5V.

I tried following these tutorials:

https://learn.adafruit.com/adafruit-max98357-i2s-class-d-mono-amp/raspberry-pi-usage

https://learn.pimoroni.com/tutorial/phat/raspberry-pi-phat-dac-install

My /boot/config.txt :

dtparam=i2c_arm=on

dtparam=i2s=on

dtoverlay=hifiberry-dac

also tried it with and without

dtoverlay=i2s-mmap

and of course audio is commented out like this:

#dtparam=audio=on

and had different configs in /etc/asound.conf

All I get is "White noise" or plain silence... Can anyone help me with this please? :)

EDIT:

aplay-l output:

Card 0: sndrpihifiberry [snd_rpi_hifiberry_dac], Device 0: HifiBerry DAC HiFi pcm5102a-hifi-0 []

Sub-Device: 0/1

Sub-Device #0: subdevice #0

dmesg | grep hifi output:

[ 7.241340] snd-rpi-simple soc:sound: pcm5102a-hifi <-> 3f203000.i2s mapping ok

Thank you very much in advance!

Author
Account Strength
100%
Account Age
5 years
Verified Email
Yes
Verified Flair
No
Total Karma
2,025
Link Karma
1,826
Comment Karma
151
Profile updated: 4 days ago
Posts updated: 1 year ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
4 years ago