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

Search:

Type: Posts; User: PaulStoffregen

Page 1 of 10 1 2 3 4

Search: Search took 0.15 seconds.

  1. Replies
    35
    Views
    523

    @Subfanatic - what happens if you run the code...

    @Subfanatic - what happens if you run the code from msg #7? That code lacks the large buffer and any ADC use. It is the code I tested.

    I don't know which code Frank ran for msg #31. Maybe it...
  2. Replies
    35
    Views
    523

    Do you think there's anything worthwhile to be...

    Do you think there's anything worthwhile to be learned by trying to reproduce the problem here on a CS42448 chip?

    I do have 2 more bare CS42448 test PCBs, and plenty of parts to build them.... but...
  3. @Frank - Is there really any solid confirmation...

    @Frank - Is there really any solid confirmation all 32 boards really are responding to their own unique address? Did I miss that info on this thread?

    I could be completely wrong, but my hunch is...
  4. Please click File > Examples > Wire > Scanner. ...

    Please click File > Examples > Wire > Scanner. Upload to Teensy, then open the serial monitor to view the results.

    Feel free to copy & paste it here, or share a screenshot, if you're unsure...
  5. The MK66FX1M0VMD18 chip on Teensy 3.6 is much...

    The MK66FX1M0VMD18 chip on Teensy 3.6 is much larger, 13x13 mm. It's also out of stock and (so far) we don't have a clear time frame when more will become available. Even if we do get more soon,...
  6. Replies
    35
    Views
    523

    Do you have any extra 14 pin headers & 14 pin...

    Do you have any extra 14 pin headers & 14 pin sockets? Maybe solder them together and plug them into the main 24 pin sockets, so then you can plug the Teensy 4.1 into *ONLY* the same 28 pins as...
  7. Replies
    19
    Views
    276

    Why can you not hear the answer? The hardware...

    Why can you not hear the answer? The hardware you are using simply can not use an external signal to its timer which is higher than half its clock frequency (16 MHz). No matter how many times you...
  8. Replies
    19
    Views
    276

    The AVR chip you are using simply can not count...

    The AVR chip you are using simply can not count an external signal faster than half its clock frequency. Its clock is 16 MHz. It does not support a faster clock and still give USB communication. ...
  9. Replies
    281
    Views
    8,457

    I have a couple ideas about possible ways to...

    I have a couple ideas about possible ways to detect if the USB host is (very likely) Windows. Will explore after I've merged audio stuff, which is after bootloader stuff I'm doing now, and somewhere...
  10. Replies
    35
    Views
    523

    @Subfanatic - Going to consider this a...

    @Subfanatic - Going to consider this a non-reproducible problem and take it off my list of issues to investigate.

    I'm pretty sure it's some sort of issue with the hardware you've built. If Teensy...
  11. @Moris526 - Any progress? Did the Wire library...

    @Moris526 - Any progress? Did the Wire library Scanner example find all 32 addresses?

    If there's any resolution to this problem, please post a followup here. As far as I know, this thread is the...
  12. Before we go too much farther, I have 2 questions...

    Before we go too much farther, I have 2 questions about the feasibility of this project.

    1: For a 12x12 mm size, even if you have 2 sides each with 144 sq mm surface, how will you fit in the parts...
  13. Replies
    281
    Views
    8,457

    Agreed. Sad as throttling the transmit speed...

    Agreed. Sad as throttling the transmit speed will be, I just don't see any other way to make it work well with Windows.

    The big question is how slow? We just can't know whether the receiver is a...
  14. You probably want to check button.fallingEdge(),...

    You probably want to check button.fallingEdge(), so you only start playing the WAV file once when the button changes from not pressed to pressed.
  15. Replies
    2
    Views
    309

    Just curious if any more info was ever published...

    Just curious if any more info was ever published about this project?

    Did higher res files work?

    Is there any photo or video of how it looked on the display with Teensy?
  16. Final followup on this old thread. The MIDI...

    Final followup on this old thread. The MIDI transmit speed fix was merged and then the ITC setting was changed from 0 to 1 to prevent race conditions in some drivers.
  17. Responding to your duplicate thread...

    Responding to your duplicate thread:




    I don't know the inner working of this Adafruit product, but my understanding of that interrupt pin is any 1 of the 32 pieces can pull it low. Then when...
  18. Same project as your prior thread? ...

    Same project as your prior thread?

    https://forum.pjrc.com/threads/68395-Interrupt-on-teensy-4-0-Adafruits-Neotrellis
  19. Replies
    35
    Views
    523

    Frank, did I send you the CS42448 test board for...

    Frank, did I send you the CS42448 test board for Teensy 4.x?

    I know I built 1 and sent it to someone. I have 2 more blank OSH Park boards here, and one of the older version for Teensy 3.x which...
  20. Replies
    35
    Views
    523

    ILI9341_t3 does not use OCRAM.

    ILI9341_t3 does not use OCRAM.
  21. Replies
    35
    Views
    523

    I repeated the test with a ILI9341 display...

    I repeated the test with a ILI9341 display connected. Exact same code and setup at msg #10.

    26248

    Still can't reproduce the problem. I see no spikes or wrong waveform segments.

    I have no...
  22. The supported commands tables aren't the only...

    The supported commands tables aren't the only difference. Again, it is critically important to actually read the datasheets carefully if you intend to write the code which will access each chip.
    ...
  23. Each chip has a distinct set of commands it...

    Each chip has a distinct set of commands it supports. To really understand, I want to emphasize that you really must read the datasheets carefully.


    For example, here's the PSRAM from page 9 of...
  24. Replies
    35
    Views
    523

    I'm running the program here on a Teensy 4.1...

    I'm running the program here on a Teensy 4.1 plugged into this ADAU1966A test board. So far I have not connected a ILI9341 display, but it definitely is generating the SPI activity. The orange LED...
  25. Replies
    35
    Views
    653

    The other problem you will face once you get the...

    The other problem you will face once you get the buttons working is mechanical contact chatter.

    To reliably detect the high to low transition, use the Bounce library. Click File > Examples >...
  26. Replies
    35
    Views
    653

    Maybe rotate the buttons 90 degrees? Difficult...

    Maybe rotate the buttons 90 degrees?

    Difficult to see in the photo, but those look like the normal buttons which have 4 pins. But it is just 1 switch inside. Two pairs are permanently shorted...
  27. Replies
    35
    Views
    653

    This: 26235 Personally, it doesn't bother me...

    This:
    26235

    Personally, it doesn't bother me if you use the code tags or just copy code right into your message. Either way, I just copy it into an Arduino window and press CTRL-T to reformat...
  28. Replies
    35
    Views
    653

    Maybe those 2 pushbuttons aren't really connected...

    Maybe those 2 pushbuttons aren't really connected to GND? (and you really should use GND, not AGND).

    Some breadboards divide their power rails into 2 segments, where the power holes on the right...
  29. Replies
    35
    Views
    523

    Can you create a small program which reproduces...

    Can you create a small program which reproduces this problem without depending on analog signals from pots and other inputs?

    I would like to investigate and fix this bug (if it is indeed a bug)...
  30. Replies
    6
    Views
    206

    wow, that's amazing!

    wow, that's amazing!
  31. Replies
    35
    Views
    523

    Initial guesses.... This looks like a software...

    Initial guesses....

    This looks like a software problem, maybe a bug, maybe not enough buffers allocated with AudioMemory()

    26229


    The small spikes look like an analog problem, mostly likely...
  32. Figure 14-2 on pages 1016-1017 is the best way to...

    Figure 14-2 on pages 1016-1017 is the best way to see which peripherals can run from which clock sources.

    The original reason to run GPT & PIT from the 24 MHz clock was to keep them consistent and...
  33. The simple answer to most of these "it is...

    The simple answer to most of these "it is possible" questions is: no, not really, unless you resort to bitbanging SPI.




    First, as Defragster mentioned, the power and signals are 3.3 volts. ...
  34. Replies
    9
    Views
    1,014

    I've added a simple example. Hopefully no big...

    I've added a simple example. Hopefully no big surprises... but also hopefully useful to document the proper include / define / include sequence and LEDS.addLeds<>() syntax needed for FastLED to make...
  35. Replies
    9
    Views
    1,014

    I've brought this fix into Teensyduino's copy of...

    I've brought this fix into Teensyduino's copy of FastLED. It'll be in 1.56-beta3 and all future versions.

    Maybe OctoWS2811 should have an example of using FastLED?
  36. Oh how nice that would be indeed. Sadly, we...

    Oh how nice that would be indeed.

    Sadly, we have to just work with the way NXP wired the clock circuitry inside the chip.
  37. I'm planning to merge this (and 3 other audio...

    I'm planning to merge this (and 3 other audio library efforts) for 1.56-beta3 or 1.56-beta4 later this month, or perhaps slipping into early November depending on how filesystem stuff goes.

    I've...
  38. Also keep in mind analogWrite can only generate...

    Also keep in mind analogWrite can only generate frequencies which are an integer division of the peripheral clock. As you use it to generate higher frequencies, remember it will round to the nearest...
  39. PRECLK_CLK_SEL also changes the time base for...

    PRECLK_CLK_SEL also changes the time base for IntervalTimer. You should be able to see the lines are now printing much faster than once per second. Of course you're seeing a smaller number if you...
  40. Maybe GPT1 is running from the 24 MHz clock? ...

    Maybe GPT1 is running from the 24 MHz clock? Look for the PRECLK_CLK_SEL bit in CCM_CSCMR1, which is documented on page 1059 in the reference manual.

    Best to change that bit when none of the GPT...
  41. Yes. The pins each have a 8 channel mux which...

    Yes. The pins each have a 8 channel mux which allows 1 of 8 things to control the pin.

    While there are many ways you might do this, the simplest would be to use Serial1.begin(baud), which causes...
  42. Replies
    2
    Views
    191

    Sadly, pretty sure that's not Teensy. Looks...

    Sadly, pretty sure that's not Teensy.

    Looks like a clone of Sparkfun Pro Micro, maybe this?

    https://www.amazon.com/OSOYOO-ATmega32U4-arduino-Leonardo-ATmega328/dp/B012FOV17O?th=1
  43. No, or at least not anytime reasonably soon. ...

    No, or at least not anytime reasonably soon. Those sorts of edited videos take an incredible amount of time. I'm far behind on several important software developments, and on written docs (which...
  44. Replies
    6
    Views
    317

    Agree, using FreqMeasureMulti is by far the best...

    Agree, using FreqMeasureMulti is by far the best way, as it uses timer hardware captures a timestamp at the moment the pulse happens, regardless of interrupt latency.

    But if you do end up with a...
  45. Replies
    31
    Views
    1,696

    I don't understand. FreqCount is still included...

    I don't understand. FreqCount is still included with the installer. Its 3 examples should still be in the Examples menu.

    Not sure what timing constraint you're talking about. On each Teensy...
  46. Early in the development of Teensy 4 (like in...

    Early in the development of Teensy 4 (like in 2018, before the first beta test boards) I had wanted to make the CPU speed easy to change at runtime. That's why I went to so much trouble to write the...
  47. Replies
    22
    Views
    408

    Might be interesting to get a look at the actual...

    Might be interesting to get a look at the actual waveform this sensor creates, ideally using an oscilloscope, but even a logic analyzer which hides analog problems would be interesting.
  48. Replies
    23
    Views
    310

    Can you be more specific, so I can quickly...

    Can you be more specific, so I can quickly reproduce this problem without guesswork?

    Please try to imaging I fell behind by about 200 forum messages and have many other questions to answer. If...
  49. Errata ERR050101 applies only if an isochronous...

    Errata ERR050101 applies only if an isochronous IN endpoint is configured. Using Teensyduino, this only happens if Tools > USB Type is set to one of the options with Audio. None of USB Type choices...
  50. Replies
    23
    Views
    310

    I want to help, but I know know enough info to...

    I want to help, but I know know enough info to try recreating the problem here.

    I don't know what program you are compiling. Is it an example from one of the libraries? Or something you...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4