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. > there does not seem to be a resolution Have...

    > there does not seem to be a resolution

    Have you tried using differential ADC input?
  2. I have no problems with reading a clock pin...

    I have no problems with reading a clock pin (polling loop, not DMA) at 15 Mhz and inputting parallel data on the rising edge. I could probably get twice that by inputting data on both edges.

    I...
  3. I encourage you to publish all the files -...

    I encourage you to publish all the files - schematic, PCM design, BOM, etc.
  4. > Are there more benefits to differential...

    > Are there more benefits to differential recording on the teensy than just increasing the input voltage range?

    Yes, differential into the teensy reduces common mode noise. But whether it is...
  5. It may not be possible in your case, but in...

    It may not be possible in your case, but in general, use differential all the way to two teensy inputs.
  6. Replies
    2
    Views
    74

    Does it occur if you get rid of all the encoder...

    Does it occur if you get rid of all the encoder hardware and software? How about with a constant analogWrite() value?
  7. Another option is retain full teensy system...

    Another option is retain full teensy system compatibility by building a small MKL02 board and temporarily connecting it to your board (using SWD).
  8. Replies
    13
    Views
    834

    > DMA seems to be loosing data if going faster...

    > DMA seems to be loosing data if going faster than 10MHz

    It later turned out that you had some wiring issues. Would you still stay that 10 Mhz is the max speed for DMA input of GPIO pin data?
  9. Replies
    5
    Views
    221

    I'm using a DC552A board with an external 10 Mhz...

    I'm using a DC552A board with an external 10 Mhz clock. The teensy firmware polls the clock signal and inputs parallel ADC data just after the rising edge. Note that this leaves no time for...
  10. Replies
    5
    Views
    221

    You need to use an external, parallel interface...

    You need to use an external, parallel interface ADC to work at these speeds.
  11. Replies
    5
    Views
    221

    I have no problem with reading parallel ADC data...

    I have no problem with reading parallel ADC data with a teensy 4 at 10 Msps. 20 Msps would probably be fine too.
  12. Replies
    11
    Views
    309

    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.
  13. Replies
    11
    Views
    309

    > 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?
  14. Replies
    20
    Views
    518

    You have a small compilable program that...

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

    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.
  16. Replies
    12
    Views
    319

    > 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...
  17. > 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...
  18. > 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.
  19. Replies
    8
    Views
    331

    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...
  20. Replies
    18
    Views
    505

    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.
  21. Replies
    14
    Views
    660

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

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

    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...
  25. Replies
    22
    Views
    1,537

    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.
  26. Replies
    22
    Views
    1,537

    What is your CPU clock speed?

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

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

    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.
  29. Replies
    13
    Views
    1,986

    Yes, that is a good approach.

    Yes, that is a good approach.
  30. Replies
    13
    Views
    1,986

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

    You can, although noise may be a concern.

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

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

    You have carefully gone through the troubleshooting described here?

    https://www.pjrc.com/store/ic_mkl02.html
  34. Replies
    888
    Views
    20,812

    > 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.
  35. Replies
    10
    Views
    368

    Consider the LT3042.

    Consider the LT3042.
  36. Replies
    888
    Views
    20,812

    So no hardware debugging capability?

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

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

    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.
  39. Replies
    75
    Views
    3,785

    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.
  40. Replies
    47
    Views
    5,220

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

    by jonr
    Replies
    205
    Views
    15,951

    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).
  42. Replies
    177
    Views
    27,018

    Always refreshing how Paul shares design and...

    Always refreshing how Paul shares design and design process info.
  43. 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.
  44. Replies
    10
    Views
    473

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

    by jonr
    Replies
    205
    Views
    15,951

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

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

    by jonr
    Replies
    205
    Views
    15,951

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

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

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

    by jonr
    Replies
    205
    Views
    15,951

    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...
  50. Replies
    31
    Views
    1,803

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

    Looks like it doesn't disable interrupts while waiting - seems like a potential source of problems.
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4