Skip to content
View in the app

A better way to browse. Learn more.

Learn more

[Info] FriendlyARM PCM5102A-Hat with NanoPi Neo under mainline 4.x.x and dev 5.x.x

Featured Replies

"I'm new to using Linux on embedded systems and I've been trying to follow various examples in the forum to enable I2S, but I haven't had satisfactory results. I attempted to perform the steps described, enabling the PCM5102, but when I run 'arecord', I get the following error: 'arecord: main:830: audio open error: No such file or directory'.

I'm running Armbian 23.8.1 with Linux Kernel 5.10.4 on a Banana Pi M2 Zero. I have a PCM1807, which I configure through SPI to send I2S data to GPIO PA20 on the BPI. After successfully capturing the audio, I would like to send it via I2S through GPIO PA21 to another stage. Could someone please guide me on how to configure these ports and the ADC?"

This starts to mess up on me when I try and install it. When I get to this command:

 

dtc -I dts -O dtb /boot/dtb/sun8i-h3-nanopi-neo.dts -o /boot/dtb/sun8i-h3-nanopi-neo.dtb_I2S_okay

 

It list lost of Warning (gpios_property)

 

Don't want to paste all the lines in here so I will just do one.

 

/boot/dtb/sun8i-h3-nanopi-neo.dts:1608.3-33: Warning (gpios_property): /gpio-regulator:gpios: cell 0 is not a phandle reference

 

That's the last line out of like 100 or so.

 

So I try and do the next command it just get this:

root@nanopineo:~# copy sun8i-h3-I2S-out.dts -->  /home/guido/
-bash: /home/guido/: Is a directory
root@nanopineo:~# ls
root@nanopineo:~#

 

Here is a uname -a if that will help:

 

root@nanopineo:~# uname -a
Linux nanopineo 6.6.44-current-sunxi #1 SMP Sat Aug  3 06:54:42 UTC 2024 armv7l armv7l armv7l GNU/Linux
root@nanopineo:~#

I want to get this sound working. I had it working on a older one but it stop booting and that was over a year ago. To hard to fix so I though I start over.

 

Hope some one can help.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.