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. Just a quick followup to this old thread. ...

    Just a quick followup to this old thread. Teensyduino 1.47 has the fix for this problem. If anyone with 1.46 is still experiencing this issue, just upgrade to 1.47.
  2. You could go to Arduino's reference page...

    You could go to Arduino's reference page and read what every function does. Likewise for their libraries page, and the many libraries pages at PJRC. You could study the ~4000 pages of NXP's...
  3. Replies
    1
    Views
    49

    If you use the Wire library, 1 MHz is the fastest...

    If you use the Wire library, 1 MHz is the fastest speed it supports. Of course, you'll need strong pullup resistors and moderate to short length wires and not many chips connected for the signals to...
  4. No NAND flash chips have been tested. None of...

    No NAND flash chips have been tested. None of them existed when this library was created.

    Perhaps early next year (2020) I may work on SerialFlash again and update it for many newer chips. But...
  5. @luckowner - have you actually used Teensy 3.2...

    @luckowner - have you actually used Teensy 3.2 yet? Even if you intend to design your own PCB, you really should create a (physically large) working prototype with solderless breadboards or other...
  6. Replies
    4,157
    Views
    426,115

    Those NullPointerExceptions are probably due to...

    Those NullPointerExceptions are probably due to stuff I haven't implemented yet, most likely the Position interface.

    Interesting that the memory is still creeping upward. I think it might be...
  7. Replies
    4,157
    Views
    426,115

    Oh, yeah, disabling auto-scroll doesn't work yet....

    Oh, yeah, disabling auto-scroll doesn't work yet. Neither does text selection, so even if you could stop the scrolling you wouldn't be able to copy text. I'll get that stuff working later.

    The...
  8. Replies
    32
    Views
    2,613

    Sticky: I've been working these last several days to...

    I've been working these last several days to improve the Arduino Serial Monitor performance.

    Today I have a first test.
    ...
  9. Replies
    4,157
    Views
    426,115

    Here's my first attempt to speed up the Arduino...

    Here's my first attempt to speed up the Arduino Serial Monitor.

    Please give this a try and let me know if it improves the serial monitor performance on your machine? Please also say which OS, how...
  10. By "access the peripherals", are you asking for a...

    By "access the peripherals", are you asking for a HAL similar to STM32? Or the ability to directly use the hardware registers, writing your own code to manipulate the peripheral.

    Generally...
  11. Replies
    4,157
    Views
    426,115

    Yes, except the part about a 256K limit. All of...

    Yes, except the part about a 256K limit. All of the 512K not used for ITCM is allocated to DTCM. For a common Arduino program that takes under 64K in ITCM, that would give you 448K allocated to...
  12. Maybe some other program on your PC is opening...

    Maybe some other program on your PC is opening the serial port and also trying to read the data. Mac and Windows don't allow more than 1 program to open the same port, but Linux does. Sadly, Linux...
  13. As a first quick sanity check, try setting Tools...

    As a first quick sanity check, try setting Tools > CPU speed to run Teensy 3.2 at only 24 MHz. Even at half the clock speed, it still might be faster than Teensy LC. The M4 processor is much more...
  14. Indeed, too early to talk seriously about this. ...

    Indeed, too early to talk seriously about this.

    But I'll briefly repeat what I've said before, that we'll probably wait for a "larger" chip from NXP to use on "larger" board.

    While I can't talk...
  15. Yes, ok to install 1.47 if you already have 1.41.

    Yes, ok to install 1.47 if you already have 1.41.
  16. Yup, this is the right answer. Calling setTime()...

    Yup, this is the right answer. Calling setTime() only changes the volatile time in the Time library.

    That library was designed for cases like GPS and networking where you learn the correct time...
  17. I believe ILI9341_t3 is now using a very fast...

    I believe ILI9341_t3 is now using a very fast clock setting. Kurt has done pretty much all the recent work on that library, so I'm not as familiar with these details as I probably should be. But I...
  18. Please do not duplicate post. Duplicate copies...

    Please do not duplicate post. Duplicate copies of your question only annoy people who would otherwise want to help you. I have deleted the other 2 copies you posted elsewhere.

    And to answer your...
  19. Assuming you're setting the code security so...

    Assuming you're setting the code security so nobody can read a copy of your code, you could embed a RSA private key and digital signature code into your firmware.

    Then when your PC-based program...
  20. Replies
    4
    Views
    308

    Hardware-wise, the 2 ports are almost identical....

    Hardware-wise, the 2 ports are almost identical.

    Software-wise, the main port is supported in USB device mode only, and the 2nd port (pads on the bottom side) is supported in USB host mode only.
  21. Replies
    159
    Views
    8,074

    If you want a Teensy 4.0 from the 2nd batch,...

    If you want a Teensy 4.0 from the 2nd batch, either get your order in to PJRC very soon, or watch for Sparkfun, Adafruit & others (in Europe) to have stock later this week. There's a chance the PJRC...
  22. Replies
    10
    Views
    479

    16 bit timers aren't used for Servo on Teensy 4.0...

    16 bit timers aren't used for Servo on Teensy 4.0 (as they are on earlier Teensy and most Arduino boards). However, on your original question...



    Simple answer is there are 32 timers with 16...
  23. Replies
    20
    Views
    559

    In this case, I upgraded from the usual post-it...

    In this case, I upgraded from the usual post-it notes to a full letter-size sheet of paper with notes about each BGA pin. Even used Robin's collection of many different colored highlighter pens. ...
  24. That's relatively easy, since USBHost_t36 works...

    That's relatively easy, since USBHost_t36 works on Teensy 4.0. You just need to connect your USB keyboard to those 2 bottom side pads, and of course connect the power wires to GND and +5V.

    Most...
  25. Future USB will use some DMAMEM, but probably not...

    Future USB will use some DMAMEM, but probably not more than 32K.

    Right now I'm working on the Arduino Serial Monitor side. Really want to solve the Arduino IDE crashing before I work on making...
  26. Replies
    159
    Views
    8,074

    You can get the bare board from OSH Park. ...

    You can get the bare board from OSH Park.

    https://oshpark.com/shared_projects/eowWCxeK

    Or if you're feeling cheap, click the "Download" button for the raw gerber files and then give them to a...
  27. Also, beware the common advice to add a capacitor...

    Also, beware the common advice to add a capacitor at the analog input pin. Without a mux chip, that often helps. But with a mux, it causes havoc (unless you add a long delay for the signal to...
  28. Yup, this problem has come up before. You need a...

    Yup, this problem has come up before. You need a delay between driving the mux pins and reading the input. On slow AVR boards where digitalWrite also has a lot of extra overhead in the code, the...
  29. Replies
    32
    Views
    2,613

    Sticky: Only the original software published by...

    Only the original software published by Arduino.cc is supported. The many distro-modified copies of Arduino are never supported.

    The installer tries to tell you this.

    17244
  30. Replies
    159
    Views
    8,074

    Maybe your browser is showing you old cached...

    Maybe your browser is showing you old cached info?

    Use this link.

    https://www.pjrc.com/teensy/td_download.html

    If it shows 1.46, click refresh in your browser. Some browsers only do a full...
  31. Replies
    20
    Views
    559

    Nope, not really. This new chip has several...

    Nope, not really. This new chip has several complex features which required extra pins. That's all.
  32. Replies
    8
    Views
    259

    Yes, all the Teensy boards work with the Arduino...

    Yes, all the Teensy boards work with the Arduino software.

    Generally speaking, things work pretty much the same as other boards. That rather vague answer is the best anyone can say for this...
  33. Replies
    8
    Views
    259

    Teensy LC has a significantly lower price than...

    Teensy LC has a significantly lower price than Teensy 2.0. It also has far more features, more memory, and better performance.

    But you answer your original question:



    Here's the page with...
  34. Replies
    20
    Views
    559

    Indeed, N12 (USB_OTG1_CHD_B) is floating. That...

    Indeed, N12 (USB_OTG1_CHD_B) is floating. That open drain output pin would normally be used to integrate the USB charger detection to an external power management chip, presumably so it could know...
  35. Replies
    4,157
    Views
    426,115

    The non-Serial USB types will be supported in...

    The non-Serial USB types will be supported in future versions of the software.
  36. Replies
    20
    Views
    559

    Added minor fixes to the schematic, for the...

    Added minor fixes to the schematic, for the Program pin and 3.3V & GND (right side of the board between On/Off & VTAB). Also added 10 of the 11 test points which were overlooked earlier.
  37. Replies
    20
    Views
    559

    Reverse polarity protection

    Reverse polarity protection
  38. Replies
    20
    Views
    559

    Opps, a typo indeed. Here's the completed...

    Opps, a typo indeed.

    Here's the completed schematic.

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

    Also on the schematics page:

    https://www.pjrc.com/teensy/schematic.html
  39. Replies
    20
    Views
    559

    I'm drawing the schematic now. It's going to...

    I'm drawing the schematic now. It's going to take a while...

    But here's the GPIO part. Hopefully no big surprises?

    17242
  40. Replies
    51
    Views
    2,513

    Indeed there are now 3 separate I2S peripherals...

    Indeed there are now 3 separate I2S peripherals inside the chip, 2 of which can be accessed on Teensy 4.0 pins.

    But they are not created equal. The first one has 5 data pins, which is actually 1...
  41. Replies
    4
    Views
    308

    Still too early to talk about whatever the next...

    Still too early to talk about whatever the next Teensy model may be...

    On Teensy 4.0, there are no extra bottom side pads to access the same signals that go to the USB connector. This was done on...
  42. Grab the latest OneWire from github.

    Grab the latest OneWire from github.
  43. I didn't reply, but I did add it to the list on...

    I didn't reply, but I did add it to the list on msg #6 of that thread. ;)
  44. So many questions. I'll briefly comment on this...

    So many questions. I'll briefly comment on this one.



    We're trying to better support dynamic CPU frequency changes on Teensy 4.0.

    This wasn't really feasible on Teensy 3.x, because nearly...
  45. Replies
    159
    Views
    8,074

    Yesterday we started testing & packaging Teensy...

    Yesterday we started testing & packaging Teensy 4.0 from the 2nd production batch. Some of the backorders (from last week) shipped yesterday and many more will ship today. We'll probably get caught...
  46. Replies
    10
    Views
    242

    On Teensy 4.0, use attachInterruptVector().

    On Teensy 4.0, use attachInterruptVector().
  47. Replies
    51
    Views
    2,513

    There is the small matter of (so far) no software...

    There is the small matter of (so far) no software support for Teensy 4.0's S/PDIF peripheral in the audio library.
  48. Replies
    2
    Views
    80

    Here's the info from pwm.c. If the first 3 of...

    Here's the info from pwm.c.

    If the first 3 of 5 numbers are the same, you can expect those pins to have the same frequency.

    Internally the FlexPWM and QuadTimers have a total of 32 counters, so...
  49. Replies
    4,157
    Views
    426,115

    I ran it here too. Definitely makes the Teensy...

    I ran it here too. Definitely makes the Teensy 4.0 stop communicating so you can't upload by clicking Upload in Arduino. But pressing the button on Teensy 4.0 still works fine.

    Every Teensy, all...
  50. Replies
    11
    Views
    323

    Just to confirm (in case anyone needs to hear it...

    Just to confirm (in case anyone needs to hear it directly from me), Teensy 4.0 does not have a true analog output DAC, like Teensy 3.2, 3.5 and 3.6 do. NXP simply did not put one inside this chip.
    ...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4