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.

  1. Would you believe I've been considering doing...

    Would you believe I've been considering doing this for some time. The main challenge is making a small enough LED blink program with enough USB functionality to respond to Arduino's auto-reboot...
  2. For the sake of getting things working, I highly...

    For the sake of getting things working, I highly recommend you do it in a much simpler way without the pointers.

    Something like this...



    void AudioEffectNeuron::update(void)
    {
    ...
  3. Replies
    5
    Views
    75

    The (likely) reason it works perfectly with...

    The (likely) reason it works perfectly with Arduino Uno is because Arduino does use serial for uploading, and Arduino Uno has a dedicated USB-serial chip. As a result, your PC sees the same device...
  4. Replies
    5
    Views
    75

    My guess is a wrong Unix/Linux line discipline...

    My guess is a wrong Unix/Linux line discipline setting. The Linux kernel basically messes with incoming & outgoing data in ways that certain terminals need, which is great if you're using those...
  5. Replies
    27
    Views
    586

    I guess lower CPU use was a long shot. Pretty...

    I guess lower CPU use was a long shot. Pretty sure Apple hasn't changed much about that part of the OS in quite a long time.

    If you leave it running, does the serial monitor ever stop or freeze...
  6. The audio samples are 16 bits, but this code is...

    The audio samples are 16 bits, but this code is reading pairs of them into 32 bit variables. Because the CPU is 32 bit and the memory is 32 bits wide, this reads 2 samples at once for a 2X speedup. ...
  7. Replies
    4,285
    Views
    443,819

    @neurofun - Could I talk you into giving...

    @neurofun - Could I talk you into giving 1.48-beta1 a try on your Macs?

    https://forum.pjrc.com/threads/57609-Teensyduino-1-48-Beta-1

    I made some changes inside teensy_ports which might make it...
  8. Replies
    27
    Views
    586

    @Theremingenieur - Do you have a Teensy 4.0...

    @Theremingenieur - Do you have a Teensy 4.0 handy? Any chance you could run the USB print speed test and let me know how 10.15 does?

    On 10.14 Mojave it still uses a lot more CPU than Windows or...
  9. Replies
    8
    Views
    157

    Arduino published version 1.8.10, which shows a...

    Arduino published version 1.8.10, which shows a fix for MacOS 10.15 in the release notes.

    I've published Teensyduino 1.48-beta1 to support it.
    ...
  10. Replies
    1
    Views
    119

    Arduino 1.8.10

    Arduino released 1.8.10 this morning. Normally I notice within an hour or two and try to get a Teensyduino beta published within 24 hours.

    This time, I'm noticing 12 hours late, on a Friday...
  11. Replies
    6
    Views
    239

    i2c_t3 doesn't work on Teensy 4.0. You need to...

    i2c_t3 doesn't work on Teensy 4.0. You need to use the regular Wire library.
  12. We use a professional contract manufacturer for...

    We use a professional contract manufacturer for the board assembly. They have the usual pick and place machine and reflow oven used for surface mount soldering. They also have a solder paste...
  13. Which Teensy are you using? CAN bus really...

    Which Teensy are you using?

    CAN bus really sounds like the correct solution.

    If you're willing to use a not-so-correct solution, why reject the idea of random delays?

    The only sure way to...
  14. Just want to let you know I have this thread on...

    Just want to let you know I have this thread on my list of issues to investigate. At the rate things are going, there's no chance I will manage to seriously look at this until at least October. But...
  15. Replies
    23
    Views
    174

    In setup, add pinMode(), like this: void...

    In setup, add pinMode(), like this:



    void setup() {
    pinMode(13, OUTPUT);
    // Configure the pins for input mode with pullup resistors.

    In loop, add digitalWrite(), like this:
  16. If you're connecting a SD card to the SPI pins...

    If you're connecting a SD card to the SPI pins (11, 12, 13), then you can use any other digital pin for CS.

    If you're using the SD socket that's built into Teensy 3.6, use...
  17. Replies
    8
    Views
    157

    But I will briefly mention, all Mac code in...

    But I will briefly mention, all Mac code in Teensyduino is fully 64 bit. Unlike Arduino, we made the switch shortly before 10.14 to completely purge 32 bit stuff. I feel pretty confident we're in...
  18. Replies
    8
    Views
    157

    First, please let me give you some unpleasant but...

    First, please let me give you some unpleasant but realistic news. Supporting Apple's betas is a low priority. With the recent release of Teensy 4.0, you can read "low priority" to mean pretty much...
  19. I'm pretty sure Teensy's USB MIDI implementation...

    I'm pretty sure Teensy's USB MIDI implementation is class compliant. I wrote the code using the USBIF's "USB Device Class Definition for MIDI Devices" document, version 1.0 from Nov 1, 1999, and...
  20. Replies
    17
    Views
    674

    Like every other Teensy, we will add Teensy 4.0...

    Like every other Teensy, we will add Teensy 4.0 with pins soldered. But it's going to be a few more weeks. Look for them in October.
  21. Replies
    17
    Views
    674

    PCBs were delayed. It's going into production...

    PCBs were delayed. It's going into production Tuesday. So we're likely to start shipping on the 23rd.

    I already made a new test fixture which works with the prototype, and we ordered labels "For...
  22. Replies
    17
    Views
    674

    I have not personally tested PT8211 with Teensy...

    I have not personally tested PT8211 with Teensy 4.0. But I can tell you the 3 signals it needs are on different pins than they were with Teensy 3.x. You'll need to use wires or some other way to...
  23. Replies
    21
    Views
    1,004

    Yes, you're right. Thanks for noticing! I've...

    Yes, you're right. Thanks for noticing! I've updated the schematic.

    Also fixed the pins for the USB1 signals, which were off by 1 row.
  24. Replies
    4,285
    Views
    443,819

    Are you seeing "GUI update interrupted" print...

    Are you seeing "GUI update interrupted" print multiple times when the resize problem happens?

    Resizing or moving the window shouldn't cause Java to interrupt the thread. Normally the listener...
  25. Yup, just write to AIRCR. That's a register from...

    Yup, just write to AIRCR. That's a register from the ARM core, so it's usually not documented in the chip's reference manual.
  26. Replies
    4,285
    Views
    443,819

    I was able to reproduce this bug. Committed a...

    I was able to reproduce this bug. Committed a fix on github.

    https://github.com/PaulStoffregen/Arduino-1.8.9-Teensyduino/commit/e203e8cfa87377d1d5839da852bc3a6ab62d880c

    I also made some...
  27. Replies
    17
    Views
    674

    The OSH Park version is identical, other than the...

    The OSH Park version is identical, other than the color.
  28. Yes, except for the DAC. Teensy 3.6 has its DAC...

    Yes, except for the DAC. Teensy 3.6 has its DAC output in a different location than Teensy LC and 3.2. If you want to use the audio amp part, you'll need a short wire to route the DAC signal.
    ...
  29. Replies
    4
    Views
    75

    You'd need to read the earlier value from the...

    You'd need to read the earlier value from the _VectorsRam array before writing your own. Then you could later write it back.

    But whether that would actually work also depends on whether you leave...
  30. Replies
    18
    Views
    657

    I keep hoping NXP will incorporate bluetooth (or...

    I keep hoping NXP will incorporate bluetooth (or wifi, but BT seems really compelling) into these chips. But so far, nada. Who knows, maybe they will someday?
  31. Replies
    21
    Views
    205

    That's from the core library, specifically this...

    That's from the core library, specifically this file.

    https://github.com/PaulStoffregen/cores/blob/master/teensy3/util/crc16.h

    Can't say why PlatformIO isn't finding it. Maybe try using...
  32. Replies
    11
    Views
    315

    Yes, much of that design is to withstand daily...

    Yes, much of that design is to withstand daily use & handling. The red & green LEDs are meant to make it simple to use. It also gives the operator the freedom to position the LEDs where they want...
  33. Replies
    11
    Views
    315

    Yes, I did. There's not much documentation or...

    Yes, I did. There's not much documentation or explanation of how it works. But here's the complete source code, and also a photo of the hardware. :)

    https://github.com/PaulStoffregen/USB_Tester...
  34. Replies
    3
    Views
    66

    The number you use in Serial.begin(baud) is...

    The number you use in Serial.begin(baud) is completely ignored.

    The baud rate setting on the PC side is also not used for the USB communication speed. But it is communicated to Teensy, so your...
  35. Maybe try a Teensy for the next project? So much...

    Maybe try a Teensy for the next project? So much more capability than Mega!
  36. Look for the file known_16bit_timers.h. Maybe...

    Look for the file known_16bit_timers.h. Maybe you can make TimerThree not conflict by editing those defines.

    I also put a similar config file in AltSoftSerial. But most of the other timers on...
  37. You probably need Teensy 4.0. TDM protocol is...

    You probably need Teensy 4.0.

    TDM protocol is the only want to get 16 channels on a single data pin. Teensy 3.6 has 2 data input pins and 2 data output pins, so I just don't see any way for you...
  38. Replies
    22
    Views
    509

    Any chance you could trim this code down to a...

    Any chance you could trim this code down to a smaller program which does not require the U8g2lib.h library (not one of the libs provided by Teensyduino) and a display?

    Is it possible to reproduce...
  39. Yes. Or probably yes, given that we can't see...

    Yes. Or probably yes, given that we can't see your wiring or your code, but this is a common problem when pushbuttons are used in the ordinary way.



    Connect the pushbutton between 3.3V and pin...
  40. Replies
    22
    Views
    509

    I would like to investigate this problem. Can...

    I would like to investigate this problem.

    Can you give me a complete program, using only the libraries Teensyduino installs (SD, not SdFat), which reliably reproduces the issue?

    If you've...
  41. Replies
    44
    Views
    1,008

    Only on the inconvenient bottom-side pins 30/31.

    Only on the inconvenient bottom-side pins 30/31.
  42. Replies
    4,285
    Views
    443,819

    Opps, looks like someone from NXP might have...

    Opps, looks like someone from NXP might have accidentally revealed info about future chips.

    It wasn't me!
  43. Replies
    4,285
    Views
    443,819

    I've updated the web page.

    I've updated the web page.
  44. Replies
    13
    Views
    540

    Wow, you really read through the code and...

    Wow, you really read through the code and understood it very well. :)

    But on this part...



    The top 4096 bytes are read-only. As we test each Teensy 4.0, test fixture writes the recovery...
  45. Replies
    5
    Views
    111

    The older WIZ820io needed a reset pulse. It...

    The older WIZ820io needed a reset pulse. It would not work at all without the reset pulse and would even interfere with other SPI chips. That older W5200 chip could be used without the shield, but...
  46. Replies
    5
    Views
    130

    The javascript code for the design tool has not...

    The javascript code for the design tool has not changed.

    Maybe try a different broswer?
  47. Yes, the WS2812Serial library does this, all DMA...

    Yes, the WS2812Serial library does this, all DMA for no CPU usage while transmitting to the LEDs. But you can't just choose any pin. Only the serial TX pins can be used.

    In Arduino, click File >...
  48. Nope, that would be a wrong assumption. Only 2...

    Nope, that would be a wrong assumption.

    Only 2 are available. The published specs are correct. If 3 could be used somehow, we'd certainly want to publish that in the Teensy 4.0 specs.

    Many...
  49. Here's a few random bits of info which might...

    Here's a few random bits of info which might help...

    All Teensy 4.0 are fuse configured for JTAG signals, TCK,TMS,TDI,TDO, so plan on those 4 pins. SWD protocol using only 2 wires isn't...
  50. You need the Processing software to run it. ...

    You need the Processing software to run it.

    https://processing.org/download/

    Processing is pretty much like the Arduino software, but it creates graphics programs which run on your computer. ...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4