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. Replies
    7
    Views
    40

    I tried just now. The SPI DigitalPotControl...

    I tried just now. The SPI DigitalPotControl example is using 2124 bytes (25%) of the 8K RAM on Teensy LC.

    Most of the code isn't included if you don't use it, but there is a known issue where the...
  2. For that, you will need to edit usb_desc.h and...

    For that, you will need to edit usb_desc.h and usb_desc.c.

    If you create a USB type without serial and without seremu, you will not be able to print to the Arduino Serial Monitor and Teensyduino...
  3. I haven't used SSD1963. RA8875 works pretty...

    I haven't used SSD1963.

    RA8875 works pretty well with Adafruit's library. It has excellent performance for its built-in fonts, and drawing shapes like rectangles. For copying bitmaps, the RA8875...
  4. Replies
    3,411
    Views
    369,128

    Teensy Loader only talks to 1 board at a time, so...

    Teensy Loader only talks to 1 board at a time, so no, not expected behavior.

    But if you're simultaneously running another program (like TyQT) which also talks to Teensy boards, then I suppose all...
  5. Replies
    11
    Views
    110

    pins_arduino.h, line 84 (for Teensy 3.2)...

    pins_arduino.h, line 84 (for Teensy 3.2)
    pins_arduino.h, line 122 (for Teensy 3.5 / 3.6)

    https://github.com/PaulStoffregen/cores/blob/master/teensy3/pins_arduino.h#L84

    All core lib source code...
  6. Looks like the attachments didn't work. Any...

    Looks like the attachments didn't work. Any chance you could repost?
  7. Replies
    11
    Views
    110

    void setup() { } void loop() { ...

    void setup() {
    }

    void loop() {
    Serial.println(analogRead(A14));
    delay(100);
    }
  8. Yes. The 2 USB ports are independent and can be...

    Yes. The 2 USB ports are independent and can be used simultaneously.




    The main port always acts as a USB device and the 2nd port (5 pin header) always acts as USB host.

    Perhaps in the...
  9. Replies
    52
    Views
    5,723

    They come in 2 types. The "push pull" type...

    They come in 2 types. The "push pull" type definitely will cause problems. The "open collector" or "open drain" type is fine, since it doesn't actively drive the pin after it's done holding the...
  10. Replies
    2
    Views
    50

    If you make a custom board which will be powered...

    If you make a custom board which will be powered by USB, keep in mind the USB spec imposes a maximum USB power decoupling capacitance (without special current limiting features) of 10 uF. If you go...
  11. Replies
    7
    Views
    2,090

    I don't know why either, though I suspect it had...

    I don't know why either, though I suspect it had nothing to do with the specific code.

    But if you want anyone to give it a try on Windows 7 to see if it happens again, you'll need to provide a...
  12. It could best be described as "stable 1.0". It...

    It could best be described as "stable 1.0". It works well, but provides only "bare bones" features, just press() and release().

    For example, if you want to implement gestures, you must write code...
  13. Will try to quickly answer... It's...

    Will try to quickly answer...



    It's LMC7660, not LMC7860. Not really needed, as the text on that old page tries to explain.




    I did not write the wikipedia page.
  14. Which Teensy model are you using?

    Which Teensy model are you using?
  15. The easiest way to check if the MKL02 chip is...

    The easiest way to check if the MKL02 chip is programmed is looking at the voltage on the Program signal (pushbutton). If the code is present, you should see 3.3V because the code turns on the...
  16. Replies
    4
    Views
    73

    Also know nothing about Chrono.h and...

    Also know nothing about Chrono.h and LightChrono.h. :(
  17. The normal Audio library can't run on Teensy LC....

    The normal Audio library can't run on Teensy LC.

    But this port of Arduino's much simpler library (which only plays a single WAV file) can.

    https://github.com/PaulStoffregen/AudioZero
  18. Replies
    52
    Views
    5,723

    When I changed the startup for Teensy 3.6, I...

    When I changed the startup for Teensy 3.6, I built a DC-DC converter board with extra slow startup. I tested on all the current 32 bit Teensy boards. Starting the RTC oscillator early on Teensy 3.5...
  19. Replies
    3,411
    Views
    369,128

    You can't get all 512K with malloc, because...

    You can't get all 512K with malloc, because malloc uses some of the memory to manage a list of allocations.

    Any static or global variables with DMAMEM also go into OCRAM, reducing the amount of...
  20. Wow, that's really amazing it can still partially...

    Wow, that's really amazing it can still partially work.




    Usually touching 5V power to the 3.3V power pin completely destroys a Teensy. You got really lucky.
  21. Replies
    3,411
    Views
    369,128

    I'm planning to work on Adafruit GFX next week. ...

    I'm planning to work on Adafruit GFX next week. Also going to revert (or mostly revert) the SD lib contribution that broke too much stuff.





    Definitely start from T4's usb.c, since the 2nd...
  22. Replies
    3,411
    Views
    369,128

    Also on my long list of stuff to eventually do is...

    Also on my long list of stuff to eventually do is a library to implement USB device on Teensy 3.6's 2nd USB port. If running both ports on T4 in device mode works, would make sense for that library...
  23. Replies
    3,411
    Views
    369,128

    Oh, now I see. Yeah, I decided not to show those...

    Oh, now I see. Yeah, I decided not to show those on the card, mainly because we don't have BCLK3 and LRCLK3.
  24. Replies
    3,411
    Views
    369,128

    Which 2 pins? Pins 32 and 33 are shown with...

    Which 2 pins?

    Pins 32 and 33 are shown with "OUT1B and MCLK2" with yellow background.




    I believe that was the (weird) order of the early 1052 boards. Looks like msg #3 hasn't been updated...
  25. Replies
    3
    Views
    85

    Yes. The FTM and TPM timers create the PWM...

    Yes. The FTM and TPM timers create the PWM signals, so only the pins shows as having PWM are connect to the channels of those timers.




    You're asking for an opinion of what "makes sense", but...
  26. Replies
    3,411
    Views
    369,128

    I've added the card image to msg #3...

    I've added the card image to msg #3.




    Yup. Also takes time to get it into the anti-static bag, and the get groups of 25 of those into the larger bags, and go through a process we use to...
  27. Replies
    3,411
    Views
    369,128

    The red boxes are a really interesting idea. But...

    The red boxes are a really interesting idea. But the card really needs to go into printing, at least for the first batch... so I'm really not looking to make much change to the formatting right now....
  28. Replies
    3,411
    Views
    369,128

    I tried a couple ways to use arrows, but with the...

    I tried a couple ways to use arrows, but with the pads arranged as they are, it seemed more confusing than helpful.




    From 24 to 32:

    NVCC_PLL
    VCC_CPU (0.9 to 1.3)
    VDD_SNVS_IN
  29. Replies
    3,411
    Views
    369,128

    Here a (hopefully) final draft for the pinout...

    Here a (hopefully) final draft for the pinout cards.

    16821

    I had intended to send this out for printing Tuesday, so now a couple days behind.

    Especially if you have a pinout spreadsheet, or...
  30. Replies
    2
    Views
    75

    With malloc you have no way to be sure where in...

    With malloc you have no way to be sure where in the address space you'll get the memory allocated.

    It does grow upward, starting right after all the allocated variables. So if you static memory...
  31. Replies
    33
    Views
    823

    Perhaps the Teensy 3.6 has been damaged in some...

    Perhaps the Teensy 3.6 has been damaged in some way where one or more of the pins (BGA balls) is just barely touching the board? At least a couple other people have reported such a problem, where a...
  32. Replies
    15
    Views
    272

    Only Teensy 3.6 has USB host capability. The...

    Only Teensy 3.6 has USB host capability. The upcoming Teensy 4.0 will also have USB host. But Teensy 3.2 does not. You need at least Teensy 3.6 to connect USB devices, like a USB memory stick.
  33. Replies
    34
    Views
    743

    Glad you got it all working in the end. Any...

    Glad you got it all working in the end.

    Any advise to share, for beginners seeking to build a similar MIDI controller who might later find this thread by search?
  34. Replies
    133
    Views
    31,165

    Hope you'll be able to share more info and maybe...

    Hope you'll be able to share more info and maybe even a demo video when it's built?
  35. As of Teensyduino 1.46, the Teensy Loader does...

    As of Teensyduino 1.46, the Teensy Loader does not actually set the RTC. However, we are working on having it do this for Teensy 4.0, and perhaps in some future version we may bring that feature to...
  36. Replies
    1
    Views
    95

    You shouldn't need to get anything special from...

    You shouldn't need to get anything special from github. In Arduino, with Teensyduino installed and Teensy selected Tools > Boards, simply click File > Examples > ILI9341_t3 > graphicstest. That's...
  37. Small wire, like #30 "wire wrap" works pretty...

    Small wire, like #30 "wire wrap" works pretty well. But you need to make sure the wires have a little extra length and be careful with handling, so you don't pull or stress the wire.

    Since almost...
  38. I'm still confused. Is Raspberry Pi "the...

    I'm still confused. Is Raspberry Pi "the computer", so we're talking about just 2 things (Teensy and Raspberry Pi) connected by a single USB cable?

    Or is "the computer" something like a regular...
  39. Replies
    33
    Views
    823

    The URLs are case sensitive. It's not working...

    The URLs are case sensitive. It's not working because you changed 2 uppercase letters to lowercase. It's "TeensyduinoInstall", not "teensyduinoinstall". Usually it's best to right-click the...
  40. Replies
    23
    Views
    480

    FreqCount is designed to be fairly easy to use. ...

    FreqCount is designed to be fairly easy to use. Sounds like you don't want to hear our advice to give it a try, that you feel you must learn the low level timers even when an easy to use library...
  41. Replies
    23
    Views
    480

    You could connect a wire from pin 3 (or whatever...

    You could connect a wire from pin 3 (or whatever pin creates the signal) to pin 13, and use the FreqCount library to count the number of actual cycles.
  42. You should probably also keep in mind this...

    You should probably also keep in mind this behavior is expected if you ever load "bad" code. We make every Teensy with a pushbutton dedicated to entering programming mode, because your code running...
  43. Yes, or well, sort of... Ultimately this...

    Yes, or well, sort of...

    Ultimately this depends on many details of how the chip is designed, and how it's fabricated, which are usually a closely guarded trade secret. But for a general...
  44. Replies
    6
    Views
    196

    Are you using the latest Teensyduino? Version...

    Are you using the latest Teensyduino? Version 1.46 has a fix for a startup issue many people experienced when using external power supplies with Teensy 3.6. Click Help > About (or Arduino > About...
  45. Did you press the pushbutton, or otherwise pulse...

    Did you press the pushbutton, or otherwise pulse the Program signal low?

    On a brand new board, no USB activity is the normal condition, until you give the bootloader chip a low pulse on the...
  46. Unless you're doing something very special to put...

    Unless you're doing something very special to put the processor into a low power mode, it's very unlikely to be power consumption from the CPU. The FFT code doesn't consume substantially more power...
  47. Replies
    3
    Views
    118

    Very likely a mistake was made somewhere. Maybe...

    Very likely a mistake was made somewhere. Maybe a physical wiring problem? Maybe on the software side? Nobody can even begin to guess when you don't show us the code and hardware (photos) you're...
  48. Replies
    5
    Views
    216

    You're right. I ran Windows Update. It...

    You're right. I ran Windows Update. It installed KB4503327. Now I'm at 557. (you can see Windows isn't the OS I use on a daily basis....)

    It's still able to detect Teensy 3.2 at COM4.

    As an...
  49. Replies
    5
    Views
    216

    I tried it just now on Windows 10 rev 1809, with...

    I tried it just now on Windows 10 rev 1809, with Teensy 3.2 as USB Serial. Looks like Windows see it perfectly fine at COM4.

    Here's a screenshot with Ardiuno's Ports menu, Windows Device Manager,...
  50. Replies
    3
    Views
    509

    Sounds good. Curious to hear how it goes,...

    Sounds good. Curious to hear how it goes, especially if you can share pictures?
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4