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

Thread: List of supported Audio Lib Hardware

  1. #1
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany
    Posts
    8,004

    List of supported Audio Lib Hardware

    I have started to make a list of supported chips / boards.
    I do not think that it is complete.
    Maybe we can expand it together?

    If you don't feel comfortable editing in the wiki, you can also post here, I'll expand the list then.

    https://github.com/TeensyUser/doc/wi...brary-Hardware

    Click image for larger version. 

Name:	2021-01-20 21_58_58-Start.png 
Views:	65 
Size:	33.6 KB 
ID:	23387

  2. #2
    I have used NXP UDA1334A with T3.6 and I'm currently using TI PCM5102 with 4.0
    Simply using the AudioOutputI2S object and not connecting the MLCK signal (They generate it internally)

  3. #3
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany
    Posts
    8,004
    Thanks, added

  4. #4
    Senior Member PaulS's Avatar
    Join Date
    Apr 2015
    Location
    Netherlands
    Posts
    504
    Hi Frank, thanks for making the list.
    I think the TDA1543A [..A for Japanese format] also works with output PT8211. Can't verify it though.

    Paul

  5. #5
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany
    Posts
    8,004
    I remember I have tested it years ago. So, yes.

  6. #6
    Senior Member PaulS's Avatar
    Join Date
    Apr 2015
    Location
    Netherlands
    Posts
    504
    Quote Originally Posted by Frank B View Post
    I remember I have tested it years ago. So, yes.
    You indeed did so: link.

    Paul

  7. #7
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    23,791
    PCM1802 should probably link to this page.

    https://www.pjrc.com/pcm1802-breakout-board-needs-hack/

    In addition to the PCB error on the most common breakout board, the FSYNC signal has been a confusing point.

  8. #8
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany
    Posts
    8,004
    Quote Originally Posted by PaulStoffregen View Post
    PCM1802 should probably link to this page.

    https://www.pjrc.com/pcm1802-breakout-board-needs-hack/

    In addition to the PCB error on the most common breakout board, the FSYNC signal has been a confusing point.
    Added some links!

  9. #9
    Senior Member+ MichaelMeissner's Avatar
    Join Date
    Nov 2012
    Location
    Ayer Massachussetts
    Posts
    3,981
    I suspect to be complete, for DAC's you need to separate the 3.2 (1 DAC) from the 3.5/3.6 (2 DACs). The LC has a single DAC also.

    The T4.0/4.1 have MQSR/MQSL.

    All of them should have USB audio to the main USB channel.

    I would suspect that the Teensy 3.6, 4.0, and 4.1 would have audio to the USB host, but I don't use USB host at present, so I don't know the level of support.

    I believe you have a typo, it should be PCM5102, not PCM1502. Such as:


    MAX98357 is another I2S output only device that typically combines stereo output to a mono amplified channel. Such as:

  10. #10
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany
    Posts
    8,004
    Thanks! Typo fixed, and outputs added.
    I won't add links to products or breakouts.

    Or what do you think?

    Some PDM(/TDM??) microphones are missing.. haven't used them

  11. #11
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    23,791
    ADC input on Teensy 4.0 is still experimental and currently only supports mono. It sort-of works, but probably not well enough to be useful for most projects.

    If you or anyone else wants to dive into the ADC code, I could write about what's needed... Probably best to start a new thread just about those ADC issues.

  12. #12
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    23,791
    Quote Originally Posted by Frank B View Post
    Some PDM(/TDM??) microphones are missing.. haven't used them
    SPH0645 works, but requires a software filter to remove DC. I put an example in the library some time ago. File > Examples > Audio > HardwareTesting > Microphones > SPH0645


    Edit: MP34DT01-M (PDM) definitely works, but has only been tested on Teensy 3.x.

    https://www.pjrc.com/teensy/gui/?info=AudioInputPDM


    Edit again: INMP441 definitely works.

  13. #13
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    23,791
    ADAU1966A works with TDM output. So far only tested with Teensy 4.0 & 4.1, but almost certainly works with Teensy 3.x.

    https://oshpark.com/shared_projects/O7iqdcLr

  14. #14
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    23,791
    Here are the 2 OSH Park links for CS42448 hardware.

    Teensy 3: https://oshpark.com/shared_projects/2Yj6rFaW

    Teensy 4: https://oshpark.com/shared_projects/gVFy0fWQ

  15. #15
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany
    Posts
    8,004
    *phew*..
    I think I have all added up to now.
    The list ist growing. Impressive.
    If you or anyone else wants to dive into the ADC code, I could write about what's needed... Probably best to start a new thread just about those ADC issues.
    Later, in 2-3 weeks, maybe

  16. #16
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    23,791
    FWIW, the Teensy 4 experimental ADC code uses 4X oversampling and a FIR filter, but still lacks (useful) DC removal and the resampling to 44.1 kHz is crude rather than proper interpolation. The FIR coefficients probably aren't optimal, needlessly throwing away higher frequencies. Signal gain through the whole process isn't done well either. But the basic setup of the timer, ADC & ADC_ETC, DMA, 4X oversampling and low-pass filtering and downsampling is all there.

    Eventually it might perform much better than anyone would expect from a ~10 ENOB ADC, if the filter and signal gain are well tuned.

  17. #17
    Senior Member Blackaddr's Avatar
    Join Date
    Mar 2017
    Location
    Canada
    Posts
    297
    Anyone have issue with adding links to associated 'maker boards' that use Teensy Audio Library and supported hardware? There are a number of related community-driven projects on Tindie, codec boards etc. Some of the makers might want to add a link to the Wiki for a given codec. Most provide schematics as well so people can also use them as a reference for their own designs.

  18. #18
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany
    Posts
    8,004
    I wouldn't like links to Adafruit, Alieexpress etc. We don't have to do the marketing for big companies.
    But having links to user-contributed things and Tindie is OK for me.

    To make it clear: I do not decide this I think no one does..
    But we should just be in agreement.

  19. #19
    Junior Member
    Join Date
    Dec 2020
    Posts
    13
    Hi Frank, I see TLV320AIC3110 is already on the list for 3.x and 4.x do you have a link for the library code for it as I have been amending the TLV320AIC3206 code for my breakout but not done input yet. If you can point me to the code for the TLV320AIC3110 it will save me some work, thanks!

  20. #20
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany
    Posts
    8,004
    I guess it's the normal I2S code.
    I don't have any code. I saw it mentioned here, in the forum.

  21. #21
    Junior Member
    Join Date
    Dec 2020
    Posts
    13
    OK thanks, I'll do some digging.

Posting Permissions

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