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
    7
    Views
    125

    > 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?
  2. Replies
    20
    Views
    356

    You have a small compilable program that...

    You have a small compilable program that demonstrates your issue?
  3. Replies
    15
    Views
    625

    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.
  4. Replies
    12
    Views
    257

    > 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...
  5. > 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...
  6. > 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.
  7. Replies
    8
    Views
    299

    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...
  8. Replies
    18
    Views
    452

    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.
  9. Replies
    14
    Views
    550

    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/
  10. 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...
  11. If you need a full featured debugger, the...

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

    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...
  13. Replies
    22
    Views
    1,473

    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.
  14. Replies
    22
    Views
    1,473

    What is your CPU clock speed?

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

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

    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.
  17. Replies
    13
    Views
    1,900

    Yes, that is a good approach.

    Yes, that is a good approach.
  18. Replies
    13
    Views
    1,900

    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.
  19. Replies
    8
    Views
    584

    You can, although noise may be a concern.

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

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

    You have carefully gone through the troubleshooting described here?

    https://www.pjrc.com/store/ic_mkl02.html
  22. Replies
    873
    Views
    17,771

    > 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.
  23. Replies
    10
    Views
    336

    Consider the LT3042.

    Consider the LT3042.
  24. Replies
    873
    Views
    17,771

    So no hardware debugging capability?

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

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

    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.
  27. Replies
    75
    Views
    3,718

    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.
  28. Replies
    47
    Views
    5,078

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

    by jonr
    Replies
    205
    Views
    15,312

    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).
  30. Replies
    177
    Views
    26,554

    Always refreshing how Paul shares design and...

    Always refreshing how Paul shares design and design process info.
  31. 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.
  32. 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")...
  33. 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.
  34. Thread: Raspberry Pi Pico

    by jonr
    Replies
    205
    Views
    15,312

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

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

    by jonr
    Replies
    205
    Views
    15,312

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

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

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

    by jonr
    Replies
    205
    Views
    15,312

    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...
  38. Replies
    31
    Views
    1,659

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

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

    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...
  40. Replies
    31
    Views
    1,659

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

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

    by jonr
    Replies
    205
    Views
    15,312

    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...
  43. Replies
    31
    Views
    1,659

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

    Unfortunately, it creates audio glitches if one...

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

    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.
  46. Replies
    31
    Views
    1,659

    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?
  47. Replies
    4
    Views
    671

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

    by jonr
    Replies
    205
    Views
    15,312

    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...
  49. Replies
    5
    Views
    545

    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?
  50. Replies
    57
    Views
    5,102

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