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; generated 32 minute(s) ago.

  1. Please install 1.53. ...

    Please install 1.53.

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

    Bugs involving cache management were fixed in 1.53, so there's a chance 1.53 may solve all these issues you're seeing. It...
  2. Hopefully we'll have another Teensy 4.x product...

    Hopefully we'll have another Teensy 4.x product sometime next year. But we're not going to call it version 5 until an upgrade to a different processor core. Cortex M55 looks like the most likely...
  3. Looks like there might be a bug. Can you confirm...

    Looks like there might be a bug. Can you confirm which version of Teensyduino you're using? In Arduino, click Help > About to check. Or on Macintosh, click Teensyduino > About.
  4. Teensy 4.0 and 4.1 are meant to be powered by...

    Teensy 4.0 and 4.1 are meant to be powered by VUSB or VIN. The IMXRT processor has a complex power sequencing requirement which is only fully met when you power by VUSB or VIN, or when you have a...
  5. Email Robin directly for availability and a quote.

    Email Robin directly for availability and a quote.
  6. Sorry, that kit is only sold unassembled. ...

    Sorry, that kit is only sold unassembled.



    I haven't used JLCPCB's assembly service, but their web page seems to say "Surface Mount(SMT) - Single sided placement" for "Assembly Types". All the...
  7. Teensy is not always a serial device (COM port in...

    Teensy is not always a serial device (COM port in Windows). During programming, and with a brand new Teensy, HID protocol is used, not serial. Teensy only becomes a serial device when it runs your...
  8. Replies
    2
    Views
    58

    Yes, you can get 4 MHz from the PWM pins, with...

    Yes, you can get 4 MHz from the PWM pins, with code like this:



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

    void loop() {
  9. Did you select Teensy in the Tools > Ports meny...

    Did you select Teensy in the Tools > Ports meny and then open the Arduino Serial Monitor? What do you see in that window?

    The very first line in setup() for the Test program is this:



    So if...
  10. Replies
    38
    Views
    648

    This is the way traditional SPI works. But...

    This is the way traditional SPI works. But FlexSPI is very different. The whole transfer, including chip select, is done completely by hardware. You don't write code to do the individual steps. ...
  11. The hardware support is there, but so far no...

    The hardware support is there, but so far no software.

    I'm curious why so much focus on using DMA?




    That's what I've done too. And realistically, I'm going to keep doing this a while...
  12. The most common problem is charge-only USB...

    The most common problem is charge-only USB cables. They have only 2 wires for power, but no data wires inside the cable.

    I know you said you changed the cable. Indeed we've heard that over and...
  13. Replies
    38
    Views
    648

    ADDR_SDR causes FlexSPI to transmit the desired...

    ADDR_SDR causes FlexSPI to transmit the desired memory address you wish to access. It's used only for actually reading & writing the memory. You wouldn't use ADDR_SDR for LUTs which do things like...
  14. There is a bug on Linux which causes "An error...

    There is a bug on Linux which causes "An error occurred while uploading the sketch" to be mistakenly printed, but then the upload happens successfully a second or two later. Or simply trying again...
  15. I really like the DIY nature of this built with...

    I really like the DIY nature of this built with wires!

    If we were to show this on the blog (hopefully that's ok?) how would you describe the purpose of this module? You know... you people with...
  16. We're hoping EXP Tech (https://www.exp-tech.de/)...

    We're hoping EXP Tech will carry them in a couple weeks.
  17. Oh that's not good. It is normal for the...

    Oh that's not good.

    It is normal for the voltage regulator nest 3.3 and pin 23 to get warm, if your project consumes extra power from the 3.3V line. But the bootloader chip near pins 1 & 2 should...
  18. Yes. You will need to edit usb_desc.h. It's in...

    Yes. You will need to edit usb_desc.h. It's in {Arduino}/hardware/teensy/avr/cores/teensy4. See the comments in that file for details.

    Much of the other USB code assumes you have either a real...
  19. #if defined(ARDUINO_TEENSY40) #elif...

    #if defined(ARDUINO_TEENSY40)

    #elif defined(ARDUINO_TEENSY41)
  20. Replies
    3
    Views
    172

    They are supposed to be connected. It is this...

    They are supposed to be connected. It is this wire on the schematic.

    20841

    This connection allows you to easily get access to the 5V power, or to power the board by putting 5V on the VIN pin
  21. Replies
    20
    Views
    3,189

    Quick update, just to let everyone waiting know I...

    Quick update, just to let everyone waiting know I am working on this now that Teensyduino 1.53 is released. It's my top priority. I hope to have chips available for you in a couple weeks.
  22. Any chance you can share the photo or a link to...

    Any chance you can share the photo or a link to the specific ILI9341 display you're using?

    Most of them work up to 30 MHz and much faster. Would be really helpful to know which models out there...
  23. Glad you found the problem.

    Glad you found the problem.
  24. Unless you've cut the pads apart on the bottom...

    Unless you've cut the pads apart on the bottom side, the VIN pin is connected directly to the USB power. Here's the schematic.

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

    If the voltage really...
  25. I tested with Teensyduino 1.53, and using...

    I tested with Teensyduino 1.53, and using ILI9341_t3 since I don't currently have ILI9341_t3n installed.

    I can't reproduce the problem. Audio flows through. I added some printing in loop() and...
  26. Any chance there's a leftover "while (!Serial) ;...

    Any chance there's a leftover "while (!Serial) ; " somewhere in the code, which is waiting for the serial monitor?
  27. Yes, an external voltage regulator is the way, if...

    Yes, an external voltage regulator is the way, if you're using too much current on 3.3V. But if all the power is coming from USB, keep in mind the general 5V USB power limit of 500 mA if directly...
  28. It's trying to talk to a DS1307 chip, which you...

    It's trying to talk to a DS1307 chip, which you don't have. Do not use DS1307RTC.h.

    Follow the example from File > Examples > Time > TimeTeensy3.

    In particular, you need this in setup:



    ...
  29. You might also try monitoring the 3.3V power line...

    You might also try monitoring the 3.3V power line on your Teensy 4.0.

    Perhaps you have other 3.3V circuitry drawing power from your Teensy? Maybe it consumes too much power at a time which...
  30. Seems unlikely, but not completely ruling out the...

    Seems unlikely, but not completely ruling out the possibility you may have found a previously unknown bug.

    As a quick sanity check, I tried running this on a Teensy 4.0.



    void setup() {
    }
    ...
  31. Before you start deleting files, try rebooting. ...

    Before you start deleting files, try rebooting. That usually solves Windows problems where something was keeping a file locked.
  32. Those look like some pretty long wires! And that...

    Those look like some pretty long wires! And that display... which one is it? Doesn't look like Adafruit.

    For Teensy, try reducing the speed with Tools > CPU Speed. 24 MHz is the slowest where...
  33. You should close (quit) Arduino and Teensy Loader...

    You should close (quit) Arduino and Teensy Loader before running the installer. Windows will not allow writing to those files if the programs are still open and running.

    No idea why your deleted...
  34. Replies
    16
    Views
    354

    Awesome board. Have you connected to any...

    Awesome board. Have you connected to any machines yet? Any chance for a photo of it in "action"?
  35. Maybe I should make future versions of the...

    Maybe I should make future versions of the installer check whether these sorts of library conflicts exist? Automatically deleting the files probably isn't a good idea, but at least the installer...
  36. This is the problem: For reasons I can't...

    This is the problem:



    For reasons I can't know, you have copies of these libraries in your Documents\Arduino\libraries folder on that computer. Arduino is designed so anything you put in your...
  37. Replies
    3
    Views
    142

    First a standard disclaimer: this message isn't a...

    First a standard disclaimer: this message isn't a contractual guarantee or promise.

    PJRC currently has no plans to discontinue LC, 3.2, 3.5 or 3.6. They are still very widely used, especially...
  38. Replies
    75
    Views
    2,129

    Thanks for testing. My 5 inch RA8875 arrived...

    Thanks for testing. My 5 inch RA8875 arrived yesterday. Looks like it has a different pinout, so I'm going to put off testing it for a while. I'm feeling pretty good about RS8875 - certainly good...
  39. Replies
    75
    Views
    2,129

    I'm wrapping up 1.53 now. Let's wait just a day...

    I'm wrapping up 1.53 now. Let's wait just a day or two, then ask Ivan to take a look at why it's not compiling on PlatformIO.
  40. Also, as you read the FlexPWM chapter you'll see...

    Also, as you read the FlexPWM chapter you'll see info about fractional cycle stuff. Teensy 4.0 & 4.1 do *NOT* have that feature. You can ignore all that fractional cycle info. All those fractional...
  41. In the reference manual, turn to "55.4.2.2...

    In the reference manual, turn to "55.4.2.2 Register Reload Logic" on page 3047.

    20811

    Also on the next page is a similar diagram about synchronization. The point is each group of 4 "submodule"...
  42. That will not work. You'll get the same PWM...

    That will not work. You'll get the same PWM waveforms when the hardware switches back from GPIO to timers controlling those pins.




    Yes, there are ways, but I don't believe many people would...
  43. If you configure the WM8731 with...

    If you configure the WM8731 with AudioControlWM8731master, then you need to use AudioInputI2Sslave and/or AudioOutputI2Sslave to communicate with it.

    Using AudioControlWM8731master together with...
  44. One more detail to keep in mind is Teensy creates...

    One more detail to keep in mind is Teensy creates 2 HID interfaces. One is RawHID. The other is meant to emulate Serial, so you can still use Serial.print() to the Arduino Serial Monitor. In your...
  45. I can't answer for PSoC, but I can tell you...

    I can't answer for PSoC, but I can tell you Teensy's descriptors say the interface is HID. Most Linux systems have a "hidraw" driver which loads automatically for all HID interfaces which aren't...
  46. However, it seems Teensy 4.0 and 4.1 are not...

    However, it seems Teensy 4.0 and 4.1 are not working with ST7735_t3 and this Adafruit display. :(
  47. I tested using Teensy 3.2 and Adafruit's display...

    I tested using Teensy 3.2 and Adafruit's display with the ST7735_t3 library. Ran the "spitftbitmap" with a Sandisk Ultra 16GB card. I used Teensyduino 1.53-beta3 and Arduino 1.8.13. Works fine.
    ...
  48. Replies
    14
    Views
    342

    Maybe we have a bug in the code? Or maybe the...

    Maybe we have a bug in the code? Or maybe the documentation isn't quite right (about the ideal frequency perhaps)? Or maybe this is just some limitation that's not apparent.

    I will put this on...
  49. Did you run the SD library's CardInfo example? ...

    Did you run the SD library's CardInfo example? What did it print?
  50. Replies
    10
    Views
    333

    NXP has their own customer support forum. I...

    NXP has their own customer support forum. I believe it could be called "friendly", but you won't get the same sorts of candid answers there as you can here. ;)
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4