Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • Neal's Avatar
    03-29-2021, 06:18 PM
    Your right. So the modification to the library would have to be more extensive than I said. It make more sense to bypass the Audio library FFT and do the FFT separately.
    11 replies | 387 view(s)
  • Neal's Avatar
    03-29-2021, 04:31 PM
    The arm_cfft_radix4_q15(&fft_inst, buffer) function output is located in the buffer in the form real, complex, real, complex...... The for loop you show in your code snippet converts that to magnitude. So, if you...
    11 replies | 387 view(s)
  • Neal's Avatar
    03-24-2021, 05:29 PM
    I am running my project at 96000 Hz. Before I proceed I want to check an assumption I am making. If, for example, I run the four stage ladder filter AudioFilterLadder::update() at a 88000 Hz rate and if I modify...
    207 replies | 8604 view(s)
  • Neal's Avatar
    03-24-2021, 02:19 PM
    The sketches on my windows 10 machine are located in {Documents}/Arduino/libraries. That is where I put it. The compiler said it found two Audio.h files and it automatically chose the original Audio.h. I did finally...
    207 replies | 8604 view(s)
  • Neal's Avatar
    03-23-2021, 04:31 PM
    I want to experiment with the Audio Library version of this filter. As suggested by Paul in message #50 of this thread, I downloaded a zip version of https://github.com/PaulStoffregen/Audio and unzipped it to...
    207 replies | 8604 view(s)
  • Neal's Avatar
    03-11-2021, 05:43 PM
    Sorry, I just noticed two omissions. Here is the code with a few added lines: #ifndef PLATFORM_H #define PLATFORM_H #include <Arduino.h> #include <Audio.h> #define PLATFORM_AUDIO_ADCDAC_CTRL 0x000E class...
    10 replies | 328 view(s)
  • Neal's Avatar
    03-11-2021, 04:31 PM
    Here is the code pieces I used to get at the sgtl5000 registers so I could mute the DACs separately. It uses the codec library without changes. #ifndef PLATFORM_H #define PLATFORM_H #include <Arduino.h> #include...
    10 replies | 328 view(s)
  • Neal's Avatar
    03-11-2021, 03:50 PM
    The library does not need to be changed to be able to modify the various sgtl5000 registers. Since the read, write and modify methods are designated "protected" and not "private" in the library, they can be accessed by...
    10 replies | 328 view(s)
  • Neal's Avatar
    03-10-2021, 03:41 PM
    I don't see any information re: the sgtl5000 having antialiasing filters on the ADC inputs. I may be missing something??? Thanks
    8 replies | 363 view(s)
  • Neal's Avatar
    03-07-2021, 04:12 PM
    I got my replacement Audio board running and reran my tests. I reconfirmed that Paul's observations are accurate in my test setup as well. The ADC transmits 24bits regardless of the CHIP_I2S_CTRL register data length...
    8 replies | 366 view(s)
  • Neal's Avatar
    03-01-2021, 04:44 PM
    Thanks for the responses. Paul I did the same test you did with two exceptions. I bypassed the line in and line out series capacitors and fed in a very clean DC signal into the ADC and measured the DAC DC output signal....
    8 replies | 366 view(s)
  • Neal's Avatar
    03-01-2021, 03:25 PM
    Yes I realize that the it is only spec'd to 96 kHz. I guess I was hoping there was some magical overdrive mode. The real dilemma I am having is that it appears the sgtl5000 ADC outputs 32 bits and the DAC accepts 32...
    8 replies | 366 view(s)
  • Neal's Avatar
    02-28-2021, 03:30 PM
    In my application, everything I am using 32 bit integers exclusively. I would like to use the 32 bit mode in the sgtl5000 as well. As far as I can tell the following lines of code from the i2s library are already...
    8 replies | 366 view(s)
  • Neal's Avatar
    02-20-2021, 03:10 PM
    Can you point me to a TI audio codec similar to the sgtl5000 that has more information on the decimation and reconstruction filters?
    24 replies | 962 view(s)
  • Neal's Avatar
    02-20-2021, 03:08 AM
    I finally found a bit of time to dig into this a little further. I wanted to find out how much of the 250 usec could be attributed to just the DAC. So I measured the time it took from an i2s write to the time the DAC...
    24 replies | 962 view(s)
No More Results
About Neal

Basic Information

Statistics


Total Posts
Total Posts
41
Posts Per Day
0.19
Last Post
Getting real and imaginary FFT data from AudioAnalyzeFFT1024 03-29-2021 06:18 PM
General Information
Last Activity
03-29-2021 06:18 PM
Join Date
09-16-2020