Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: jonr

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    575

    Maybe PJRC should make a debug version. It's...

    Maybe PJRC should make a debug version. It's easy for a debugger to save $100 in time.
  2. Replies
    75
    Views
    2,735

    Regarding #73, I ended up implementing both a and...

    Regarding #73, I ended up implementing both a and b. As long as you have something to sync to, audio rates can be made exact.
  3. Replies
    47
    Views
    4,292

    A feature request - discipline the audio clock to...

    A feature request - discipline the audio clock to the GPS with small tweaks to the rate and this code:


    // set audio rate in Hz

    void ClockSkew::setAudioRate(double fs)
    {
    // !!! you must...
  4. Thread: Raspberry Pi Pico

    by jonr
    Replies
    166
    Views
    9,206

    There is a lot to be said for moving into the...

    There is a lot to be said for moving into the 21st century in terms of officially supporting gdb (even ftrias/TeensyDebug).
  5. Replies
    157
    Views
    17,624

    Always refreshing how Paul shares design and...

    Always refreshing how Paul shares design and design process info.
  6. I've used a one byte per second serial over USB...

    I've used a one byte per second serial over USB connection from a PC to discipline a teensy audio clock to the PC system clock. Works well.
  7. Replies
    9
    Views
    265

    Note that a GPS requires far less noise during...

    Note that a GPS requires far less noise during acquisition. So in some cases, you can power up the GPS, acquire a lock and then power up the noisy circuitry.

    Distance (even say from 1" to 3")...
  8. The easiest way to reduce noise is to go with the...

    The easiest way to reduce noise is to go with the trend - do everything possible in the digital domain.
  9. Thread: Raspberry Pi Pico

    by jonr
    Replies
    166
    Views
    9,206

    Yes, marketing is critical - which is why...

    Yes, marketing is critical - which is why inferior technical specs don't mean non-competitive.
  10. Thread: Raspberry Pi Pico

    by jonr
    Replies
    166
    Views
    9,206

    Always be interested in the competition. Even if...

    Always be interested in the competition. Even if you think "that's not very competitive because ..."
  11. Replies
    31
    Views
    1,059

    Disabling interrupts around the call made it much...

    Disabling interrupts around the call made it much worse. My working assumption - changing speeds simply takes too long to be useful in my use case.
  12. Thread: Raspberry Pi Pico

    by jonr
    Replies
    166
    Views
    9,206

    I find it disappointing that while there was a...

    I find it disappointing that while there was a pre-existing usable and popular API (Arduino), the RasPi foundation went off and created yet another API. But as I mentioned above, they didn't need...
  13. Replies
    31
    Views
    1,059

    Looks like it doesn't disable interrupts while...

    Looks like it doesn't disable interrupts while waiting - seems like a potential source of problems.
  14. Replies
    31
    Views
    1,059

    I could check with the scope, but does anyone...

    I could check with the scope, but does anyone know how long set_arm_clock() takes to execute? I see that it includes wait loops. Also that it's changing voltage - which might have some side...
  15. Replies
    31
    Views
    1,059

    I'm using SPDIF3. It's a confusing issue because...

    I'm using SPDIF3. It's a confusing issue because I've seen all of crashes, distorts and works fine. Distortion is the most common. I am doing a lot of processing - a simple pass-through may not...
  16. Replies
    31
    Views
    1,059

    Strange, that is basically the code I tested...

    Strange, that is basically the code I tested with. I just tried a different placement of the speed changes and the program locks up (switching between 816 Mhz while processing and 528 Mhz when idle...
  17. Thread: Raspberry Pi Pico

    by jonr
    Replies
    166
    Views
    9,206

    I would guess that there would be a lot of value...

    I would guess that there would be a lot of value in teensy wrapper libraries that are compatible with the pico libraries. Ie, an easy migration path for users who start on the low cost pico and want...
  18. Replies
    31
    Views
    1,059

    A clue: my DAC sees an interruption in toslink...

    A clue: my DAC sees an interruption in toslink output. Perhaps the audio PLLs get reset?
  19. Replies
    31
    Views
    1,059

    Unfortunately, it creates audio glitches if one...

    Unfortunately, it creates audio glitches if one switches back and forth.
  20. Replies
    4
    Views
    490

    Look at the upgrade_firmware() routine and add...

    Look at the upgrade_firmware() routine and add code to open the file and read characters from it instead of the serial port. Others can say more about how to use the SD card.
  21. Replies
    31
    Views
    1,059

    What was the conclusion on this? Is there an...

    What was the conclusion on this? Is there an easy way to jump to 912 Mhz for a brief period?
  22. Replies
    4
    Views
    490

    You can easily write code to load a teensy .hex...

    You can easily write code to load a teensy .hex firmware file from an SD card (or modbus) if you use the Flasher4 library.
  23. Thread: Raspberry Pi Pico

    by jonr
    Replies
    166
    Views
    9,206

    A claimed reason for the pico is that linux (used...

    A claimed reason for the pico is that linux (used on their other models) isn't good at real-time I/O. But all they had to do to fix that was change the OS to leave one core completely untouched by...
  24. Replies
    5
    Views
    426

    Following the manufacturer recommendation sounds...

    Following the manufacturer recommendation sounds reasonable. Is there something that prevents the battery from being discharged to an unsafe voltage?
  25. Replies
    57
    Views
    4,228

    A differential ADC on the Teensy 3.6 (Pins A10...

    A differential ADC on the Teensy 3.6 (Pins A10 and A11) should work well for this application.
  26. Don't worry about the ":02 0000 02" lines, they...

    Don't worry about the ":02 0000 02" lines, they aren't code values. But for now, do manually combine any ":04 XXXX 00" lines.
  27. Replies
    31
    Views
    898

    No doubt there are some users who are able to...

    No doubt there are some users who are able to "insert the SD card I mailed you" and not "install this software on your PC and then ....". You can start with "Flasher4" if you want to develop...
  28. Replies
    26
    Views
    1,187

    If you just want an easy low noise teensy output...

    If you just want an easy low noise teensy output solution, run toslink to an off-the-shelf DAC/amp.
  29. Replies
    13
    Views
    472

    i2sflew: I highly recommend that you get used to...

    i2sflew: I highly recommend that you get used to typing your circuits into LTSpice. You can even add noise to the power supply or input. Not perfect, but you will learn a lot.
  30. Replies
    26
    Views
    1,187

    How does it sound when you run from batteries?

    How does it sound when you run from batteries?
  31. Replies
    13
    Views
    472

    "the AD8656 can drive capacitive loads up to 500...

    "the AD8656 can drive capacitive loads up to 500 pF ..."

    So if you are planning to us it there, think twice about that 33uF.
  32. > a DSB is mandatory at the end of interrupt-code...

    > a DSB is mandatory at the end of interrupt-code

    I believe it should also be used when disabling interrupts from non-interrupt code.

    > SCB_AIRCR = 0x05FA0004;

    Of course such things...
  33. Replies
    13
    Views
    472

    You might be better off just ordering this: ...

    You might be better off just ordering this:

    https://www.pjrc.com/store/audio_ground_isolator.html
  34. It would be really nice if the flasher code could...

    It would be really nice if the flasher code could directly accept any .hex lines it is likely to receive.
  35. Replies
    13
    Views
    441

    I would study the example below. Look closely at...

    I would study the example below. Look closely at how/where "client" is set.

    https://gist.github.com/atomsfat/1813823
  36. Replies
    157
    Views
    17,624

    > A simple hardware diagnostic using patterns of...

    > A simple hardware diagnostic using patterns of red LED blinks is also planned

    Nice! - black boxes are hard to debug. Would be very helpful to distinguish between "loader can't talk to MCU",...
  37. That is my concern. Some protocols are likely to...

    That is my concern. Some protocols are likely to lose exactly an entire line. This could get flashed and the error might not be immediately obvious.
  38. > you need to type in ":flash XXXX", where XXXX...

    > you need to type in ":flash XXXX", where XXXX is the number of lines reported by the program

    I recommend that you don't do this. Type in ":flash XXXX", where XXXX is the number of lines you...
  39. Replies
    22
    Views
    747

    For speaker analysis and correction, this is...

    For speaker analysis and correction, this is great.

    https://www.roomeqwizard.com/

    If you want to do convolution based correction, then just use the impulse response from REW and also use...
  40. Replies
    22
    Views
    747

    Yes, specifically "fast, partitioned convolution".

    Yes, specifically "fast, partitioned convolution".
  41. Replies
    22
    Views
    747

    While it's only necessary for high resolution at...

    While it's only necessary for high resolution at low frequencies, I am able to run 12288 taps, stereo.
  42. Replies
    18
    Views
    731

    OK, I checked and some notes: T4 with a small...

    OK, I checked and some notes:

    T4 with a small heat sink attached
    It runs about 45C (far far different than the graph)
    Slowing from 600 to 528 is only a couple of degrees cooler
    wfi makes no...
  43. Replies
    18
    Views
    731

    In many cases, one could include this in their...

    In many cases, one could include this in their idle loop, which I understand reduces power/heat more than slowing down to 450 mhz.

    asm volatile("wfi");
  44. Replies
    18
    Views
    731

    My guess is that at 450 mhz, it will last a very...

    My guess is that at 450 mhz, it will last a very long time. And most applications won't notice the slower speed.
  45. Replies
    909
    Views
    65,374

    There was some discussion of strlcpy(). IMO,...

    There was some discussion of strlcpy(). IMO, don't just use it, use it and check the return value. Ie:



    if (strlcpy(dest, src, sizeof(dest)) > sizeof(dest))
    handle_error();
  46. Replies
    18
    Views
    731

    3 years life at 600 mhz - that could be a problem.

    3 years life at 600 mhz - that could be a problem.
  47. Sure, you could pack four 10 bit samples into...

    Sure, you could pack four 10 bit samples into every five bytes. But consider other approaches - like a teensy 4.1 or a larger sd card.
  48. Replies
    58
    Views
    2,692

    My experience is that paste is better, even when...

    My experience is that paste is better, even when you don't have a stencil. But I save time and frustration - unless JLCPCB puts most of the parts on, I always order a stencil. More advice - use a...
  49. Replies
    22
    Views
    747

    I agree with tomas. Is there a tool for...

    I agree with tomas. Is there a tool for predicting how many bits you need for how much distortion?
  50. Replies
    14
    Views
    390

    Consider either headphones (low bass with low...

    Consider either headphones (low bass with low power) or a subwoofer (which will need size and power).
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4