Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • ossi's Avatar
    05-23-2019, 02:05 PM
    @KurtE Seems that was the error. Thanks a lot. Normally I put those arrays in the static section so that I get an error from the compiler if I use more than 256k. But this time I put in onto the stack and did not...
    2 replies | 41 view(s)
  • ossi's Avatar
    05-23-2019, 12:21 PM
    The following program (Teensy36) : void setup() { Serial.begin(115200); for(int k=0 ; k<6 ; k++){ delay(50); delay(100); } test1() ; }
    2 replies | 41 view(s)
  • ossi's Avatar
    03-30-2019, 03:23 PM
    ossi replied to a thread Change SampleRate in Audio Projects
    in analog.c i made tzhe following change: //#elif F_BUS == 60000000 // #define ADC_CFG1_16BIT ADC_CFG1_ADIV(2) + ADC_CFG1_ADICLK(1) // 7.5 MHz // #define ADC_CFG1_12BIT ADC_CFG1_ADIV(1) + ADC_CFG1_ADICLK(1) // 15...
    11 replies | 355 view(s)
  • ossi's Avatar
    03-27-2019, 05:28 PM
    @Frank Have you ever considered using ADCs and DACs instead of SGTL5000. At least there should be no twinpeaks problem.
    196 replies | 47382 view(s)
  • ossi's Avatar
    03-27-2019, 01:34 PM
    ossi replied to a thread Change SampleRate in Audio Projects
    It seems changing the CFG1 setting in analog.c and pdb_period in pdb.h does the trick. Thanks.
    11 replies | 355 view(s)
  • ossi's Avatar
    03-27-2019, 08:14 AM
    ossi replied to a thread Change SampleRate in Audio Projects
    In input_adcs.cpp I see where the trigger rate of the ADCs is set to 44100 but I can not see where the ADC conversion clock is specified. Playing with analogReadAveraging(x) had no positive effect.
    11 replies | 355 view(s)
  • ossi's Avatar
    03-26-2019, 06:34 PM
    ossi replied to a thread Change SampleRate in Audio Projects
    The Method to change the I2S clock only works for the SGTL5000 as far as I see. The DAC and ADC timing is specified by the parameter PDB_PERIOD from pdb.h. Changing this from 1360 to 3000 makes the Sample rate...
    11 replies | 355 view(s)
  • ossi's Avatar
    03-26-2019, 03:05 PM
    ossi replied to a thread Change SampleRate in Audio Projects
    So far I found that I had to change the constant 1360 in pdb.h #elif F_BUS == 60000000 #define PDB_PERIOD (1360-1) I could make the ADC clock a little slower, but not faster ( I want to go from 44100 to 96000...
    11 replies | 355 view(s)
No More Results
About ossi

Basic Information

Statistics


Total Posts
Total Posts
32
Posts Per Day
0.32
Last Post
Teensuino strang behaviour 05-23-2019 02:05 PM
General Information
Last Activity
05-23-2019 02:05 PM
Join Date
02-16-2019