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. Thread: Raspberry Pi Pico

    by jonr
    Replies
    79
    Views
    1,694

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

    Always be interested in the competition. Even if you think "that's not very competitive because ..."
  2. Replies
    31
    Views
    751

    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.
  3. Thread: Raspberry Pi Pico

    by jonr
    Replies
    79
    Views
    1,694

    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...
  4. Replies
    31
    Views
    751

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

    Looks like it doesn't disable interrupts while waiting - seems like a potential source of problems.
  5. Replies
    31
    Views
    751

    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...
  6. Replies
    31
    Views
    751

    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...
  7. Replies
    31
    Views
    751

    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...
  8. Thread: Raspberry Pi Pico

    by jonr
    Replies
    79
    Views
    1,694

    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...
  9. Replies
    31
    Views
    751

    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?
  10. Replies
    31
    Views
    751

    Unfortunately, it creates audio glitches if one...

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

    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.
  12. Replies
    31
    Views
    751

    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?
  13. Replies
    4
    Views
    236

    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.
  14. Thread: Raspberry Pi Pico

    by jonr
    Replies
    79
    Views
    1,694

    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...
  15. Replies
    5
    Views
    142

    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?
  16. Replies
    57
    Views
    3,083

    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.
  17. 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.
  18. Replies
    31
    Views
    520

    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...
  19. Replies
    10
    Views
    280

    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.
  20. Replies
    13
    Views
    296

    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.
  21. Replies
    10
    Views
    280

    How does it sound when you run from batteries?

    How does it sound when you run from batteries?
  22. Replies
    13
    Views
    296

    "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.
  23. > 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...
  24. Replies
    13
    Views
    296

    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
  25. 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.
  26. Replies
    13
    Views
    222

    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
  27. Replies
    95
    Views
    12,299

    > 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",...
  28. 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.
  29. > 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...
  30. Replies
    22
    Views
    356

    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...
  31. Replies
    22
    Views
    356

    Yes, specifically "fast, partitioned convolution".

    Yes, specifically "fast, partitioned convolution".
  32. Replies
    22
    Views
    356

    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.
  33. Replies
    18
    Views
    463

    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...
  34. Replies
    18
    Views
    463

    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");
  35. Replies
    18
    Views
    463

    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.
  36. Replies
    630
    Views
    57,473

    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();
  37. Replies
    18
    Views
    463

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

    3 years life at 600 mhz - that could be a problem.
  38. 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.
  39. Replies
    58
    Views
    1,808

    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...
  40. Replies
    22
    Views
    356

    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?
  41. Replies
    14
    Views
    247

    Consider either headphones (low bass with low...

    Consider either headphones (low bass with low power) or a subwoofer (which will need size and power).
  42. Replies
    22
    Views
    2,229

    For about $15, you can buy an external TOSLINK...

    For about $15, you can buy an external TOSLINK DAC box. Not the lowest cost option, but will probably outperform the PT8211.
  43. Replies
    97
    Views
    23,944

    Yes, it works on both 4.0 and 4.1.

    Yes, it works on both 4.0 and 4.1.
  44. Replies
    97
    Views
    23,944

    See here for a newer, better teensy 3.x version:...

    See here for a newer, better teensy 3.x version:

    https://forum.pjrc.com/threads/43165-Over-the-Air-firmware-updates-changes-for-flashing-Teensy-3-5-amp-3-6
  45. Nice work Joe.

    Nice work Joe.
  46. Replies
    16
    Views
    461

    I use the audio library with USB input and SPDIF...

    I use the audio library with USB input and SPDIF optical output. I have no noise issues.

    You haven't explained what you need to do, but stay digital as much as possible and if you have to do a...
  47. Replies
    58
    Views
    1,808

    Nice! Can you make a iMXRT1062 version too? ...

    Nice!

    Can you make a iMXRT1062 version too? :-)
  48. Replies
    11
    Views
    241

    For less noise, you should be doing a...

    For less noise, you should be doing a differential read on two analog inputs.
  49. What options are available on a teensy to do...

    What options are available on a teensy to do bounds checking? Ie, what's the easiest way to find the above error?
  50. Replies
    106
    Views
    4,112

    IMO, the memory allocation details should be...

    IMO, the memory allocation details should be abstracted away for the typical use case. Ie, a single mallocX() call where you optionally pass it a hint as to the speed desired (or other...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4