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

  1. The command in the Terminal only prints info. It...

    The command in the Terminal only prints info. It doesn't (or certainly should not) change or affect anything.

    Since the problem is happening sometimes but not others, there's a good chance it's...
  2. No, I don't *know* why. But since this was a...

    No, I don't *know* why.

    But since this was a known bug in an older version of the core library, my guess would be that PlatformIO may still be using that older code from before this bug was fixed.
  3. Where did you buy this Teensy?

    Where did you buy this Teensy?
  4. Replies
    3
    Views
    116

    Answered a similar question yesterday about the...

    Answered a similar question yesterday about the USB MIDI on Teensy 4.0 frame. Short version: near the end of November.
    ...
  5. Answered a similar question yesterday about the...

    Answered a similar question yesterday about the USB MIDI on Teensy 4.0 frame. Short version: near the end of November.
    ...
  6. Replies
    3
    Views
    140

    Planning to work on this and the other missing...

    Planning to work on this and the other missing USB functionality starting Nov 25. We're doing updates to the website right now, and then I'm traveling next week, so I won't be getting any serious...
  7. AudioInputAnalog is not yet supported on Teensy...

    AudioInputAnalog is not yet supported on Teensy 4.0.

    It will be at some point in the future, but with the missing USB types at a higher priority, it may be several weeks until this gets serious...
  8. Maybe you're trying to have your browser try to...

    Maybe you're trying to have your browser try to do something automatically? Hard to know since we can't see your screen and we don't know exactly what you're doing. But that's my guess, that your...
  9. Replies
    4,349
    Views
    470,046

    Yes, I merged this commit, contributed by Luni64....

    Yes, I merged this commit, contributed by Luni64.

    https://github.com/PaulStoffregen/cores/commit/17d54c5c702cab10e8501d7b0b923a322fe254bb
  10. You probably saw that on Arduino's site. On...

    You probably saw that on Arduino's site. On Teensy 3.x, micros() does support use from within interrupts. For many of Arduino's boards, micros() should not be used from interrupts.

    And yes,...
  11. Replies
    87
    Views
    3,947

    8 MByte QSPI RAM chips are made by Chinese...

    8 MByte QSPI RAM chips are made by Chinese companies. I recently bought some for testing.

    Yes, HyperRAM is faster. But I'm skeptical it's worthwhile for most uses. Also from a business point of...
  12. On Teensy 3.x and LC, the old AVR port registers...

    On Teensy 3.x and LC, the old AVR port registers are software emulated (as if Arduino Uno). That allows most very old Arduino code to run without modification.

    To get maximum speed software...
  13. Replies
    87
    Views
    3,947

    Is HyperRAM really worth so much more than QSPI...

    Is HyperRAM really worth so much more than QSPI in hobbyist-frields SOIC8 packages? Sure, it's 8 bits & DDR, where QSPI is 4 bits and only on the rising edge of the clock. Either way, you're...
  14. Teensy Loader is (mostly) built on top of the...

    Teensy Loader is (mostly) built on top of the wxWidgets GUI library. This error ultimately comes from wxSocketServer. Here's the source code. Hopefully nothing too surprising.


    void...
  15. Replies
    87
    Views
    3,947

    Does anyone make HyperRAM other than Cypress? So...

    Does anyone make HyperRAM other than Cypress? So far, all their chips I've seen are quite expensive.
  16. For a very quick test, I programmed a Teensy 3.6...

    For a very quick test, I programmed a Teensy 3.6 with an empty Arduino sketch 4 times, and then measured the reading on my BK Precision 1474 lab bench power supply for each. Here's the results.

    ...
  17. Replies
    2
    Views
    83

    Looks like Teensy 4.0 is currently using the...

    Looks like Teensy 4.0 is currently using the limit for Teensy 3.0. I've committed a fix just now.

    https://github.com/PaulStoffregen/Audio/commit/9712139aedde94989218b7dccfe3e114ce763a15

    Of...
  18. Just want to confirm this is on my high priority...

    Just want to confirm this is on my high priority list of bugs to investigate & fix.

    There's a similar report on github, like the same issue.

    https://github.com/PaulStoffregen/cores/issues/401
    ...
  19. One quick way to check if you're low on RAM is to...

    One quick way to check if you're low on RAM is to set Tools > USB Type to "No USB". That will save some RAM, but of course you get absolutely no USB communication (so you'll have to press the button...
  20. FWIW, that line in the verbose info log is...

    FWIW, that line in the verbose info log is supposed to look like this:



    07:17:50.226 (loader): Listening for remote control on port 3149


    If the "ifconfig lo0" results don't show anything...
  21. We talked on the phone. I can see the problem...

    We talked on the phone.

    I can see the problem in the verbose info log. It's this line:



    16:19:09.744 (loader): Unable to listen for remote control


    But why Teensy Loader can't listen...
  22. Replies
    6
    Views
    154

    Oh, also, check those resistors with a...

    Oh, also, check those resistors with a multimeter.

    Normally the colors for a 47 ohm 1% resistor should be yellow, violet, black, gold, brown.

    I can't quite tell what color that 4th stripe is,...
  23. Replies
    6
    Views
    154

    Those pins don't look like they're soldered...

    Those pins don't look like they're soldered properly!

    Here are the step for successful soldering.

    18126

    Step 2 and 3 are critically important, especially feeding the solder into the point...
  24. Since your code uses the same settings for 2 of...

    Since your code uses the same settings for 2 of the timers, I also tried a slight edit to configure the 2nd timer for a unique period.


    myTimer.begin(myTimerFunc, 2000);
    ...
  25. Ok, I connected 3 LEDs and my oscilloscope to a...

    Ok, I connected 3 LEDs and my oscilloscope to a Teensy 4.0, just for you.

    First of all, your code from msg #1 doesn't even compile! In some places you use "myTimer2Func" & "myTimer3Func" (number...
  26. Currently DMA on Teensy 4.0 is not really...

    Currently DMA on Teensy 4.0 is not really documented anywhere, except some comments in imxrt.h and messages scattered across this forum. Neither is DMA on Teensy 3.x or LC. Many other things are...
  27. If you don't actually need it to be a COM port,...

    If you don't actually need it to be a COM port, for use by non-Arduino software that depends on accessing something as a COM port, you could also try setting Tools > USB Type to one of the non-Serial...
  28. Using CHANGE is probably the best way. You...

    Using CHANGE is probably the best way.

    You could also connect the same signal to multiple pins and use attachInterrupt on each pin. However, if you use HIGH and your function returns while the...
  29. Quick answer, going only from my memory & without...

    Quick answer, going only from my memory & without looking into the actual code, is everything using DMA within the lib copies from the audio buffers to dedicated (usually larger) buffers specifically...
  30. Sorry, I can't look at this in depth right now. ...

    Sorry, I can't look at this in depth right now. But I can quickly point you to the 3 cache maintenance functions in imxrt.h.
    ...
  31. Replies
    11
    Views
    180

    Which operating system are you using? And which...

    Which operating system are you using? And which version?

    Teensy Loader is using the system's C library tzset() function to detect if daylight savings time applies when it tries to sync the RTC to...
  32. Confirmed, those serial flash chips have slow...

    Confirmed, those serial flash chips have slow erase times, which won't change between Teensy 3.6 & 4.0.

    Writing in chunks of 256 bytes gives the best write speed. But the time required to...
  33. @FRDM4236 - We're going to soon write a blog...

    @FRDM4236 - We're going to soon write a blog article to show your expansion board on the PJRC site, and also a similar article for Dean's board. I want to be sure we give you proper credit, but I...
  34. Replies
    4
    Views
    144

    5 MHz is much faster than you'll get a 6N139 to...

    5 MHz is much faster than you'll get a 6N139 to work. It's nowhere near that fast. You might get 1/10 of that speed, if you drive the LED at 12 mA and you use a 270 ohm pullup resistor on the...
  35. Replies
    4
    Views
    144

    How fast is "really fast"? More than ~100 kHz...

    How fast is "really fast"?

    More than ~100 kHz is tough even with the best optocouplers.
  36. For cases like this using the PORTD register... ...

    For cases like this using the PORTD register...


    PORTD = PORTD & B11100011;

    I'd recommend investing a little time to figure out which 3 pins that really drives low and replace it with code...
  37. When you do, I hope you'll tell me & everyone...

    When you do, I hope you'll tell me & everyone else how it all works. NXP's documentation leaves much to be desired in almost every chapter, but FlexIO seems particularly sparse on description of how...
  38. Which version of Teensyduino are you using. In...

    Which version of Teensyduino are you using. In Arduino, click Help > About to check.

    This problem was fixed some time ago. Maybe you simply need to install the latest version to get the fix?
  39. The normal power input path has a DMG2305UX...

    The normal power input path has a DMG2305UX mosfet transistor which is supposed to protect against reverse polarity power.

    https://www.pjrc.com/teensy/schematic.html

    However, it only protects...
  40. Replies
    7
    Views
    234

    Today all Teensy boards are assembled by SMTNW...

    Today all Teensy boards are assembled by SMTNW, located in Tualatin, Oregon, USA. They are close to us. Robin and I drive over there regularly. If you contact SMTNW for a quote, let them know PJRC...
  41. Run "arm-none-eabi-objcopy" from the command...

    Run "arm-none-eabi-objcopy" from the command line, like this:


    arm-none-eabi-objcopy -O ihex -R .eeprom filename.elf filename.hex

    The arm-none-eabi-objcopy program is inside your copy of...
  42. Replies
    2
    Views
    73

    You need more than just the Bounce library. You...

    You need more than just the Bounce library. You will also need to add some code to remember the emulated toggle switch's position.

    Something like this...



    button1.update();
    if...
  43. Try again, but not with Arduino. Completely quit...

    Try again, but not with Arduino. Completely quit Arduino, but leave the small Teensy Loader window open. Turn off the "Auto" button in its toolbar. When Auto mode is active, once you press the...
  44. Replies
    29
    Views
    453

    Yup, looks like that chip should work fine, as...

    Yup, looks like that chip should work fine, as long as you configure it to run in slave mode.

    But the datasheet says the pin pitch is 0.5 mm. That's going to be very difficult to solder. Hand...
  45. Normally Serial1 (or the other serial ports) is...

    Normally Serial1 (or the other serial ports) is the simplest way. The nice thing about serial is you only need 1 signal wire for each data direction, plus GND.

    If your data is fairly simple, just...
  46. We can't see what you drew in the Design Tool...

    We can't see what you drew in the Design Tool, and in this screenshot we can only see the first few lines of text you copied from the Design Tools into Arduino.

    You can find a correct copy of the...
  47. Replies
    2
    Views
    105

    Yes, this can be done. The trick is to...

    Yes, this can be done.

    The trick is to configure the pin change for DMA rather than an interrupt, but then don't set up a DMA transfer. When the pin changes, it will set the PORT_PCR_ISF bit in...
  48. Can you create a very simple program (not...

    Can you create a very simple program (not requiring any other hardware than a Teensy and USB cable) which demonstrates the problem with Pocket MIDI. Maybe just transmit a note on & off or CC message...
  49. How it actually plays out depends upon how you...

    How it actually plays out depends upon how you write the software.

    1: Wait for the I/O operation to complete, and block interrupts while waiting
    2: Wait for the I/O operation to complete,...
  50. The bootloader is stored in the MKL02 chip, so a...

    The bootloader is stored in the MKL02 chip, so a full erase of the MK66 chip does not erase the bootloader. The full erase only wipes your sketch/program and any data you've stored in the eeprom...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4