Forum Rule: Always post complete source code & details to reproduce any issue!
Page 1 of 2 1 2 LastLast
Results 1 to 25 of 27

Thread: New Audio Board! TI TLV320AIC3206

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

    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:	269 
Size:	604.9 KB 
ID:	9972

    Click image for larger version. 

Name:	CompareDynamicRange.png 
Views:	214 
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
    15,427
    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
    142
    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
    15,427
    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
    142
    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
    51
    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
    4,241
    I'd like to have one of these...

  8. #8
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    15,427
    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
    142
    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
    610
    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
    5
    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
    15,427
    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
    4,241
    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
    142
    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
    4,241
    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
    142
    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
    4,241
    they mention 48kHz only.

  20. #20
    Senior Member
    Join Date
    Oct 2015
    Location
    Vermont, USA
    Posts
    142
    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
    4,241
    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 ?

  22. #22
    Senior Member
    Join Date
    Oct 2015
    Location
    Vermont, USA
    Posts
    142
    I published the schematic and the gerbers on the Tympan GitHub: https://github.com/Tympan/Tympan_Lib...are/Tympan_PCB. Note that the Gerbers still have critical errors: the I2S data lines (in and out) are swapped. The PDF schematic has been corrected, but the gerbers have not.

    My buddy, Joel Murphy, is probably going to fix the gerbers and make a run of a few dozen boards. I think that he's planning on including a Teensy 3.6 as part of the build (though you can probably tell him otherwise). If you're interested, you can visit this page and sign-up for notifications: https://tympan.org/shop/

    If this constitutes unacceptable spam, I apologize and would be happy to delete this post.

    Chip

  23. #23
    Member dimitre's Avatar
    Join Date
    Aug 2016
    Location
    São Paulo
    Posts
    51
    Hey @chipaudette, I've just signed up there. do you think it will be a nice platform to develop realtime instrument effects?
    Thanks

  24. #24
    Senior Member
    Join Date
    Oct 2015
    Location
    Vermont, USA
    Posts
    142
    The Tympan board is aimed at different goals than real-time instrument effects, so things like the on-board microphones may not be very usefull to you. Also, the packaging isn't quite right (you probably want 1/4" phono plugs, not 1/8" guys). And do you really want a LiPo battery (and built-in charging elements) for an instrument effects box? Bluetooth and SD card? Probably not.

    Also, this system doesn't have external RAM...you get exactly what the Teensy 3.6 has. So, if you have long echos or reverbs or sampling that you want to do, this system may be insufficient.

    But, the audio codec at the heart of this board is pretty dang good (for a low-power codec). That part of our system might suit you very well.

    I think that your choice will come down to price. Since its mix of features might not be your ideal mix of features, you'll have to decide if the price is worth it.

    Chip

  25. #25
    Member dimitre's Avatar
    Join Date
    Aug 2016
    Location
    São Paulo
    Posts
    51
    Thanks @chipaudette. Yes it would be great to try out this board, but one thing I like a lot on Teensy Audio Board is I can extend it with RAM or SerialFlash (which I'm using a lot lately).
    I know you have a finished design but it would be great to have this same feature there too.
    https://www.pjrc.com/store/teensy3_audio_back.jpg

    Plugs are no problem for me, and yes lots of features I wont use but mainly I'll be using to make a personal prototype.

Posting Permissions

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