BlueWave Studio forum
  • Login
  • Register
  • Login Register
    Login
    Username:
    Password:
  • Home
  • Help
  • View Today's Post
  • More
    • BlueWave Studio
    • Shop
User Links
  • Login
  • Register
  • Login Register
    Login
    Username:
    Password:

    Quick Links Home Help View Today's Post
    More
    • BlueWave Studio
    • Shop
    BlueWave Studio forum OpenAuto Pro Real Time Clock (RTC) Using Hifiberry Digi+ Pro and PCF8523 RTC at same time?

    Using Hifiberry Digi+ Pro and PCF8523 RTC at same time?
    chozar
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: Jul 2020
    Reputation: 0
    #1
    07-09-2020, 03:23 PM
    I have my RPi 4 with Open Auto 9.0 installed.

    I'm using the HifiBerry Digi+ Pro HAT, and also the Adafruit PCF8523 RTC break-out board.

    The Digi+ uses GPIO 2,3,5,6, and 18-21.  The PCF8523 uses GPIO 2 and 3 (SDA1 and SCL1).

    I had soldered pin headers to the breakout on the Digi+ to let me connect my RTC to the correct pins, for power, ground, and GPIO 2 & 3.

    When my RTC is connected, I do not have any functioning audio.  I get kernel errors snd-rpi-wm8804 module.  (wm8804 failed to read device id) When I remove the RTC, the Digi+ functions as it should.  Obviously, both devices are conflicting with GPIO 2 & 3.

    The HiFiBerry GPIO page indicates that these pins "are used by our products for configuration. If you are experienced with I2C, you might add other slave devices. If you a a novice, we don’t recommend this at all."


    I have not done any work to install or configure the PCF8523 break out board, yet.  Is there a way I can make this work?

    Thanks!
    budman1758
    Offline

    Member

    Posts: 65
    Threads: 8
    Joined: Apr 2020
    Reputation: 1
    #2
    07-09-2020, 03:37 PM
    You might be able to use the second I2C bus on the pi.  See this page.  https://pinout.xyz/pinout/i2c
    "The glass is twice as big as it needs to be".
    ELCouz
    Offline

    Junior Member

    Posts: 20
    Threads: 3
    Joined: Jun 2020
    Reputation: 2
    #3
    08-06-2020, 03:05 AM (This post was last modified: 08-06-2020, 03:07 AM by ELCouz.)
    (07-09-2020, 03:23 PM)chozar Wrote: I have my RPi 4 with Open Auto 9.0 installed.

    I'm using the HifiBerry Digi+ Pro HAT, and also the Adafruit PCF8523 RTC break-out board.

    The Digi+ uses GPIO 2,3,5,6, and 18-21.  The PCF8523 uses GPIO 2 and 3 (SDA1 and SCL1).

    I had soldered pin headers to the breakout on the Digi+ to let me connect my RTC to the correct pins, for power, ground, and GPIO 2 & 3.

    When my RTC is connected, I do not have any functioning audio.  I get kernel errors snd-rpi-wm8804 module.  (wm8804 failed to read device id) When I remove the RTC, the Digi+ functions as it should.  Obviously, both devices are conflicting with GPIO 2 & 3.

    The HiFiBerry GPIO page indicates that these pins "are used by our products for configuration. If you are experienced with I2C, you might add other slave devices. If you a a novice, we don’t recommend this at all."


    I have not done any work to install or configure the PCF8523 break out board, yet.  Is there a way I can make this work?

    Thanks!



    Don't be afraid of the warning signs... I am using Hifiberry DAC+ ADC that use also I2C lines. It is shared with the DS3231 RTC without any issues. The memo is to prevent inexperienced users complaining issues on the forum and asking for support for making other device works which aren't their products.
    Setup info for troubleshooting:
    - Board: RPi 4B with OAP 9.1
    - Supply: Official RPi
    - Display: 9" 1280x720 IPS/High brightness -> AUO C090EAN01.1
    - Touch: GOODIX GT911 over USB
    - Sound: HIFIBERRY DAC+ ADC
    - Mic: USB Mic
    - Bluetooth: CSR8510
    - Phone: S8 Active with Android 9.0
    - AA v5.4
    chozar
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: Jul 2020
    Reputation: 0
    #4
    08-07-2020, 06:59 PM
    (08-06-2020, 03:05 AM)ELCouz Wrote: Don't be afraid of the warning signs... I am using Hifiberry DAC+ ADC that use also I2C lines. It is shared with the DS3231 RTC without any issues. The memo is to prevent inexperienced users complaining issues on the forum and asking for support for making other device works which aren't their products.

    Thanks, I'll go ahead and try to get this working then.
    wkl3968
    Offline

    Member

    Posts: 111
    Threads: 18
    Joined: Jun 2021
    Reputation: 1
    #5
    07-05-2021, 02:43 PM
    Hi, I'm using Hifiberry Digi+ Pro and I have no sound coming out and optical red light shine all the way. I have followed all the Hifiberry instruction to setup the config and set the master=alsa_output.platform-soc_sound.iec958-stereo per the instruction given by eightbitJaun https://www.youtube.com/watch?v=H7oDsBXgDeM&t=45s . I still don't get any sound either in Rasbian and OPA. I need some pointers here

    Here is my config.txt
    [all]
    audio_pwm_mode=2
    force_eeprom_read=0
    dtoverlay=hifiberry-digi-pro

    here is my aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: sndrpihifiberry [snd_rpi_hifiberry_digi], device 0: HiFiBerry Digi+ Pro HiFi wm8804-spdif-0 [HiFiBerry Digi+ Pro HiFi wm8804-spdif-0]
    Subdevices: 0/1
    Subdevice #0: subdevice #0


    pi@raspberrypi:~ $ pacmd list-sinks | grep -e 'name:' -e 'index:'
    index: 0
    name:
    * index: 1
    name:
    index: 2
    name:

    I have added the "master=alsa_output.platform-soc_sound.iec958-stereo" in /home/pi/.config/pulse/default.pa

    I have selected Audio preference setting in Rasbian to enable the Tx Sources as AIF.

    I still not getting the sound and the Music Player in OPA can play the track with the time lapse and no output sound.

    not sure whatelse I missed out and I'm surely need some help.

    Wei Keat
    BlueWave
    Offline

    Administrator

    Posts: 2,750
    Threads: 64
    Joined: Jun 2019
    Reputation: 67
    #6
    07-06-2021, 10:45 PM (This post was last modified: 07-06-2021, 11:24 PM by BlueWave.)
    (07-05-2021, 02:43 PM)wkl3968 Wrote: Hi, I'm using Hifiberry Digi+ Pro and I have no sound coming out and optical red light shine all the way. I have followed all the Hifiberry instruction to setup the config and set the master=alsa_output.platform-soc_sound.iec958-stereo per the instruction given by eightbitJaun https://www.youtube.com/watch?v=H7oDsBXgDeM&t=45s . I still don't get any sound either in Rasbian and OPA. I need some pointers here

    Here is my config.txt
    [all]
    audio_pwm_mode=2
    force_eeprom_read=0
    dtoverlay=hifiberry-digi-pro

    here is my aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: sndrpihifiberry [snd_rpi_hifiberry_digi], device 0: HiFiBerry Digi+ Pro HiFi wm8804-spdif-0 [HiFiBerry Digi+ Pro HiFi wm8804-spdif-0]
      Subdevices: 0/1
      Subdevice #0: subdevice #0


    pi@raspberrypi:~ $ pacmd list-sinks | grep -e 'name:' -e 'index:'
        index: 0
            name:
      * index: 1
            name:
        index: 2
            name:

    I have added the "master=alsa_output.platform-soc_sound.iec958-stereo" in /home/pi/.config/pulse/default.pa

    I have selected Audio preference setting in Rasbian to enable the Tx Sources as AIF.

    I still not getting the sound and the Music Player in OPA can play the track with the time lapse and no output sound.

    not sure whatelse I missed out and I'm surely need some help.

    Wei Keat

    Did you try to contact HiFi-Berry support? OpenAuto Pro is an application and uses PulseAudio as an audio backend. Image we provide is based on regular Raspberry PI OS. PulseAudio is default backend on the Raspberry PI OS and all compatible sound cards should support it out of the box. Is HiFi-Berry digi compatible with PulseAudio?
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)



    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Help · BlueWave Studio · Shop

    Copyright © bluewavestudio.io. All rights reserved.

    Linear Mode
    Threaded Mode