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.11 seconds; generated 18 minute(s) ago.

  1. Replies
    3
    Views
    30

    That's some pretty incredible ringing on that...

    That's some pretty incredible ringing on that waveforms, almost look like your scope's probes may be defective. Or maybe you're using ordinary wires rather than proper scope probes? Or maybe an...
  2. Replies
    10
    Views
    60

    This is often call "9 bit protocol". If you...

    This is often call "9 bit protocol". If you search you'll find it has been discussed many times before. Teensy does support it, but not by default. You will need to edit this line in the core lib....
  3. Replies
    10
    Views
    60

    Confirmed, this is correct, the parity bits are...

    Confirmed, this is correct, the parity bits are only used with actual hardware serial ports. Software emulation of those port (eg, the SoftwareSerial and AltSoftSerial libs) do not support parity,...
  4. I2S support on Teensy is part of the Teensy Audio...

    I2S support on Teensy is part of the Teensy Audio Library. If you've installed Teensyduino and you have Teensy selected in Tools > Boards, you can find all its examples in File > Examples > Audio.
    ...
  5. You should be careful what you wish for. When...

    You should be careful what you wish for. When you use the word "correct" about semantics of programming languages..... ;)

    Any chance I can talk you into posting the link to that specific Arduino...
  6. Yes, PaulN82 is correct. If you want to ask...

    Yes, PaulN82 is correct. If you want to ask Teensy to reboot, you should talk to it directly and set the baud rate to 134. That is, if it's programmed to be a serial port. If it's programmed with...
  7. Replies
    5
    Views
    659

    PJRC will sell a boot loader chip for 4.0, but...

    PJRC will sell a boot loader chip for 4.0, but probably not until at least mid-2020, maybe later.

    Teensy 4.0's bootloader as it exists today does not work with a fresh IMXRT1062 chip, so we can't...
  8. Replies
    5
    Views
    140

    There is some tolerance, about 10%. The chip can...

    There is some tolerance, about 10%. The chip can tolerate up to 3.6V. So 3.4 should be ok. But if your 3.4 has some tolerance too, make sure the worst cases still under 3.6.
  9. Yes, use larger capacitors. TI's suggestion is...

    Yes, use larger capacitors. TI's suggestion is not enough to support reliable hot plugging in this case.

    The output should be 100 to 220 uF. USB spec says 120 uF minimum. Aluminum electrolytic,...
  10. The current limit chip is meant to be used...

    The current limit chip is meant to be used together with a large (100 uF or more) capacitor. Together they serve these functions.

    1: If the USB device or cable has a failure, the current is...
  11. I don't know what's wrong, but I can try to...

    I don't know what's wrong, but I can try to quickly answer these 2 questions.



    5% is perfectly fine.




    Any connector which mates properly and reliably connects to the 2 pins needed by...
  12. Why so much aversion to memcpy()? Perhaps in...

    Why so much aversion to memcpy()?

    Perhaps in the future the blocks many align to 32 byte cache boundaries. But doing that (easily) with the existing data structure would waste quite a lot of RAM....
  13. You need to turn off Auto mode in Teensy Loader. ...

    You need to turn off Auto mode in Teensy Loader. By default Arduino turns it on, so be aware it goes back into Auto mode if you do almost anything in Arduino.

    When Auto mode is off, Teensy will...
  14. 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...
  15. 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.
  16. Replies
    4
    Views
    158

    Where did you buy this Teensy?

    Where did you buy this Teensy?
  17. Replies
    3
    Views
    162

    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.
    ...
  18. 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.
    ...
  19. Replies
    3
    Views
    204

    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...
  20. 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...
  21. 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...
  22. Replies
    4,349
    Views
    474,567

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

    Yes, I merged this commit, contributed by Luni64.

    https://github.com/PaulStoffregen/cores/commit/17d54c5c702cab10e8501d7b0b923a322fe254bb
  23. 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,...
  24. Replies
    91
    Views
    4,575

    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...
  25. 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...
  26. Replies
    91
    Views
    4,575

    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...
  27. 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...
  28. Replies
    91
    Views
    4,575

    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.
  29. 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.

    ...
  30. Replies
    2
    Views
    95

    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...
  31. 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
    ...
  32. 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...
  33. 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...
  34. 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...
  35. Replies
    6
    Views
    178

    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,...
  36. Replies
    6
    Views
    178

    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...
  37. 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);
    ...
  38. 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...
  39. 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...
  40. 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...
  41. Replies
    4
    Views
    102

    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...
  42. 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...
  43. 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.
    ...
  44. Replies
    11
    Views
    234

    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...
  45. 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...
  46. @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...
  47. Replies
    4
    Views
    192

    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...
  48. Replies
    4
    Views
    192

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