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.12 seconds.

  1. Replies
    19
    Views
    211

    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...
  2. Replies
    19
    Views
    211

    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. ...
  3. Replies
    280
    Views
    8,245

    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...
  4. Replies
    16
    Views
    291

    @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...
  5. @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...
  6. 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...
  7. Replies
    280
    Views
    8,245

    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...
  8. 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.
  9. Replies
    2
    Views
    285

    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?
  10. 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.
  11. 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...
  12. 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
  13. Replies
    16
    Views
    291

    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...
  14. Replies
    16
    Views
    291

    ILI9341_t3 does not use OCRAM.

    ILI9341_t3 does not use OCRAM.
  15. Replies
    16
    Views
    291

    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...
  16. 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.
    ...
  17. 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...
  18. Replies
    16
    Views
    291

    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...
  19. Replies
    33
    Views
    558

    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 >...
  20. Replies
    33
    Views
    558

    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...
  21. Replies
    33
    Views
    558

    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...
  22. Replies
    33
    Views
    558

    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...
  23. Replies
    16
    Views
    291

    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)...
  24. Replies
    6
    Views
    189

    wow, that's amazing!

    wow, that's amazing!
  25. Replies
    16
    Views
    291

    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...
  26. 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...
  27. 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. ...
  28. Replies
    9
    Views
    995

    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...
  29. Replies
    9
    Views
    995

    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?
  30. 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.
  31. 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...
  32. 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...
  33. 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...
  34. 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...
  35. 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...
  36. Replies
    2
    Views
    183

    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
  37. 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...
  38. Replies
    6
    Views
    305

    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...
  39. Replies
    30
    Views
    1,602

    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...
  40. 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...
  41. Replies
    21
    Views
    377

    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.
  42. Replies
    23
    Views
    296

    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...
  43. 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...
  44. Replies
    23
    Views
    296

    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...
  45. Replies
    33
    Views
    558

    FWIW, getting pins 4 & 5 mixed up is by far the...

    FWIW, getting pins 4 & 5 mixed up is by far the most common serial MIDI output problem (for MIDI input, optocoupler issues reign supreme...)

    Seriously, it's so easy to get these swapped. Lots of...
  46. Replies
    33
    Views
    558

    No, it's not. All you need to do is swap the...

    No, it's not.

    All you need to do is swap the wires.
  47. Sounds like you didn't go with the advice to...

    Sounds like you didn't go with the advice to first slowly whittle down the many core library files, but instead just deleted everything. Well, something you deleted was essential. You can figure...
  48. Opps, sorry, my mistake. I typed PORTC_PCR11 but...

    Opps, sorry, my mistake. I typed PORTC_PCR11 but of course it really should be PORTC_PCR5. Wrote that whole thing quickly and didn't proofread.
  49. Replies
    33
    Views
    558

    Looks like the wires may be swapped. The green...

    Looks like the wires may be swapped.

    The green wire in your photo connects to 3.3V. That should go to pin 4 (positive), but it looks like it's wired to pin 5 (negative). Likewise for the orange...
  50. There are never any guarantees or promises...

    There are never any guarantees or promises regarding overclocking.

    In my personal experience, 1.008 GHz wasn't reliable with a moderately sized heatsink. It got very hot.

    All substantial...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4