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. Replies
    25
    Views
    1,477

    If this becomes a bigger problem, we might just...

    If this becomes a bigger problem, we might just completely remove the PM system.
  2. I would design this in 3 stages, at least for a...

    I would design this in 3 stages, at least for a first attempt. If you plan to mass produce this as a commercial product, you can always try to optimize later. Don't be shy about using more parts...
  3. When it comes to examples, the smallest &...

    When it comes to examples, the smallest & simplest code that "just works" when used together with some other specific example code is usually best. Usually just getting to something that works is...
  4. Looks like a pretty standard SPI interface. ...

    Looks like a pretty standard SPI interface.

    I'd recommend these connections.


    Honeywell Teensy 3.6
    --------- ----------

    1 SCLK 13 SCK0
    2 DRDY 2
  5. Sorry, I know almost nothing about that library. ...

    Sorry, I know almost nothing about that library. I can't help.

    Maybe your best path is to simply use Wire instead of Wire1? Yeah, I know changing the wires you've already connected may be...
  6. You can't send less than 1. The HID protocol...

    You can't send less than 1. The HID protocol uses integers, so 1 is the smallest possible change.

    If you need things smoother, you'll need to adjust settings on the host side, so that 1 causes...
  7. Replies
    9
    Views
    108

    No, it most certainly does not mean the driver is...

    No, it most certainly does not mean the driver is broken. If anything, those other HID devices show the driver is working on your system!

    The HID driver is extremely reliable. If it breaks, you...
  8. Replies
    9
    Views
    108

    Best to keep Teensy Loader visible on your screen...

    Best to keep Teensy Loader visible on your screen while testing, and turn off Auto mode.

    When you release the button, Teensy Loader is supposed to detect the board. You can only see this easily...
  9. Yup, Linux seems to run the compiler much faster...

    Yup, Linux seems to run the compiler much faster than Windows.

    Windows 7 also seems to detect new USB devices *very* slowly, especially if they're composite devices with several interfaces (like...
  10. Replies
    9
    Views
    108

    Maybe you're using Windows 7 or 8? There's a...

    Maybe you're using Windows 7 or 8?

    There's a known driver bug in all pre-10 versions of Windows, where unplugging while the port is in uses causes the driver gets messed up the *next* time you...
  11. Glad you got it figured out. Any chance you...

    Glad you got it figured out.

    Any chance you might have minimal working hidapi-based code to share? Something that works together with the "Basic" example would be perfect. Might really help...
  12. Any idea what was wrong? Any tips to share for...

    Any idea what was wrong? Any tips to share for other Windows 7 users who might hit the same issue?

    Window is often the hardest system, even though it's used by the most people, because so many...
  13. Have you done anything to cause the u8g to use...

    Have you done anything to cause the u8g to use Wire1 rather than ordinary Wire?
  14. Generally 5V power is used. The allowed range is...

    Generally 5V power is used. The allowed range is 3.6V to 6V.

    Yes, the tutorial covers SD cards. Maybe look through the PDF or watch some of the video where Alysia & I demo the whole thing in 45...
  15. Replies
    2
    Views
    37

    The device initiates it. Hosts and downstream...

    The device initiates it.

    Hosts and downstream ports on hubs have two 15K pulldown resistors, so both D+ and D- signals are held at 0 volts when no device is connected.

    USB devices (and the...
  16. If you've never used audio on Teensy before, this...

    If you've never used audio on Teensy before, this tutorial is the place to start.

    https://www.pjrc.com/store/audio_tutorial_kit.html

    Part 2-3 of the tutorial, starting on page 14 in the PDF (or...
  17. Replies
    10
    Views
    145

    Just remove the Teensy completely and use a...

    Just remove the Teensy completely and use a switch or wire to connect CS high or low.

    If the chip drives MISO when CS is high, that's a hardware issue. It has nothing to do with Teensy or any...
  18. Replies
    10
    Views
    145

    Just a sanity check... you used 10K resistors,...

    Just a sanity check... you used 10K resistors, right?

    If somehow much lower resistance was used in this test, then 1.5V would make sense, if the MISO driver was trying to drive an output, but...
  19. Replies
    10
    Views
    145

    Maybe the MISO wire is loose or not soldered or...

    Maybe the MISO wire is loose or not soldered or connected to the wrong place?
  20. I'm working with this today, using a Teensy 3.6...

    I'm working with this today, using a Teensy 3.6 connected to the MicroE-506 board, which has a mic input but the line in signals aren't connected on that board.

    I can sometimes reproduce the...
  21. Can you give this library a try? ...

    Can you give this library a try?

    https://github.com/PaulStoffregen/ST7789_t3
  22. Replies
    13
    Views
    708

    Just a quick followup here. This issue is fixed...

    Just a quick followup here. This issue is fixed in 1.46-beta10.

    https://forum.pjrc.com/threads/55471-Teensyduino-1-46-Beta-10
  23. Is this the display you're using? ...

    Is this the display you're using?

    https://www.adafruit.com/product/3787
  24. Replies
    10
    Views
    145

    Maybe try the 2-resistor MISO test, to check if...

    Maybe try the 2-resistor MISO test, to check if any of your chips lack tri-state.

    https://www.pjrc.com/better-spi-bus-design-in-3-steps/

    Scroll down to "Step 2: Proper MISO Tri-State Behavior"
  25. Replies
    7
    Views
    157

    If analogRead() meets your needs, use it. ...

    If analogRead() meets your needs, use it. Simpler is better.

    If you need more advanced features, look into the ADC library. But it comes with quite a cost of complexity. Try the simple way...
  26. Replies
    7
    Views
    157

    Yes, all the other pins (the ones which also have...

    Yes, all the other pins (the ones which also have digital I/O capability) are 5V tolerant, on Teensy 3.2 and Teensy 3.5.

    So you can indeed drive them with a signal that goes up to 5V without...
  27. To explain a bit further, since this probably...

    To explain a bit further, since this probably isn't documented anywhere, when you select anything in Tools > USB Type which does *not* include "Serial", a HID interface is used to emulate serial. ...
  28. This is on the Teensy side. Regular USB Serial...

    This is on the Teensy side. Regular USB Serial supports binary data, but the USB HID emulation of serial does not.

    For full binary data on HID, you need to use RawHID.
  29. I'm guessing because they already have an Arduino...

    I'm guessing because they already have an Arduino Due laying around. Or maybe the ~$12 price of Chinese clones is the main appeal?

    But Due definitely is old and the SAM3X chip leaves quite a lot...
  30. Replies
    33
    Views
    355

    Let's look at pin 18 (Program pin) again. If you...

    Let's look at pin 18 (Program pin) again. If you added a resistor, please remove it. Do you still see 0.18V on that pin? What happens to the voltage when you press the button?
  31. Replies
    33
    Views
    355

    Oh, I see - the wire is hidden by the silk...

    Oh, I see - the wire is hidden by the silk screen.

    Can you check with a voltmeter that pins 3 & 4 on the MKL04 really are getting 3.3V?
  32. Replies
    33
    Views
    355

    Where is the program pushbutton?

    Where is the program pushbutton?
  33. Replies
    33
    Views
    355

    Sure, show us the PCB layout and photos of the...

    Sure, show us the PCB layout and photos of the build. Can't promise anything... but if you look at the Troubleshooting section on the product page and follow those links, you'll see many times...
  34. Regarding the DAC, Teensy 3.6 does indeed have 2...

    Regarding the DAC, Teensy 3.6 does indeed have 2 built in DACs. They work better than the DACs on Arduino Due, able to give a full rail-to-rail voltage output (either 3.3V or 1.2V ref), rather than...
  35. Quite similar? Really?! Where are the QH (queue...

    Quite similar? Really?! Where are the QH (queue head) structures? How about the array of periodic schedule pointers? (which point to an inverted tree of QH structs) Or how about the circular...
  36. Replies
    33
    Views
    355

    Are you *sure* you really did buy the MKL04 chip...

    Are you *sure* you really did buy the MKL04 chip from PJRC?

    3.3V on the program is caused by the internal pullup resistor inside the MKL04 chip. If you aren't getting 3.3V, something is wrong...
  37. Replies
    8
    Views
    828

    I don't know either, but I can tell you there's a...

    I don't know either, but I can tell you there's a help button that opens another window with detailed info about why it didn't detect a supported copy of Arduino. Look for the small "?" button...
  38. These words are very confusing to me. I have no...

    These words are very confusing to me. I have no idea what you mean by "starts to reset it self".

    Maybe try telling us what you actually see happening, rather than your interpretation of what is...
  39. That's very unusual for pushbuttons to have such...

    That's very unusual for pushbuttons to have such a high on resistance. Are you sure they are reliable?

    Whether you will get a reliable signal depends on the ratio of the resistance with whatever...
  40. Replies
    33
    Views
    355

    Try measuring the voltage on the Program and...

    Try measuring the voltage on the Program and Reset pins. Both should be 3.3V normally. When you press & hold the button, both should go low.
  41. Replies
    33
    Views
    355

    Well, maybe run Linux on your PC. Ubuntu and...

    Well, maybe run Linux on your PC. Ubuntu and others have "live CD" versions where a complete system runs only from the CD and does everything only in memory, so you don't need to install on your...
  42. Replies
    33
    Views
    355

    I still do not understand what you want me to do...

    I still do not understand what you want me to do for help.

    But I can confirm this:



    The USB ID is 16C0:0478.

    You can check this by simply plugging in a Teensy 3.6 (the original board made...
  43. Replies
    33
    Views
    355

    If you have built a custom board, and the MK64...

    If you have built a custom board, and the MK64 chip is blank, then you will need to press the button (Program signal) the first time for Teensy Loader to recognize the board. When you release the...
  44. Tighter timing than ~17 ns (one cycle of F_BUS at...

    Tighter timing than ~17 ns (one cycle of F_BUS at 60 MHz) probably isn't practical. If you absolutely need 5 ns, you're probably going to need a FPGA or other special hardware.

    For timers on...
  45. Yes, this is true for all USB devices. When you...

    Yes, this is true for all USB devices. When you plug in a device, your PC (the "host" in USB lingo) notices something new has connected and sends several queries to discover what type of device it...
  46. Wow, sounds like things are going pretty badly on...

    Wow, sounds like things are going pretty badly on Raspberry Pi Zero.

    I'll admit, I've never tested on that board, only on the 3B model... the one just before they put a metal heat spreader on the...
  47. Replies
    5
    Views
    120

    Looks like the buttons are connected incorrectly....

    Looks like the buttons are connected incorrectly. DO NOT wire the buttons to 3.3V power. Connect each button only to GND and to the signal input.

    Also, if you use pin 7, remove that SD card.
  48. Replies
    7
    Views
    87

    If you suspect high voltage spikes or transients...

    If you suspect high voltage spikes or transients are coupling to signals, ferrite beads alone will give very little protection unless the duration of the spike is very short.

    Usually the way to...
  49. Replies
    7
    Views
    87

    Agreed on the watchdog, the very first thing to...

    Agreed on the watchdog, the very first thing to check is the possibility that the chip really is rebooting, but your startup code isn't able to deal with the wrong conditions that lead to the reboot....
  50. Maybe the bottom console area of the Arduino...

    Maybe the bottom console area of the Arduino window has more info about the error, like which file and the line number within that file where the error is?

    By default that bottom section is small....
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4