0

RPI3 with AMP2 - no output - just faint pops

New install, no audio yet :-(

  • RPI3 - Raspbian latest:  4.14.33-v7+ #1109 SMP
  • SPI and I2C enabled
  • Installed AMP2, green light is on.
  • 8-ohm speakers properly connected
  • 24vdc supply into onboard DIN connector
  • no other power supplied
  • no other shield

Output has nothing but 1-second "pops", using aplay or mplayer with a WAV file.

Every time I try to play, I get this in dmesg:

  • "pcm512x 1-004d: No SCLK, using BCLK: -2"

In config.txt

  • Removed: 
  •      dtparam=audio=on
  • Added:  
  •      dtoverlay=hifiberry-dacplus
  •      dtdebug=1

Added the file /etc/asound.conf per instructions.

Added these lines to /etc/modules:

  • snd_soc_bcm2708
  • bcm2708_dmaengine
  • snd_soc_hifiberry_amp

"aplay -l" returns:

  • card 0: sndrpihifiberry [snd_rpi_hifiberry_dacplus], device 0: HiFiBerry DAC+ HiFi pcm512x-hifi-0 []

"amixer get Digital" returns:

  • Simple mixer control 'Digital',0
  • Capabilities: pvolume pswitch
  • Playback channels: Front Left - Front Right
  • Limits: Playback 0 - 207
  • Mono:
  • Front Left: Playback 199 [96%] [-4.00dB] [on]
  • Front Right: Playback 199 [96%] [-4.00dB] [on]

Output from "sudo vcdbg log msg"  (just the dtdebug messages):

001721.887: dtdebug: delete_node(/__local_fixups__)
001731.598: dtdebug: /aliases:i2c_vc=i2c0
001741.299: dtdebug: /__symbols__:i2c_vc=i2c0
001748.430: dtdebug: /__overrides__:i2c_vc=i2c0
001762.350: dtdebug: /__overrides__:i2c_vc_baudrate=i2c0_baudrate
001766.746: dtdebug: /aliases:i2c=i2c1
001776.605: dtdebug: /__symbols__:i2c=i2c1
001783.866: dtdebug: /__overrides__:i2c=i2c1
001788.293: dtdebug: /aliases:i2c_arm=i2c1
001798.254: dtdebug: /__symbols__:i2c_arm=i2c1
001805.772: dtdebug: /__overrides__:i2c_arm=i2c1
001819.861: dtdebug: /__overrides__:i2c_baudrate=i2c1_baudrate
001834.005: dtdebug: /__overrides__:i2c_arm_baudrate=i2c1_baudrate
001834.036: dtparam: uart0_clkrate=48000000
001839.340: dtdebug: /__overrides__ has no uart0_clkrate property
001866.182: dtparam: i2c_arm=on
001866.395: dtdebug: /__overrides__ has no i2c_arm property
001871.425: dtdebug: Found override i2c_arm
001871.460: dtdebug: override i2c_arm: string target 'status'
001882.442: dtparam: spi=on
001882.653: dtdebug: /__overrides__ has no spi property
001887.725: dtdebug: Found override spi
001887.759: dtdebug: override spi: string target 'status'
001897.040: dtdebug: Found fragment 0 (offset 36)
001907.833: dtdebug: merge_fragment(/clocks,/fragment@0/__overlay__)
001915.542: dtdebug: merge_fragment(/clocks/dacpro_osc,/fragment@0/__overlay__/dacpro_osc)
001915.570: dtdebug: +prop(compatible)
001916.727: dtdebug: +prop(#clock-cells)
001918.013: dtdebug: +prop(phandle)
001919.297: dtdebug: merge_fragment() end
001919.325: dtdebug: merge_fragment() end
001919.400: dtdebug: Found fragment 1 (offset 184)
001930.229: dtdebug: merge_fragment(/soc/i2s@7e203000,/fragment@1/__overlay__)
001930.254: dtdebug: +prop(status)
001932.273: dtdebug: merge_fragment() end
001932.331: dtdebug: Found fragment 2 (offset 260)
001946.881: dtdebug: merge_fragment(/soc/i2c@7e804000,/fragment@2/__overlay__)
001946.910: dtdebug: +prop(#address-cells)
001948.569: dtdebug: +prop(#size-cells)
001950.234: dtdebug: +prop(status)
001958.728: dtdebug: merge_fragment(/soc/i2c@7e804000/pcm5122@4d,/fragment@2/__overlay__/pcm5122@4d)
001958.754: dtdebug: +prop(#sound-dai-cells)
001960.543: dtdebug: +prop(compatible)
001962.165: dtdebug: +prop(reg)
001963.889: dtdebug: +prop(clocks)
001965.656: dtdebug: +prop(status)
001967.492: dtdebug: merge_fragment() end
001967.524: dtdebug: merge_fragment() end
001967.605: dtdebug: Found fragment 3 (offset 480)
001986.116: dtdebug: merge_fragment(/soc/sound,/fragment@3/__overlay__)
001986.144: dtdebug: +prop(compatible)
001987.375: dtdebug: +prop(i2s-controller)
001989.266: dtdebug: +prop(status)
001990.510: dtdebug: merge_fragment() end
001995.542: dtdebug: Opened overlay file 'overlays/hifiberry-dacplus.dtbo'
002026.774: Loaded overlay 'hifiberry-dacplus'
002026.829: dtdebug: Found fragment 0 (offset 36)
002037.720: dtdebug: merge_fragment(/clocks,/fragment@0/__overlay__)
002044.223: dtdebug: merge_fragment(/clocks/dacpro_osc,/fragment@0/__overlay__/dacpro_osc)
002044.251: dtdebug: +prop(compatible)
002045.425: dtdebug: +prop(#clock-cells)
002046.591: dtdebug: +prop(phandle)
002047.756: dtdebug: merge_fragment() end
002047.784: dtdebug: merge_fragment() end
002047.858: dtdebug: Found fragment 1 (offset 184)
002058.702: dtdebug: merge_fragment(/soc/i2s@7e203000,/fragment@1/__overlay__)
002058.728: dtdebug: +prop(status)
002060.777: dtdebug: merge_fragment() end
002060.835: dtdebug: Found fragment 2 (offset 260)
002075.154: dtdebug: merge_fragment(/soc/i2c@7e804000,/fragment@2/__overlay__)
002075.182: dtdebug: +prop(#address-cells)
002076.869: dtdebug: +prop(#size-cells)
002078.565: dtdebug: +prop(status)
002085.418: dtdebug: merge_fragment(/soc/i2c@7e804000/pcm5122@4d,/fragment@2/__overlay__/pcm5122@4d)
002085.443: dtdebug: +prop(#sound-dai-cells)
002087.093: dtdebug: +prop(compatible)
002088.992: dtdebug: +prop(reg)
002090.625: dtdebug: +prop(clocks)
002092.263: dtdebug: +prop(AVDD-supply)
002094.560: dtdebug: +prop(DVDD-supply)
002096.871: dtdebug: +prop(CPVDD-supply)
002099.212: dtdebug: +prop(status)
002100.882: dtdebug: merge_fragment() end
002100.919: dtdebug: merge_fragment() end
002101.005: dtdebug: Found fragment 3 (offset 528)
002119.622: dtdebug: merge_fragment(/soc/sound,/fragment@3/__overlay__)
002119.650: dtdebug: +prop(compatible)
002120.875: dtdebug: +prop(i2s-controller)
002122.094: dtdebug: +prop(status)
002123.342: dtdebug: merge_fragment() end
003238.050: dtparam: cam0-pwdn-ctrl=23
003243.813: dtdebug: /__overrides__ has no cam0-pwdn-ctrl property
003243.829: Unknown dtparam 'cam0-pwdn-ctrl' - ignored
003243.854: dtparam: cam0-pwdn=5
003249.353: dtdebug: /__overrides__ has no cam0-pwdn property
003249.368: Unknown dtparam 'cam0-pwdn' - ignored
003260.887: dtparam: cam0-led-ctrl=23
003266.374: dtdebug: /__overrides__ has no cam0-led-ctrl property
003266.387: Unknown dtparam 'cam0-led-ctrl' - ignored
003266.411: dtparam: cam0-led=6
003271.859: dtdebug: /__overrides__ has no cam0-led property
003271.874: Unknown dtparam 'cam0-led' - ignored
003271.898: gpioman: gpioman_get_pin_num: pin EMMC_ENABLE not defined
003271.945: dtparam: arm_freq=1200000000
003277.347: dtdebug: Found override arm_freq
003277.398: dtdebug: override arm_freq: cell target clock-frequency @ offset 0 (size 4)
003292.403: dtdebug: override arm_freq: cell target clock-frequency @ offset 0 (size 4)
003307.409: dtdebug: override arm_freq: cell target clock-frequency @ offset 0 (size 4)
003322.537: dtdebug: override arm_freq: cell target clock-frequency @ offset 0 (size 4)
003337.792: dtparam: core_freq=250000000
003343.529: dtdebug: /__overrides__ has no core_freq property
003343.543: Unknown dtparam 'core_freq' - ignored
003343.564: dtparam: cache_line_size=64
003348.779: dtdebug: Found override cache_line_size
003348.829: dtdebug: override cache_line_size: cell target cache-line-size @ offset 0 (size 4)
003368.680: dtdebug: delete_node(/hat)

I am out of ideas, can anyone help?

Thanks, Tyler

 

4 comments

Please sign in to leave a comment.