setup ok?

Moderator: flatmax

flatmax
Posts: 609
Joined: Sat Jul 23, 2016 11:39 pm

Re: setup ok?

Post by flatmax » Sat Aug 12, 2017 4:56 pm

Hi there,

Thanks for contacting people on the forum. Allow me to answer inline and continue at the end ...
mrtrvr wrote:
Fri Aug 11, 2017 3:33 am
Greetings,

I appear to be having the same problem as Colin, or at the very least I believe our issues may be related to the same problem. I am able to playback audio as it streaming from the internet, but I am not able to feed a signal into the Audioinjector and monitor it through the output. I have already worked through Tutorial 0, but I am not able to successfully execute all the steps of Tutorial 2 - Audio programming with gtkIOStream.

I also ran the dmesg command and received a similar output:
  • [6.229426] audioinjector-octo soc:sound: ASoC: CPU DAI (null) not registered - will retry
    [6.229447] audioinjector-octo soc:sound: snd_soc_register_card failed (-517)
    [7.792780] audioinjector-octo soc:sound: cs42448 <-> 3f203000.i2s mapping ok
    [7.865506] uart-pl011 3f201000.serial: no DMA platform data
This line :audioinjector-octo soc:sound: cs42448 <-> 3f203000.i2s mapping ok
indicates that hardware is setup correctly.
mrtrvr wrote:
Fri Aug 11, 2017 3:33 am
I also noticed that dmesg is printing the following error related to the Broadcom Processor:
  • [6226.711602] bcm2835-i2s 3f203000.i2s: I2S SYNC error!
Is it possible that the problem is associated with the Broadcom processor?
Yes ! Those are standard output from the bcm2835-i2s.c code, no problem here - although it is very confusing and misleading.
mrtrvr wrote:
Fri Aug 11, 2017 3:33 am
The Raspberry Pi hardware documentation is listing the BCM2837 as the processor used in the Raspberry Pi 3.

In case it helps, I've included the printout from: dmesg | grep bcm2835
  • [0.078602] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
    [0.148900] bcm2835-dma 3f007000.dma: DMA legacy API manager at bb80f000, dmachans=0x1
    [0.330715] bcm2835-rng 3f104000.rng: hwrng registered
    [0.788503] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
    [0.788790] bcm2835-cpufreq: min=600000 max=1200000
    [0.789524] sdhost-bcm2835 3f202000.sdhost: could not get clk, deferring probe
    [0.791711] mmc-bcm2835 3f300000.mmc: could not get clk, deferring probe
    [0.889393] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
    [0.891619] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0
    [0.891626] mmc-bcm2835 3f300000.mmc: DMA channel allocated
    [4.558955] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
    [ 6226.711602] bcm2835-i2s 3f203000.i2s: I2S SYNC error!

Regards,

Trevor
Your hardware is setup correctly and you can play audio out. Have you tried opening audacity ? Perhaps you can generate a tone, and do an RCA loopback (connect RCA cables between outputs and input directly) channel 0 is normally the top left of the RCA connector block.

Alternatively connect your phone to the channel 0 and channel 1 and enable the live monitor in audacity, perhaps I should put up a video tutorial for that ?

Matt
Check out our audiophile quality crossovers : https://bit.ly/2kb1nzZ
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector

mrtrvr
Posts: 3
Joined: Wed Jun 28, 2017 12:51 am
Location: St. Louis, MO

Re: setup ok?

Post by mrtrvr » Thu Aug 17, 2017 4:33 am

Hello Matt,

First off, thank you for your reply. I installed Audacity and was able to record, monitor, and playback the signal. It was a simple oversight on my part in which I thought the audio would play through the device while having only the Alsa Mixer open.

I am new to both Raspberry Pi and GNU/Linux with very limited experience in any programming language. I work for a large corporation in U.S. and we purchased both balanced and unbalanced Octo sound cards for use in a prototype that is still in development. I am extremely pleased with how easy it was to setup once I figured out what I was doing and will soon be purchasing one for myself.

Thank you for this project,

Trevor

victor
Posts: 2
Joined: Sun Aug 27, 2017 12:38 am

Re: setup ok?

Post by victor » Sun Aug 27, 2017 4:30 am

Hi,

The card cannot be detected on my RPi B+.

Dmesg shows the following:

Code: Select all

[    5.434213] gpiomem-bcm2835 20200000.gpiomem: Initialised: Registers at 0x20200000
[    8.123212] cs42xx8 1-0048: failed to get device ID, ret = -121
[    8.136336] cs42xx8: probe of 1-0048 failed with error -121
[    8.692808] audioinjector-octo soc:sound: ASoC: CPU DAI (null) not registered - will retry
[    8.707873] audioinjector-octo soc:sound: snd_soc_register_card failed (-517)
[   10.282850] audioinjector-octo soc:sound: ASoC: CODEC DAI cs42448 not registered - will retry
[   10.297942] audioinjector-octo soc:sound: snd_soc_register_card failed (-517)
I removed the card and see that the messages are the same. I guess the card doesn't respond at all. Is there anything I can try?

flatmax
Posts: 609
Joined: Sat Jul 23, 2016 11:39 pm

Re: setup ok?

Post by flatmax » Fri Sep 01, 2017 11:51 pm

Hi there,

For some reason your system hasn't loaded in the cs42448 kernel module. how did you set up this card ?

Matt
Check out our audiophile quality crossovers : https://bit.ly/2kb1nzZ
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests