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

  1. Yes, confirmed, Serial.begin() is not needed on...

    Yes, confirmed, Serial.begin() is not needed on Teensy.

    But you do need to wait for the serial monitor if you want the first thing printed to actually show up. Otherwise your first printing is...
  2. Replies
    1
    Views
    56

    Please show the complete program I should copy...

    Please show the complete program I should copy into Arduino and run on a Teensy 4.1 to reproduce the problem. Even if the code is "trivial", even if the bug is "obvious", please reply with a...
  3. I've added this to my list of issues to...

    I've added this to my list of issues to investigate. But just to be realistic, it may be quite a long time until I do anything. Without code to reproduce this issue, I'll have to write something...
  4. When 3.3V and GND are shorted together, the...

    When 3.3V and GND are shorted together, the LP38691 voltage regulator tries to deliver as much current as possible into the short. But it has foldback current limiting and thermal overload...
  5. As Frank and Kurt said, they're independent...

    As Frank and Kurt said, they're independent hardware.




    Perhaps assigning interrupt priority levels might help? Really, that's just a blind guess, since I have not idea what you're actually...
  6. The entire flash is always erased at the...

    The entire flash is always erased at the beginning of each upload, except for the small area meant to be used for EEPROM emulation.

    Historically this full erase has been meant for people who edit...
  7. Usually such a low voltage (under 0.2) on the...

    Usually such a low voltage (under 0.2) on the 3.3V power means there's a metal short somewhere on the board. That's not good, but it's much better than measuring about 0.6 to 0.9 volts, which...
  8. Replies
    34
    Views
    1,321

    I saw the thread about volatile on the buffer...

    I saw the thread about volatile on the buffer descriptor table. Put it on my list of issues to investigate. Haven't had time to do much on that list lately... but it's definitely on the list so I...
  9. Replies
    34
    Views
    1,321

    Well, here we go again... Arduino released 1.8.15...

    Well, here we go again... Arduino released 1.8.15 yesterday.

    I've compiled Teensyduino's patches. Going to fix a few small issues and then upload 1.54-beta9 this afternoon...
  10. Replies
    5
    Views
    162

    File > Examples > Audio > HardwareTesting >...

    File > Examples > Audio > HardwareTesting > WavFilePlayerUSB
  11. Keep in mind that every datasheet is a sales...

    Keep in mind that every datasheet is a sales pitch. It's main purpose is to convince you to buy the chip. Complete & accurate technical documentation is a secondary concern. Datasheets are written...
  12. Replies
    2
    Views
    67

    Very mysterious... I can't really give you...

    Very mysterious...



    I can't really give you an answer, other than this question, where I can say this definitely isn't a known behavior. I especially can't see any reason (regarding Teensy)...
  13. Next measure VIN. Normally is should be 5 volts...

    Next measure VIN. Normally is should be 5 volts because of USB power.
  14. Replies
    34
    Views
    1,321

    Oh, yeah, I completely missed this was on the old...

    Oh, yeah, I completely missed this was on the old 8 bit boards.
  15. Replies
    34
    Views
    1,321

    Can you post a copy of that program, and a place...

    Can you post a copy of that program, and a place to get the exact ITG3200 library you are using, plus any other files not part of Teensyduino which we would need to have?

    I can't investigate and...
  16. Replies
    7
    Views
    150

    Yes, there many ways to communicate between 2...

    Yes, there many ways to communicate between 2 boards. But using 2 may not be the best solution.

    I can only guess how your code works... so here is a blind guess. Most of the display libraries...
  17. Wow, would not have suspected the cable. ...

    Wow, would not have suspected the cable. Normally we hear about bad (power only) cables with USB.
  18. Replies
    34
    Views
    1,321

    I don't have answers to all questions about...

    I don't have answers to all questions about encryption yet, because I'm still working on how we'll eventually support encrypted firmware.

    I can say 3 pretty general things.

    1: Encryption will...
  19. Replies
    2
    Views
    81

    Looks like it should work. This chip doesn't use...

    Looks like it should work. This chip doesn't use MCLK, so leave that signal unconnected.
  20. Replies
    34
    Views
    1,321

    Opps, headers are still only 7212. I forgot to...

    Opps, headers are still only 7212. I forgot to merge a 1K alignment change needed for future encryption. This beta was a bit hasty, since Arduino released 1.8.14 this morning.
  21. Earlier you said "with no performance constraints...

    Earlier you said "with no performance constraints or requirements", so you should be aware that using the program memory for file storage requires stalling your program while the flash chip is busy...
  22. 116mA average current seems about right, if...

    116mA average current seems about right, if you're powering up some other stuff besides the Teensy.

    Did a quick check here with a Teensy 4.0 on my desk. At 600 MHz is draws about 90mA. Stepping...
  23. The 8 RMII signals can remap to only 2 groups of...

    The 8 RMII signals can remap to only 2 groups of pins. The other group is native pins EMC_19 to EMC_26. Unfortunately, EMC_19, EMC_20, EMC_21 have no routing to any pins. Those BGA pins simply do...
  24. Replies
    6
    Views
    296

    At this moment, looks like Adafruit still has 50...

    At this moment, looks like Adafruit still has 50 in stock. Several of the distributors who sell Teensy 4.1 on Amazon also appear to still have some.

    That inventory won't hold up much longer. If...
  25. Replies
    6
    Views
    296

    Teensy 4.0 is in stock. Only Teensy 4.1 ran out....

    Teensy 4.0 is in stock. Only Teensy 4.1 ran out.

    A small batch of Teensy 4.1 are due soon, but they won't last long. After those, we're waiting on NXP for more chips. They were supposed to...
  26. 4 pins is fine. The 5th is for the shield which...

    4 pins is fine. The 5th is for the shield which is just connected to GND.
  27. Replies
    7
    Views
    257

    Let's discuss on that other thread.

    Let's discuss on that other thread.
  28. Most multimeters have 1 or 2 fuses. If you ever...

    Most multimeters have 1 or 2 fuses. If you ever mistakenly attempt a voltage measurement across a power supply while the meter is accidentally set to current mode, the fuse blows. That's nicer than...
  29. Replies
    7
    Views
    257

    Today, you can't really. Arduino IDE 2.0 beta is...

    Today, you can't really. Arduino IDE 2.0 beta is still missing a critical (for Teensy) feature called Pluggable Discovery.

    Details here:...
  30. I published 2 designs on OSH Park. They use...

    I published 2 designs on OSH Park. They use different Magjack parts.

    The current board uses Cetus J1B1211CCD. This is the version PJRC currently sells....
  31. Replies
    8
    Views
    707

    Neither of those chips have been tested. I can't...

    Neither of those chips have been tested. I can't say whether they work or not. Best I can do is guess.

    My guess is they are both equally likely to work. I can confirm when the bootloader takes...
  32. If your program doesn't need the full 600 MHz...

    If your program doesn't need the full 600 MHz speed, try setting Tools > CPU speed lower. Even just dropping down to 528 MHz makes a substantial reduction in current, since that's the threshold...
  33. Replies
    6
    Views
    197

    I'm still confused. You have 1 motor. You have...

    I'm still confused. You have 1 motor. You have 2 Teensy. Do you have 2 sensor or 1 sensor?

    I do not understand why the open collector summing of the 2 outputs from the 2 Teensy does not solve...
  34. Replies
    6
    Views
    197

    I don't understand. You question asked "I want...

    I don't understand. You question asked "I want to use two pressure sensors with two teensy 3.6".

    Now you're saying you only have one Teensy 3.6?
  35. Replies
    6
    Views
    197

    Assuming the motor is controlled by a simple...

    Assuming the motor is controlled by a simple on/off digital signal, probably the simplest and (maybe) most reliable way would be to use an "open collector" approach to connect both output signals. ...
  36. I believe most of the AVR chips have TTL level...

    I believe most of the AVR chips have TTL level inputs which work with 3.3V signals even when the AVR runs at 5V. So my best guess is you don't need the level shifter and this is probably a software...
  37. It really depends on how well (or poorly) the...

    It really depends on how well (or poorly) the code makes use of the cache.

    Teensy 3.6 has an 8K cache. Teensy 4.1 has a pair of 32K caches, but cache misses have a much larger impact on...
  38. RAM is being used for code. If you install...

    RAM is being used for code. If you install 1.54-beta7, the memory usage info is improved to show how the memory is being used. 1.53 uses Arduino's default memory summary which can't show more...
  39. Wow, that's an old part. I'm assuming you mean...

    Wow, that's an old part. I'm assuming you mean this, right?

    https://www.ti.com/product/DAC811

    The good news is it uses TTL level inputs, where anything over 2V is logic high and anything under...
  40. I'm afraid only Apple can solve this. It's a...

    I'm afraid only Apple can solve this. It's a kernel level problem, which is way out of my league! Teensyduino doesn't install any drivers on MacOS. Nothing runs in kernel space, or even with root...
  41. Replies
    5
    Views
    152

    void setup() { analogWriteFrequency(2,...

    void setup() {
    analogWriteFrequency(2, 5000000);
    analogWrite(2, 128);
    }

    void loop() {
    }


    24735
  42. Replies
    6
    Views
    187

    Normally if your program reads the same variable...

    Normally if your program reads the same variable more than once, you would want the compiler to perform only 1 read and keep the data in a CPU register so the next access is faster. That's exactly...
  43. Replies
    10
    Views
    349

    // PLAY START if (buttons[0]->wasPressed())...

    // PLAY START
    if (buttons[0]->wasPressed()) {
    // <---- Try adding the delay here!
    sendMMC(1, (uint8_t*)"\x02"); // Play
    }
  44. Nearly all other Arduino boards use 12 Mbit/sec...

    Nearly all other Arduino boards use 12 Mbit/sec USB speed, and most of those have a combination of slow processors and inefficient software that can't manage to use even half that speed. Teensy 4.0...
  45. Replies
    2
    Views
    137

    No, not with Teensy 4.0. This is true only for...

    No, not with Teensy 4.0.

    This is true only for Teensy 3.6 when running faster than 120 MHz. Higher clock speeds on Teensy 3.6 use a special "HSRUN" mode. Internal EEPROM writing is not possible...
  46. Glad it turned out to be just a bad hub. One...

    Glad it turned out to be just a bad hub.

    One of the hubs I have on my workbench feels like they skimped on the power supply or capacitors. It usually works but sometimes when plugging in a board...
  47. You need to turn on the clock to the SPDIF...

    You need to turn on the clock to the SPDIF peripheral before you attempt to use it.

    Here's your program with the clock config copied from the Audio library. It starts up with those 4 lines...
  48. Replies
    18
    Views
    496

    Again, I suspect you're not anticipating the load...

    Again, I suspect you're not anticipating the load (input impedance) of whatever other audio gear will receive your signal.

    This sort of simple all-passive (no additional opamps, transistors, etc)...
  49. Replies
    18
    Views
    496

    10uF is generic advice given without knowledge of...

    10uF is generic advice given without knowledge of the input impedance of whatever will receive the signal.

    10uF is also a very widely used and inexpensive capacitor.




    A simple...
  50. Replies
    13
    Views
    645

    Any chance you can try running the test on Linux...

    Any chance you can try running the test on Linux or Windows?

    When Teensy 4.0 transmits at max speed to MacOS, I've seen issues (and very high CPU usage) that don't happen on Linux and Windows. ...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4