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

  1. Replies
    5
    Views
    88

    Teensy 4.1 has many pins in common with Teensy...

    Teensy 4.1 has many pins in common with Teensy 3.6, but not all are identical.

    https://www.pjrc.com/teensy/card11a_rev3_web.png

    https://www.pjrc.com/teensy/card9a_rev1.png
  2. Replies
    5
    Views
    88

    From the small amount of info given so far, I'm...

    From the small amount of info given so far, I'm afraid the odds of repair are probably not good. But that is based on some guesswork.

    Voltage regulators rarely fail. When you have less than 3.3V...
  3. Junction to ambient "thermal resistance" is not a...

    Junction to ambient "thermal resistance" is not a rigid specification. It's an empirical measurement. Often semiconductor manufacturers will give this sort of info with a footnote about the...
  4. Each line creates a device driver instance which...

    Each line creates a device driver instance which may be used when you connect a USB device.

    Also an issue is the growing complexity of the example code. We really should have simpler examples and...
  5. Replies
    49
    Views
    668

    I would be very surprised if a W25Q128JV chip is...

    I would be very surprised if a W25Q128JV chip is causing SPI bus trouble.

    But we really don't even know if SPI bus problems, like a device driving MISO, are really the issue here. It's just a...
  6. Replies
    49
    Views
    668

    Did you try the 2 resistor test on the MISO...

    Did you try the 2 resistor test on the MISO signal? (described in "Step 2: Proper MISO Tri-State Behavior" at the link MichaelMeissner shared)

    When all SPI devices have their CS pins high (not...
  7. Replies
    3
    Views
    159

    Until recently, we had the Arduino build process...

    Until recently, we had the Arduino build process automatically create a .lst file. The line which does it is still within boards.txt, just commented out.

    It was removed because objdump is...
  8. Sparkfun should soon have the version without...

    Sparkfun should soon have the version without ethernet.
  9. Info in msg #11 sure looks like all 3 cards are...

    Info in msg #11 sure looks like all 3 cards are working properly.

    I have no more guesses left as to the cause of trouble. Only suggestion I have at this point is to add more ways your program...
  10. Any chance the power supply available to Teensy...

    Any chance the power supply available to Teensy was different? Maybe different computer, or different USB port or hub, or longer or different cable?

    The combination of 600 MHz CPU, Ethernet, and...
  11. Replies
    11
    Views
    217

    Yes, Rev C audio boards work fine with Teensy 4.1...

    Yes, Rev C audio boards work fine with Teensy 4.1 if you use reasonably short wires to route the signals the correct pins. MCLK and GND are the wires where length matters. But don't overthink the...
  12. Replies
    5
    Views
    120

    In Arduino, click Tools > USB Type.

    In Arduino, click Tools > USB Type.
  13. Not seen on this list things tried is running the...

    Not seen on this list things tried is running the card diagnostic programs, specifically File > Examples > SD > CardInfo or File > Examples > SdFat > SdInfo (and showing us a screenshot or exact copy...
  14. Replies
    4
    Views
    1,101

    Since the old thread was started, SD card access...

    Since the old thread was started, SD card access has completely changed. We switched from the ancient SD library to SdFat, and SD.h is now just a thin wrapper which uses SdFat to access the card. ...
  15. Replies
    21
    Views
    614

    Just to confirm, you added the fast diode in...

    Just to confirm, you added the fast diode in parallel with the motor, right?

    I see a lot of other stuff in msg #15 but no mention of the diode. The diode is by far the most important part.
    ...
  16. I ordered this hub today. Or really, Robin did ;)

    I ordered this hub today. Or really, Robin did ;)
  17. If you find any insight about what path issues...

    If you find any insight about what path issues got arduino-cli so confused, please share.

    With the old Arduino 1.8.x software, we've seen pretty much every problem many times and we know how to...
  18. Try running "arduino-cli version"? What does it...

    Try running "arduino-cli version"? What does it show?

    When I try here with the latest, I see this:


    arduino-cli Version: nightly-20220624 Commit: 4a4b784 Date: 2022-06-24T01:38:17Z

    Here's...
  19. Yes, this was a minor issue that came up when I...

    Yes, this was a minor issue that came up when I wrote pwm.c. Seems like a lifetime ago... before the pandemic and chip shortages!

    Some timers were just 1 or 2 short of supporting full 16 bit...
  20. Two quick things to try... 1: replace...

    Two quick things to try...

    1: replace MIDIDevice with MIDIDevice_BigBuffer.

    2: edit ehci.cpp to uncomment this line:


    //USBHS_PORTSC1 |= USBHS_PORTSC_PFSC; // force 12 Mbit/sec
    ...
  21. Yes, confirmed, late July. If you need Teensy...

    Yes, confirmed, late July. If you need Teensy 4.0 before then, buy what you can from distributors who still have them in stock (if they haven't run out yet... as they almost certainly will soon).
    ...
  22. Replies
    49
    Views
    668

    Yes, it absolutely does matter. A lot of work...

    Yes, it absolutely does matter.

    A lot of work goes into each Teensyduino release to test a set of libraries which work together. Starting with Teensyduino 1.54, we abandoned the ancient SD...
  23. If you have no SPI.beginTransaction(), the SPI...

    If you have no SPI.beginTransaction(), the SPI bus could be running at any unknown speed & settings.
  24. Correct, the FlexPWM and QTimer hardware is only...

    Correct, the FlexPWM and QTimer hardware is only 16 bits.

    Best to look at the GPT timers. They are 32 bits, but there's only 2 of them and only limited access to the pins they can control. Maybe...
  25. Replies
    49
    Views
    668

    Try changing the order of the includes. If...

    Try changing the order of the includes.

    If that doesn't help, please give us a way to reproduce the problem. Even if the program seems trivial, please post a complete program so we can just copy...
  26. Sure, that's easy. Ran it here on a Teensy 3.2...

    Sure, that's easy. Ran it here on a Teensy 3.2 and LC. Indeed it seems Teensy LC isn't working.

    On Teensy 3.2, here are the waveforms my scope sees on pins 2, 14, 7, 8. The waveforms keep...
  27. Replies
    2
    Views
    285

    I think it seems really interesting, but I'm too...

    I think it seems really interesting, but I'm too overloaded with dealing with chip shortages and another PCB revision on Teensy 4.0 & 4.1 to do anything with voice recognition right now.

    I'm...
  28. Now, about the original question of the 4.7K...

    Now, about the original question of the 4.7K pullup resistor connected to 5V power. While it's not advisable and does stress the Teensy pin somewhat, the 4.7K resistor issue alone does not destroy a...
  29. Your diagram appears to have the DS18B20...

    Your diagram appears to have the DS18B20 connection very wrong. This is the correct DS18B20 pinout:

    28767

    Looks like you've connected +5V to the GND pin, GND to the DQ pin, and Teensy pin 2 to...
  30. It's a hardware limitation. Freescale (now NXP)...

    It's a hardware limitation. Freescale (now NXP) decided to connect the UARTs for Serial1 & Serial2 to the faster CPU clock (F_CPU). The other 4 ports run from the slower peripheral clock (F_BUS). ...
  31. I believe you. You don't need to prove anything....

    I believe you. You don't need to prove anything. Please instead pour that effort into giving us a reproducible test case. What's needed is a way to reproduce the problem, hopefully without time...
  32. Replies
    3
    Views
    208

    MSGEQ7 is not commonly used with Teensy 4 (or...

    MSGEQ7 is not commonly used with Teensy 4 (or Teensy 3) because these boards are plenty powerful enough to do far more sophisticated spectral analysis entirely with software. So there aren't a lot...
  33. Replies
    49
    Views
    668

    If you change your mind and want to figure out...

    If you change your mind and want to figure out why it didn't work, we could probably help much more if you show us the wiring with photos and clear diagrams.
  34. Try 0xEF0. Probably because E2END is...

    Try 0xEF0.




    Probably because E2END is meant to be the address of the last byte, not the number of bytes. So 0xEF1 would be off by 1.
  35. Did a quick search for "quit save", didn't see...

    Did a quick search for "quit save", didn't see anyone yet reporting the unnecessary save dialog.
  36. Tried this just now on Linux. Both 2.0.0-rc7 and...

    Tried this just now on Linux. Both 2.0.0-rc7 and nightly-20220618 show the boards first time I click the Tools menu. Maybe it's a Windows only bug? Or maybe it's some sort of race condition where...
  37. I've felt this way many times over the years...

    I've felt this way many times over the years regarding the problems with Windows installations mysteriously missing 1 or more files. The most recent would be Defragster's install of Teensy package...
  38. First check the USB connector and cable for...

    First check the USB connector and cable for damage or other issues.

    If you do the 15 sec restore, the flash memory gets completely wiped and a known-good program is written. If the hardware is...
  39. Looks like I can get 2 windows to talk to the...

    Looks like I can get 2 windows to talk to the same port. Seems each window has its own port selection, which is different from Arduino 1.8.x, and of course IDE 2.0 has no way to know that different...
  40. Seems to work when I try with the latest nightly...

    Seems to work when I try with the latest nightly running on Linux.

    28718
  41. What if you connect more chips on the breadboard?

    What if you connect more chips on the breadboard?
  42. Glad it’s resolved. Can’t say I know why, but I...

    Glad it’s resolved. Can’t say I know why, but I do know Windows uses a combination of info it gets from USB devices and prior info stored in the Windows Registry to enumerate USB devices and load...
  43. Can you try the crashing code on a Teensy 4.1...

    Can you try the crashing code on a Teensy 4.1 having no other hardware connected? Or on a breadboard with just 1 MAX31855 chip and no sensor?

    We can do a lot more to help when we're able to...
  44. Replies
    11
    Views
    511

    This stuff is all designed for Teensy. It...

    This stuff is all designed for Teensy. It doesn't work on STM32 chips.
  45. Replies
    11
    Views
    1,441

    Short answer is it's pretty much an arbitrary...

    Short answer is it's pretty much an arbitrary choice on my part. ;)

    Arduino's version numbers are meant to follow a convention called semantic versioning. According to the official spec, at...
  46. Yes, there are several ways. Maybe better to...

    Yes, there are several ways. Maybe better to start a new thread, rather than discussing this under "no serial port".
  47. Download Teensyduino software matching the Linux...

    Download Teensyduino software matching the Linux software distro. It doesn't matter if the ARM processor on RPi4 could run 64 bit software. It matters what software you are actually running. If...
  48. I've never tried to use the FlexNVM partition...

    I've never tried to use the FlexNVM partition feature on Teensy 3.2. But according to the documentation on page 572 in the manual, it should be possible to dedicate 16K to EEPROM and use the other...
  49. Ok, haven't ordered any MAX31855 chips, but I...

    Ok, haven't ordered any MAX31855 chips, but I will if you can confirm that's what it takes to reproduce the problem.

    FWIW, the program has kept running all day and still going, without any...
  50. Sounds like a charge-only USB cable with only 2...

    Sounds like a charge-only USB cable with only 2 wires for power, no data wires at all.
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4