0

DAC2 ADC Pro - recording issues

Good Evening,

 

I'm on my first attempt to build a signal recording/playback system.

My setup is composed of the DAC2 ADC pro board connected to the DSP add-on and the AAMP60 board which powers the entire system.

The DAC part is fine, I can hear/see the tone playing with the command (RCA goes into an oscilloscope):

     play -n synth sine 5000

but the ADC is not. When I try recording something with arecord I get a flat .wav file (all values, for both channels are -4.656e-10). Below is the command I'm using:

     arecord -d5 -c2 -fS32_LE -r192000 -D hw:CARD=sndrpihifiberry test.wav --vumeter=stereo

On the 3.5mm input jack I have the mobile phone playing some random music. Both jumpers on the board (close to the input jack) are open.  What could be the problem? Why there is no sound in the .wav file?

 

Below there is some information from my setup.

Thanks a lot for the help.

 

cat /sys/firmware/devicetree/base/model
Raspberry Pi 3 Model B Rev 1.2

 

uname -a

Linux raspberrypi 6.1.21-v7+ #1642 SMP Mon Apr  3 17:20:52 BST 2023 armv7l GNU/Linux

 

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_dacplusadcpro], device 0: HiFiBerry DAC+ADC PRO HiFi multicodec-0 [HiFiBerry DAC+ADC PRO HiFi multicodec-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

 

arecord -l

**** List of CAPTURE Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_dacplusadcpro], device 0: HiFiBerry DAC+ADC PRO HiFi multicodec-0 [HiFiBerry DAC+ADC PRO HiFi multicodec-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

 

 

/boot/config.txt

dtparam=i2c_arm=on
dtparam=i2s=on
dtparam=spi=on

otg_mode=1

[all]

[pi4]
# Run as fast as firmware / board allows
arm_boost=1

[all]

dtoverlay=i2c-gpio,i2c_gpio_sda=0,i2c_gpio_scl=1
force_eeprom_read=0
dtoverlay=hifiberry-dacplusadcpro

 

cat /etc/asound.conf 
pcm.!default {

  type hw card 0
}
ctl.!default {
  type hw card 0
}

 

If it helps, the green LED turns on when arecord is running (same for aplay).

Here is the alsamixer capture configuration:

 

Here is the alsamixer playback configuration:

3 comments

Please sign in to leave a comment.