Search results

  1. J

    TLV320AIC3105 Codec in TDM mode

    I'm thinking that the word clock should rise when the bitclock rises, and that's the reason for the issues. Is there a setting somewhere to change the clock timing on the i.MX RT1060 SAI? While listening more to the DAC, I would say it also is negatively impacted in terms of sound quality over I2S.
  2. J

    TLV320AIC3105 Codec in TDM mode

    I'm going to fire back up the 6140 and take captures of it to see what it looks like!
  3. J

    TLV320AIC3105 Codec in TDM mode

    Yes but my phone auto uploads to the Internet for easy retrieval. As opposed to swapping devices. But eh, maybe I'll try that next time. Thanks! If it's in spec, what else can I look at? Thanks for taking the time! FYI, I have a TLV320ADC6140 using the exact same I2S bus that works fine. I've...
  4. J

    TLV320AIC3105 Codec in TDM mode

    There must be some mismatch in my ADC configuration. The 3105 must be putting the ADC on the wrong bitrate or something. Hmm. TI did mention that they find it unlikely that the clocks are at fault. If it works for I2S mode then it should work for TDM mode.
  5. J

    TLV320AIC3105 Codec in TDM mode

    Hello MarkT, Thanks for the advice. I didn't know. But you are right, it looks better maybe when 10x is enabled on the probe, and 10x is also enabled on the scope. I presume that's how it's done. My yellow probe is broken, so the 10x switch doesn't work. So I am showing just one signal line at...
  6. J

    TLV320AIC3105 Codec in TDM mode

    I2S mode works great with both DAC and ADC. It sounds good. But doesn't this look funny still with the data lines seemingly behind the clock. It should be on the rising edge, right?
  7. J

    TLV320AIC3105 Codec in TDM mode

    Fixed the BCLK (disconnected ground on the probe). And played a 1kHz sine wave from USB>Mainboard>3105> and from Phone>3105>Mainboard. Purple is DAC and BLUE is ADC... It seems off to me. The ADC is too far right. TI said this shouldn't be the case. Still trying to find a solution there to.
  8. J

    TLV320AIC3105 Codec in TDM mode

    First shot from the scope. Yellow = LRCLK Purple = DAC Data (out of mainboard, into 3105) Green = ADC Output directly from 3105 Blue = ADC Output after buffer Based on this. It does appear that the buffer has nearly zero delay to be concerned about. In this next image I wanted to see the...
  9. J

    TLV320AIC3105 Codec in TDM mode

    I just bypassed the buffer altogether - it is the same. Still scratchy like the ADC is sending data at the wrong start bit. I asked TI and they said that the chip adjusts both DAC and ADC together with that same register (Table 15. Page 0/Register 10). I guess it's time to get out the...
  10. J

    TLV320AIC3105 Codec in TDM mode

    I know you found a backwards bit in the TDM code which put the bits out of order. I read somewhere once in a lifetime. The only thing that could be hardware related with this is that I have a buffer on the I2S lines. My custom main card is buffering the mclk, bclk, lclk, sdout, sdin(reversed)...
  11. J

    A DX7 (Fm synthesis) replacement with Dexed on a Teensy

    I understand completely. The project is awesome and I can't wait to spend more time discovering it. Great work!
  12. J

    TLV320AIC3105 Codec in TDM mode

    Just as some notes on my ongoing research. I think the next thing I'm going to try is to use h4yn0nnym0u5e's audio library fork to see if it changes anything. https://github.com/h4yn0nnym0u5e/Audio https://github.com/h4yn0nnym0u5e/cores I was thinking about also trying chipaudette's Float32...
  13. J

    A DX7 (Fm synthesis) replacement with Dexed on a Teensy

    Thanks positionhigh, how do I load the webpage on the pc web browser? I didn't know this existed, but I'll attempt it. Is that what the screen is running to change instruments? Does the Teensy act as a webserver? I have custom hardware that I'm using. I too wanted higher quality audio, so I...
  14. J

    TLV320AIC3105 Codec in TDM mode

    I have it working just fine in I2S mode. In TDM mode the offset is "1". So the DAC responds perfectly for each slot with 16 Bit Mode: device 1 shift 1 | device 2 shift 33 | device 3 shift 65 | device 4 shift 97. But the ADC doesn't seem to be following the same offset? The following is my...
  15. J

    TLV320AIC3105 Codec in TDM mode

    I'm working on getting a TLV320AIC3105 working in TDM mode.
  16. J

    A DX7 (Fm synthesis) replacement with Dexed on a Teensy

    Are there instructions for running MicroDexed on a Teensy 4.1 with a regular audio shield and no screen? Can you change instruments some other way? I've been following for a while and I want to try this on a standard setup. Thanks for any advice you might have.
  17. J

    High gain audio amp picks up noise from analogRead ?

    @blakeAlbion I'm also having noise issues caused by a write/read (volume control) on my system. When I pause the volume write/read the noise disappears, so that's how I know it's the I2C line causing the noise. I don't have an OLED display. Should I put a large capacitor close to my DAC on the...
  18. J

    Stream audio from PC over UDP/IP to Teens 4.x

    You might want to look at EtherAudio library written by Palmerr23.
  19. J

    Artduino 2.1.1 and Teensyduino doesn't show File>Examples after installation

    Hello, I am running Windows 10 and Arduino 2.1.1. I installed at board manager>Teensy 1.58.1. I originally had examples but I was looking for usbhost_t36 and didn't see it so I tried to reinstall the Teensy library in Board's Manager to see if it would show. After a restart I don't see any...
  20. J

    error while trying to synchronize Audio and Midi (Logic Pro)

    You may want to check your cable. Try a new, short, high quality USB cable and see if that changes anything.
  21. J

    Using the Audio Shield alongside a Synth chip

    Start with an example. Probably audio passthrough example or USB passthrough. This will probably give you examples about enabling the io on the codec... The USB passthrough example will let you control the volume with the PC volume slider which might be helpful... You'll need to configure the...
  22. J

    Using the Audio Shield alongside a Synth chip

    I don't see why that wouldn't work.
  23. J

    Using the Audio Shield alongside a Synth chip

    What board are you using for the VS1053. Adafruit has an example but also hitgo? HiLetgo VS1053 MP3 Audio Player Module Audio Decoder Board Onboard Recording Microphone SPI Interface OGG Output Port Line-in 12.288Mhz https://a.co/d/d4ZYAeE I can buy one and test it.
  24. J

    Why is no ground plane used on the audio boards?

    I found this helpful for input regarding ground planes and digital audio converters. https://www.ti.com/lit/slyt499 Regarding those capacitors Paul is talking about avoiding with the virtual ground - since the audio path is flowing through them they can cause noise or shape the sound. Ceramic...
  25. J

    6 channel line level audio interface with teensy 4.1?

    I have a bit more time over the next few weeks. Is this the branch you need some testing on? https://github.com/h4yn0nnym0u5e/Audio/tree/mcginty/feature/USB-extra-channels
  26. J

    Using the Audio Shield alongside a Synth chip

    Don't forget to set the USB Type: Serial + Midi + Audio when compiling it over otherwise it won't compile. Good luck!
  27. J

    Using the Audio Shield alongside a Synth chip

    No, I'm using the stock audio library in that example, but the included files add this functionality... https://github.com/JayShoe/esp32_T4_bt_music_receiver/tree/main/Teensy4 I think it's actually possible you can connect your synth chip to those pins and run this code straight up... I'm...
  28. J

    Using the Audio Shield alongside a Synth chip

    Hi David, After posting I wondered if I should have shared my examples (https://github.com/JayShoe/esp32_T4_bt_music_receiver). It looks like your suggested pins are correct. In my case, we don't use MCLK. I guess that I2S2 slave example never made it into the library, and maybe it should be...
  29. J

    Using the Audio Shield alongside a Synth chip

    I would look at integrating this chip on I2S2 of the Teensy. Then it can run as a master (or slave), and the audio shield will work just fine on its intended I2S1 ports. Each SAI (I2S + I2S2) can run independently. I do this with the ESP32 running as a master.
  30. J

    Bluetooth audio transmission module needed

    Phil Schatzmann has an audio library for the ESP32 which has a Bluetooth sender here https://github.com/pschatzmann/ESP32-A2DP I have some example code integrating the ESP32 with the teensy with credit to Alex6679 here. https://github.com/JayShoe/esp32_T4_bt_music_receiver I've only tested a...
  31. J

    6 channel line level audio interface with teensy 4.1?

    I've looked at the USB descriptors before and can imagine the difficulty involved. It seems to me that knowledge in this subject is super rare, too. Now that you mentioned it, you may be able to use the Unified Write Filter. You can lock windows to read only mode...
  32. J

    6 channel line level audio interface with teensy 4.1?

    I'm currently in my busy season at work but I will most definitely be testing this soon. Thanks for your effort, h4yn0nnym0u5e.
  33. J

    6 channel line level audio interface with teensy 4.1?

    AMh4yn0nnym0u5e is correct, you are taking a risk when buying from those "knockoff" sites. But what is the risk, really? $27? It appears to me that the board is a reference implementation of the chip. The row of pins along the one edge seem to correspond to the datasheet exposing all of the data...
  34. J

    Logic Analyzer on OUT1A breaks I2S

    I think maybe grounding was the issue. I've switched to the 'scope and I seem to be making progress. Thanks for the tip, MarkT.
  35. J

    Logic Analyzer on OUT1A breaks I2S

    Hello, I'm debugging a board and wondering why I'm not getting anything at all out of OUT1A via my scope or logic analyzer. So I setup a test with the audio shield, T 4.0 and the LA2016 logic analyzer. I'm running the standard USB_Passthrough example and playing some Youtube. When the device...
  36. J

    Maybe the Teensy Audio Library should just be an extension of FAUST?

    There is a nice write up on how they play nicely together here https://faustdoc.grame.fr/tutorials/teensy/
  37. J

    I2C Serial Menu for ADC/DAC/Codec Driver Development

    Hello, I need some help with my I2C Menu app... I created a new Codec board out of a TLV320AIC3105 chip. It's powered on, and I'm communicating with it via I2C (yay!). I've done this before with a few other chips, and I created an "I2C_menu" app so that I can just send a few I2C commands to...
  38. J

    New Teensy MicroMod based Guitar stompbox!

    Are you connected to Aviate Audio? Did you help develop this or something?
  39. J

    Teensy 4.1 ON/OFF Pin Access/Use

    Hello Everyone, I'm confirming some connections on a project. I have the ESP32 EN pin connected to pin 37 of a Teensy 4.1. When I shut the Teensy Down using the On/Off switch, I want to power down the ESP32 by pulling pin 37 low. The 5v will stay powered in this case so this is how I would...
  40. J

    Audio library with external clock, or PLL modification

    It does appear that the clocks are synchronous. That's wild! https://en.wikipedia.org/wiki/AES67#Synchronization
  41. J

    Audio library with external clock, or PLL modification

    What I've been thinking about recently, is how to (or whether one should) broadcast a clock over a network. It sounds messy to me. Asynchronous/resampled data sounds like the correct path for the client teensies on a network. It's also possible to have incoming data be received at a different...
  42. J

    Audio library with external clock, or PLL modification

    I reread the original post and realized that you weren't looking for an external word clock. Your issue is with sending the first clock to the slave teensies over a network... So my list is a bit off topic. You seem to be ok with the quality of the primary teensy clock but you want to send the...
  43. J

    Audio library with external clock, or PLL modification

    I noticed on an old thread some discussion about external clocks. The discussion suggests using the teensy SPDIF hardware input as a word-clock input. https://forum.pjrc.com/threads/60914-ADAT-white-noise-on-Teensy-4-0?p=239884&viewfull=1#post239884. It sounds like BNC is more "consumer" level...
  44. J

    Streaming audio through USB using Teensy 4.1 and Digilent Pmod I2S2 board

    The teensy 4.1 will work with multiple dacs as discussed. However, USB audio support is only stereo at the moment (2 in/2 out). Many users have goals to add more channels. I think one might have gotten 4/4 working but didn't share the code. IIRC
  45. J

    Audio library with external clock, or PLL modification

    I just wanted to say that JackTrip is an awesome project, never heard of it and I will be digging in for sure. Exactly what connection is needed electrically to connect an external clock to the Teensy? I know I've seen BNC connectors used for this. Does MCLK1 become an input, and the Teensy is...
  46. J

    Mix two I2S audio streams and output as I2S

    Yes, look at the AudioInputI2SQuad and AudioOutputI2SQuad. It is doing this with the shield, which is sending and receiving I2S. https://www.pjrc.com/teensy/gui/?info=AudioInputI2SQuad#tab-info https://www.pjrc.com/teensy/gui/?info=AudioOutputI2SQuad
  47. J

    Teensy 4.1 + MAX98089

    Sorry nobody helped. I was interested in this, as this chip is quite nice... But I couldn't come up with anything helpful. What was the issue?
  48. J

    Teensy 4.1 Guitar Looper

    Yes, sorry. The PCM5201 is a DAC and then use the PCM1802 as the ADC. Just a thought. Hope it's helpful.
  49. J

    Teensy 4.1 Guitar Looper

    A codec is a chip that has both ADC and DAC in one. Or you build it with discrete ADC/DAC chips.
  50. J

    Teensy 4.1 Guitar Looper

    Blackaddr uses the WM8731 in his guitar shield and chipaudette uses the TLV320AIC3206 in his Tympan. I'm building something with the TLV320AIC3106 and I've also built something using PCM5242 and TLV320ADC5140. I hope to get back to building and hopefully release something useful! The PCM5102a...
Back
Top