Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 21 of 21

Thread: New Audio Board! TI TLV320AIC3206

  1. #1
    Senior Member
    Join Date
    Oct 2015
    Location
    Vermont, USA
    Posts
    133

    New Audio Board! TI TLV320AIC3206

    Hi All,

    As part of my work on an open source platform for hearing aid algorithms, we made a new audio interface board, much like the Teensy Audio Board. Our board, though, is based on the Texas Instruments TLV320AIC3206 (aka. "3206"). Our goal was to make a board with quieter inputs so that we'd have more dynamic range. The 3206 was a helpful step to achieving that.

    I really like working within the Teensy audio library ecosystem. So, in making this new board, we wrote a control module (like the SGTL5000 control module for the Teensy Audio Board) that allows the 3206 to work with the Teensy audio library. The 3206 is an I2S device just like the SGTL500, so you send and receive audio data to the 3206 using the same I2S input and output functions as used for the Teensy Audio Board. Pretty sweet!

    If you're interested in details (schematic, BOM) or in my measurements of its self-noise and dynamic range, you can check it out here: http://openaudio.blogspot.com/2017/0...elf-noise.html

    Click image for larger version. 

Name:	TympanSelfNoiseLeadPic.png 
Views:	78 
Size:	604.9 KB 
ID:	9972

    Click image for larger version. 

Name:	CompareDynamicRange.png 
Views:	40 
Size:	30.1 KB 
ID:	9973

    I'm surprised at how easy it was to plug this new hardware into the Teensy audio ecosystem. Very fun.

    Chip

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    14,076
    Quote Originally Posted by chipaudette View Post
    in making this new board, we wrote a control module ... that allows the 3206 to work with the Teensy audio library.
    Would you like to contribute this code to the audio library?

    Are these the files?

    https://github.com/Tympan/Tympan_Lib...lv320aic3206.h
    https://github.com/Tympan/Tympan_Lib...320aic3206.cpp

  3. #3
    Senior Member
    Join Date
    Oct 2015
    Location
    Vermont, USA
    Posts
    133
    Yeah, that'd be totally cool with me!

    And, yes, those are the files.

    Thanks for your interest!

    Chip

  4. #4
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    14,076
    Any chance you could add the MIT license line to the .cpp file? I see it in the .h file, but not the .cpp.

  5. #5
    Senior Member
    Join Date
    Oct 2015
    Location
    Vermont, USA
    Posts
    133
    I've updated the header comments and improved the attribution to my buddy who did the actual writing. Both files have been updated. Thanks so much for your interest!

    Chip

  6. #6
    Member dimitre's Avatar
    Join Date
    Aug 2016
    Location
    São Paulo
    Posts
    45
    Beautiful! Let me know if you will sell any prototypes. I'm interested.

  7. #7
    Senior Member Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany
    Posts
    3,765
    I'd like to have one of these...

  8. #8
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    14,076
    Me too. Any chance to share the PCB on OSH Park, even just briefly?

  9. #9
    Senior Member
    Join Date
    Oct 2015
    Location
    Vermont, USA
    Posts
    133
    Yeah, I gotta fix the PCB layout first. DIN and DOUT were swapped. I fixed the schematic but not (yet) the layout.

  10. #10
    That 3206 looks like it could be a good fit for high-res audio processing too..

  11. #11
    Senior Member
    Join Date
    Jan 2013
    Location
    San Francisco Bay Area
    Posts
    559
    That's pretty cool. 192KHz at 32-bit resolution.

    Maybe you could upload a brief audio recording.

  12. #12
    Junior Member
    Join Date
    Jun 2016
    Posts
    4
    I had a brief look at the data sheet and the AIC3206 looks really nice. An audio-board 2.0 with this chip would be great!

  13. #13
    Quote Originally Posted by olieske View Post
    I had a brief look at the data sheet and the AIC3206 looks really nice. An audio-board 2.0 with this chip would be great!
    Along with support for handling high resolution audio in the library...

  14. #14
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    14,076
    Quote Originally Posted by chipaudette View Post
    Yeah, I gotta fix the PCB layout first. DIN and DOUT were swapped. I fixed the schematic but not (yet) the layout.
    Please let me know when the board is published, or available for purchase somewhere.

  15. #15
    Senior Member Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany
    Posts
    3,765
    A question, can the ADC-Part of the TLV320AIC3206 really output (3206->Teensy) samples with 192kHz, or is 48kHz with oversampling ? I need a input-sampling rate of 192kHz. The Datasheet is a bit unclear to me.

  16. #16
    Senior Member
    Join Date
    Oct 2015
    Location
    Vermont, USA
    Posts
    133
    I can't speak to 192 kHz. I'm mainly running at 44.1 kHz and slower. I have run it up to 96 kHz using the increased I2S clock rates introduced by others (you?) in a different thread. It worked fine at 96 kHz (I can successfully record and demodulate ultrasonic signals around 40 kHz), though the system doesn't seem to run as stable as I'd like...it would occasionally get to a state where the Teensy and everything would hang. Not cool. Since the high sample rates weren't my mission, I didn't really push the issue.

    I'm away from my hardware right now, so I can't be more help regarding 192 kHz. Sorry.

    Chip

  17. #17
    Senior Member Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany
    Posts
    3,765
    My question was re: the chip only, as i don't understand the datasheet here (or i didn't find the right page..)

  18. #18
    Senior Member
    Join Date
    Oct 2015
    Location
    Vermont, USA
    Posts
    133
    Yeah, I could't find any clear statements in the datasheet or the application guide. As you yourself said, the product page claims 192 kHz, but I didn't find any substantive discussion of it in the technical docs.

  19. #19
    Senior Member Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany
    Posts
    3,765
    they mention 48kHz only.

  20. #20
    Senior Member
    Join Date
    Oct 2015
    Location
    Vermont, USA
    Posts
    133
    Does the USB audio module in the Teensy Audio Library run at sample rates other than 44.1 kHz? If so, tomorrow, I can crank up the I2S clock speeds to support 192 kHz and see what kind of bandwidth I achieve!

    Do you know, does (or can) the USB audio module support these higher speeds?

    Chip

  21. #21
    Senior Member Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany
    Posts
    3,765
    Quote Originally Posted by chipaudette View Post
    Does the USB audio module in the Teensy Audio Library run at sample rates other than 44.1 kHz? If so, tomorrow, I can crank up the I2S clock speeds to support 192 kHz and see what kind of bandwidth I achieve!

    Do you know, does (or can) the USB audio module support these higher speeds?

    Chip
    I don't know.
    Maybe Paul can answer this ?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •