Jump to content

OrangePi lts3 - audio dac


kris777

Recommended Posts

I have a question for more experienced users. Quite a long time ago I built an internet radio based on OrangePi Lite + DAC I think in the I2S interface with the module: PCM5102 ...

PCM5102 DAC Decoder I2S -Aliexpress

unfortunately the board broke down. I have another model, the aforementioned Pi 3 lts but it seems to be less supported. Can I connect the above-mentioned PCM5102 module to this model? Or maybe buy some other supported model that will work just as well as Pi lite with this DAC model or another?

Ps. it would be nice if it had the ability to upload Armbian firmware to emmc flash memory

I installed Armbian/Ubuntu on Pi3lts but I get some errors when trying to update

 

Get:1 http://beta.armbian.com noble/noble-desktop arm64 chromium arm64 9:126.0.6478.182-1~deb12u1+narmbian1 [75,5 MB]
Err:1 http://beta.armbian.com noble/noble-desktop arm64 chromium arm64 9:126.0.6478.182-1~deb12u1+narmbian1
  File has unexpected size (75534134 != 75534200). Mirror sync in progress? [IP: 130.185.239.75 80]
  Hashes of expected file:
   - SHA512:a7e5830c81b8e490ebc775bc96bb333cdd1f77c5fc63eebda4f4af3afa7b93ea3fa12bc77a3f01897406b0fec5fb6086955c50fa2948eddce193339dcafafa77
   - SHA256:bb3b81a3d587729e06ff1ce01c1f381ce80b6862cdcc0fe71ffb3ee72ce9e1bf
   - SHA1:0e8312f23cef970db12a45203aa9af1dadf40a8d [weak]
   - MD5Sum:b25df98ff45f7a20eb89c1ad27cb0390 [weak]
   - Filesize:75534200 [weak]
E: Failed to fetch http://armbian.tnahosting.net/beta/pool/noble-desktop/c/chromium/chromium_126.0.6478.182-1~deb12u1+narmbian1_arm64.deb  File has unexpected size (75534134 != 75534200). Mirror sync in progress? [IP: 130.185.239.75 80]
   Hashes of expected file:
    - SHA512:a7e5830c81b8e490ebc775bc96bb333cdd1f77c5fc63eebda4f4af3afa7b93ea3fa12bc77a3f01897406b0fec5fb6086955c50fa2948eddce193339dcafafa77
    - SHA256:bb3b81a3d587729e06ff1ce01c1f381ce80b6862cdcc0fe71ffb3ee72ce9e1bf
    - SHA1:0e8312f23cef970db12a45203aa9af1dadf40a8d [weak]
    - MD5Sum:b25df98ff45f7a20eb89c1ad27cb0390 [weak]
    - Filesize:75534200 [weak]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

 

OK ...I removed chromium from the system...now the upgrade has been done

but I had another problem with the reboot option which didn't always work?  And also restarting the Pi-3 LTS after the poweroff option from the button on the case for 2 seconds.

I switched to FW from the Orange PI provider:
Orangepi3-lts_3.0.8_debian_bullseye_server_linux5.16.17
and now it's OK?

...I switched to the original FW supplied by the OrangePi manufacturer, version: Orangepi3-lts_3.0.8_debian_bullseye_server_linux5.16.17 .... and it's OK

Edited by kris777
Link to comment
Share on other sites

Armbian & Khadas are rewarding contributors

aplay -l 

card 0: allwinnerac200c [allwinner,ac200-codec], device 0: 508f000.i2s-acx00-dai acx00-codec-0 [508f000.i2s-acx00-dai acx00-codec-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

card 1: sun9ihdmi [sun9i-hdmi], device 0: SUN9I-HDMI PCM i2s-hifi-0 [SUN9I-HDMI PCM i2s-hifi-0]
  Subdevices: 0/1
  Subdevice #0: subdevice #0


You can probably use hdmi with an hdmi rca adapter? ...because on TV the audio is played from mpd / mpc 🙂

 

in mpd.conf output settings I have:

audio_output {
    type        "alsa"
    name        "sun9ihdmi"
    device        "hw:1,0"    # optional
    format          "192000:32:2"
    mixer_type      "software"      # optional
    #mixer_device    "default"    # optional
    #mixer_control    "PCM"        # optional
    auto_resample "no"
    auto_channels "no"
    auto_format "no"
    use_mmap "yes"
#    mixer_index    "0"        # optional
}

in the terminal you can read the sound quality:

radio stream https://streams.rsh.de/rsh-80er/mp3-192/streams

cat /proc/asound/card1/pcm0p/sub0/hw_params
access: RW_INTERLEAVED
format: S24_LE
subformat: STD
channels: 2
rate: 48000 (48000/1)
period_size: 6000
buffer_size: 24000

Will it not be an audio DAC ...? I am a layman in this topic but I think these are the parameters I had on: PCM5102?

on: PCM5102 ...is slightly better

access: MMAP_INTERLEAVED
format: S32_LE
subformat: STD
channels: 2
rate: 192000 (192000/1)
period_size: 8192
buffer_size: 65536

so will a converter / adapter from HDMI to RCA + audio amplifier be enough ? 

format: S24_LE ... this is probably a 24bit audio format and this is already a DAC?

regards 

 

Edited by kris777
Link to comment
Share on other sites

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines