Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • Arctic_Eddie's Avatar
    04-03-2020, 08:09 PM
    At this point, I've not made a decision either way. I'll look into the audio tutorial some more and if I feel comfortable enough with the programming then I'll go that route. Thank you for all of your replies and...
    28 replies | 211 view(s)
  • Arctic_Eddie's Avatar
    04-03-2020, 07:43 PM
    I'm using the T4 dual ADC in sync mode to capture both channels in 6.3 usec(167Ks/s). Adding two 3-pole HP Bessel filters sequentially adds only 0.4 usec. There will be some software mixing of the input audio and the...
    28 replies | 211 view(s)
  • Arctic_Eddie's Avatar
    04-03-2020, 07:20 PM
    Will this be compatible with the Adafruit board? https://www.adafruit.com/product/3678
    28 replies | 211 view(s)
  • Arctic_Eddie's Avatar
    04-03-2020, 06:57 PM
    I looked at that and found a nice board from Adafruit that would directly replace the function of a pair of MCP4725 boards. However, the library was written for the Due and other CPUs that show up as incompatible in the...
    28 replies | 211 view(s)
  • Arctic_Eddie's Avatar
    04-03-2020, 06:35 PM
    Problem Solved My Owon SDS-7102V scope found it all. It turns out that Wire1 commands do not work or they use different pins than A4 and A5. None on the top of the T4 were active. I changed everything to Wire and set...
    28 replies | 211 view(s)
  • Arctic_Eddie's Avatar
    04-02-2020, 11:33 PM
    It's now responding to speed changes by moving the Wire1.setClock() to just under the Wire1.begin() in the DAC library CPP file. However, I don't get the right output voltage and by calculation, it's running about...
    28 replies | 211 view(s)
  • Arctic_Eddie's Avatar
    04-02-2020, 08:05 PM
    When using Wire, I had no control over the speed. When switching to Wire1, my loop time dropped from 384usec to 109usec for 20 passes. However, using Wire1.setClock() does not produce a change in loop time for freq...
    28 replies | 211 view(s)
  • Arctic_Eddie's Avatar
    04-02-2020, 06:48 PM
    I've discovered that the I2C bus is running at 100KHz no matter what I do to change it. The value of TWBR is 72 and it should be 12. I set it as my 400KHz default and the MCP4725 library does the same thing. I found the...
    28 replies | 211 view(s)
  • Arctic_Eddie's Avatar
    04-02-2020, 02:10 PM
    Arctic_Eddie replied to a thread Teensy 4 ADC in Project Guidance
    Works fine now. I had it installed when I was working on a project that used three Teensy boards and had to see and program all of them. Now it's just one board at a time so will uninstall Ty. Thanks.
    6 replies | 92 view(s)
  • Arctic_Eddie's Avatar
    04-02-2020, 11:50 AM
    Arctic_Eddie replied to a thread Teensy 4 ADC in Project Guidance
    I've got the TyCommander installed so it apparently grabs the connection first. Next time I update Arduino I'll try it before installing Ty.
    6 replies | 92 view(s)
  • Arctic_Eddie's Avatar
    04-02-2020, 11:26 AM
    Arctic_Eddie replied to a thread Teensy 4 ADC in Project Guidance
    Use the serial plotter instead of the monitor to get a visual picture of the waveform. Also, a sine wave does hover near it's min and max values compared to the central region, dV/dT ~ 0. PS Oops, serial plotter not...
    6 replies | 92 view(s)
  • Arctic_Eddie's Avatar
    04-01-2020, 08:44 PM
    The Adafruit library switches the bus to 400KHz(TWBR=12), writes the data, then switches back to the users default, usually 100KHz. I run mine at 400KHz and can bump it to 888KHz(TWBR=1) but the DAC won't work. I need...
    28 replies | 211 view(s)
  • Arctic_Eddie's Avatar
    04-01-2020, 07:34 PM
    Points well taken. I will likely end up with the PJRC shield but want to finish my search for just a DAC breakout. My 3-pole Bessel IIR filter takes only a few usec to run both channels with the T4. The long delay is...
    28 replies | 211 view(s)
  • Arctic_Eddie's Avatar
    04-01-2020, 06:20 PM
    I found another chip, CS4344, which would work but no breakout board or library yet. I can work with either I2S or SPI.
    28 replies | 211 view(s)
  • Arctic_Eddie's Avatar
    04-01-2020, 05:25 PM
    I was not going to use the audio board as I have most of the code already written. I just need an output DAC that is fast. The Adafruit I2C DAC breakout, MCP4725, runs at 400KHz but is way too slow. It has a fast mode,...
    28 replies | 211 view(s)
  • Arctic_Eddie's Avatar
    04-01-2020, 04:05 PM
    I found this board, the Adafruit I2S Stereo Decoder - UDA1334A Breakout which would also work except for one reason. The library is incompatible with the T3.2, T4.0, and probably others. Is there a simple way of fixing...
    28 replies | 211 view(s)
  • Arctic_Eddie's Avatar
    03-31-2020, 06:44 PM
    I read some of it earlier today and will go over it again. I looked at Paul's tutorial and the design tool and have a diagram of what I think I need. Will order the audio shield today to have some hardware for testing.
    28 replies | 211 view(s)
  • Arctic_Eddie's Avatar
    03-31-2020, 05:27 PM
    I've been working on a hearing aid project and initially used a T3.2 and two Adafruit MCP4725 DACs. The method was to use synchronized ADC stereo inputs, filter a sample of the input with a 3-pole Bessel HP IIR filter,...
    28 replies | 211 view(s)
No More Results
About Arctic_Eddie

Basic Information

About Arctic_Eddie
Location:
St. Petersburg, FL
Interests:
Science

Statistics


Total Posts
Total Posts
167
Posts Per Day
0.11
Last Post
Hearing aid using T4 and audio shield 04-03-2020 08:09 PM
General Information
Last Activity
Today 02:15 PM
Join Date
04-02-2016