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
    11
    Views
    230

    I think a reasonable test would be to send a...

    I think a reasonable test would be to send a block of data at full speed, read back an echo and compare to check for any errors.
  2. Replies
    11
    Views
    230

    > I succeeded in raising the baud rate to 20Mbps....

    > I succeeded in raising the baud rate to 20Mbps.

    Have you found that this baud rate provides reliable data transfer?
  3. Replies
    20
    Views
    368

    You have a small compilable program that...

    You have a small compilable program that demonstrates your issue?
  4. Replies
    15
    Views
    632

    I have no problems using a 10 Msps parallel...

    I have no problems using a 10 Msps parallel output ADC on a teensy 4. Timing suggests that 20 Msps would also work fine.
  5. Replies
    12
    Views
    266

    > I'm looking to emulate a tone control You...

    > I'm looking to emulate a tone control

    You should be able to measure the impulse response of the existing tone control and then use a teensy 4 to convolve audio with this impulse response to...
  6. > my understanding of EE is very limited I...

    > my understanding of EE is very limited

    I encourage you to put the circuit into LTSpice and try a few things. You can simulate some noise and a step change in the joystick.

    A trimmed mean...
  7. > maybe be sampled at close to the full 600+Mhz ...

    > maybe be sampled at close to the full 600+Mhz

    GPIO access is a slow operation, nowhere close to one access per clock.
  8. Replies
    8
    Views
    304

    pinVal = analogRead(encPin); ...

    pinVal = analogRead(encPin);
    Serial.println(pinVal);
    delay(500);


    You should combine samples to reduce high frequency noise. Here is good code to do this:


    // take mean of samples on...
  9. Replies
    18
    Views
    463

    If your DAC is faster than you need, you can...

    If your DAC is faster than you need, you can dither it to get extra bits. Eg, 25% of the time at 1000 and 75% at 1001 yields 1000.75.
  10. Replies
    14
    Views
    563

    It's interesting how something like this is so...

    It's interesting how something like this is so vastly superior. Plus no ground loops when using toslink.

    https://www.audiosciencereview.com/forum/index.php?threads/topping-e30-dac-review.12119/
  11. To clarify, the MIMXRT1060-EVK can be used to...

    To clarify, the MIMXRT1060-EVK can be used to temporarily replace a teensy 4. I haven't tried this one, but with previous eval boards, it wasn't hard to load and run teensy code. Unlike the T4, it...
  12. If you need a full featured debugger, the...

    If you need a full featured debugger, the MIMXRT1060-EVK is probably your best option.
  13. Replies
    23
    Views
    1,122

    I got some new speakers. As always, the...

    I got some new speakers. As always, the improvement with DRC was striking. Unless you have fantastic speakers and the perfect room and placement, I'd use it.

    The process:

    Measure speaker...
  14. Replies
    22
    Views
    1,491

    Would be interesting to monitor chip temp while...

    Would be interesting to monitor chip temp while your code is running. I could easily image some area of the chip heating up with certain code.
  15. Replies
    22
    Views
    1,491

    What is your CPU clock speed?

    What is your CPU clock speed?
  16. Depending on the use case (limited writes,...

    Depending on the use case (limited writes, limited size), I second using flash - no battery needed.
  17. Replies
    4
    Views
    215

    Note that the DD4WH code is float32, it's just...

    Note that the DD4WH code is float32, it's just fed by 16 bit audio samples.
  18. Replies
    13
    Views
    1,913

    Yes, that is a good approach.

    Yes, that is a good approach.
  19. Replies
    13
    Views
    1,913

    It probably isn't clear that it's more of a...

    It probably isn't clear that it's more of a library that allows flashing teensy firmware. Unless you use the serial port, getting the data to the teensy has to be addressed with other code.
  20. Replies
    8
    Views
    601

    You can, although noise may be a concern.

    You can, although noise may be a concern.
  21. What does an oscilloscope show on 52_Reset_B?

    What does an oscilloscope show on 52_Reset_B?
  22. You have carefully gone through the...

    You have carefully gone through the troubleshooting described here?

    https://www.pjrc.com/store/ic_mkl02.html
  23. Replies
    873
    Views
    18,343

    > Doesn't look like MicroMod has any hardware...

    > Doesn't look like MicroMod has any hardware debug capability available in their pin defiitions.

    I believe pins 21 and 23. Or could put a header on the CPU module.
  24. Replies
    10
    Views
    338

    Consider the LT3042.

    Consider the LT3042.
  25. Replies
    873
    Views
    18,343

    So no hardware debugging capability?

    So no hardware debugging capability?
  26. It's a simple circuit. Put it into LTSpice and...

    It's a simple circuit. Put it into LTSpice and try it.
  27. Replies
    9
    Views
    902

    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.
  28. Replies
    75
    Views
    3,733

    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.
  29. Replies
    47
    Views
    5,098

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

    by jonr
    Replies
    205
    Views
    15,463

    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).
  31. Replies
    177
    Views
    26,634

    Always refreshing how Paul shares design and...

    Always refreshing how Paul shares design and design process info.
  32. 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.
  33. Replies
    10
    Views
    460

    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")...
  34. 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.
  35. Thread: Raspberry Pi Pico

    by jonr
    Replies
    205
    Views
    15,463

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

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

    by jonr
    Replies
    205
    Views
    15,463

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

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

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

    by jonr
    Replies
    205
    Views
    15,463

    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...
  39. Replies
    31
    Views
    1,698

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

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

    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...
  41. Replies
    31
    Views
    1,698

    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...
  42. Replies
    31
    Views
    1,698

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

    by jonr
    Replies
    205
    Views
    15,463

    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...
  44. Replies
    31
    Views
    1,698

    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?
  45. Replies
    31
    Views
    1,698

    Unfortunately, it creates audio glitches if one...

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

    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.
  47. Replies
    31
    Views
    1,698

    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?
  48. Replies
    4
    Views
    676

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

    by jonr
    Replies
    205
    Views
    15,463

    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...
  50. Replies
    5
    Views
    549

    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?
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4