element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum microphones and the cirrus audio card
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 30 replies
  • Subscribers 681 subscribers
  • Views 3067 views
  • Users 0 members are here
  • wolfson
  • cirrus
  • recording
  • raspberry_pi
  • raspeberry_pi_accessories
  • microphones
Related

microphones and the cirrus audio card

soundcamp
soundcamp over 11 years ago

I want to use stereo electret condenser microphones with this card. They need a a bias voltage (Plug in Power) of around 5V.

 

The Wolfson only included mono microphone support through the Mic in plug.

 

The comparison table for the Cirrus says it supports stereo microphones through the Line in, and the video introduction to the card mentions that bias voltage is provided for electret condenser microphones, but doesn't give more detail.

 

It would be great to have confirmation of what exactly this card provides in this direction.

 

This is important because it decides if the card enables the Pi to be used as a high quality audio recorder without an additional soundcard - as the Wolfson sadly could not.

 

Thanks

 

Grant (soundCamp)

  • Sign in to reply
  • Cancel
  • shabaz
    shabaz over 11 years ago

    Hi Grant,

     

    The circuit diagrams for the two cards (old and new) show the difference. You can see a 22k resistor on the L and R input channels connected to the WM5102 MICBIAS pins (described in the WM5102 datasheet). It is likely to be sufficient for any small electret element.

    The WM5102 datasheet contains more info, but according to it, the MICBIAS pins can be software enabled or disabled.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • timg73
    timg73 over 11 years ago

    There is definitely a microphone bias circuit in the schematics, and even a script to enable recording from a biased microphone.  But I tried just now and couldn't actually measure any bias voltage.on the line-in connector.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • soundcamp
    soundcamp over 11 years ago in reply to shabaz

    Hi Shabaz

     

    Thanks very much for your reply. So this is potentially great news. To clarify: this means the bias voltage will be available via the Line-In?  [I haven't found the circuit diagrams]

     

    thx

    grant

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • soundcamp
    soundcamp over 11 years ago in reply to timg73

    Ok Great - thanks Tim

     

    so maybe it has to be enabled?

     

    bw

    grant

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • timg73
    timg73 over 11 years ago in reply to soundcamp

    Grant, if you take a look at the "scenario" scripts supplied in the Cirrus Logic disk image you'll see that Record_from_lineIn_Micbias.sh includes a line to "Enable MICBIAS".  Though for me it doesn't seem to work.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • soundcamp
    soundcamp over 11 years ago in reply to timg73

    Thanks, Tim

     

    I'll download and have a look.

     

    I was waiting to buy the card until finding out if this functionality exists - it sounds from this as though it does and presumably just needs some tweaking. It sounds like the hardware setup visibly supports PiP via the Line In. So I'll get a card and test.

     

    If anybody is still working with audio streaming with the Wolfson, we have a disk image available from  here, currently being used for a nice live audio stream from Seoul here. This image was very much dependent on support from Ragnar Jensen.

     

    I can't say I particularly look forward to trying to make a new image with Darkice and the Cirrus drivers.. well but with this new capability it should be well worth it

     

    bw

    grant

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 11 years ago in reply to soundcamp

    Great thread, all information is very useful.

     

    Some additional points

    • The Cirrus card has been updated to include stereo MICBIAS on the Line Input.
    • The script setup file in the image will configure the ability for microphone recording
    • After executing the setup script, the MICBIAS voltage will only be enabled when an active record is configured, i.e. arecord. This is part of the software power management.
    • The MICBIAS voltage is typically 2.7V.
    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • soundcamp
    soundcamp over 11 years ago in reply to Former Member

    Thanks, Scott

     

    That's very useful and clarifies the query about enabling the bias voltage.

     

    2.7V is not as high as we'd like for the electret microphones we're using, but we will see how it goes.

     

    I ordered a couple of soundcards yesterday and we'll run some tests and post updates, and no doubt questions, here

     

    bw

    grant

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • soundcamp
    soundcamp over 11 years ago in reply to soundcamp

    Electret condenser microphones via the Cirrus Logic Line In - updated

     

    Hi Scott and all

     

    We successfully installed Darkice over the new Cirrus image and all works well. Much easier than previously with the Wolfson.

     

    We ran the use script to record from the Line in with Mic Bias as suggested above, and plugged in a pair of omni stereo microphones of decent quality.

     

    We are now streaming what appears to be very good, detailed audio with a good tone and nice spatial sense - very promising.

     

    However, we have a loud hum which sounds like an earthing type issue.

     

    It looks like there is a hi-pass filter in the script:

     

    # Configure the input path for 0dB Gain,  HPF with a low cut off for DC removal

    amixer $1 -Dhw:sndrpiwsp cset name='LHPF1 Mode' High-pass

    amixer $1 -Dhw:sndrpiwsp cset name='LHPF2 Mode' High-pass

     

    But the loud hum remains and filtering it would severely impact on the audio.

     

    Any thoughts on how to address this would be great

     

    Thanks

     

    Best wishes

    Grant

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • soundcamp
    soundcamp over 10 years ago in reply to soundcamp

    Hi all

    Further to my post on hum using ECM microphones with the Cirrus Line In, we've found that the hum is not present on all microphones.

    So this probably  shouldn't  be considered a serious problem.

    We'll test the Primo EM-172 and report on how those work.

    bw

    grant

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube