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.12 seconds.

  1. Replies
    2
    Views
    17

    Yes, it obviously must be possible because...

    Yes, it obviously must be possible because LittleFS does it on Teensy.

    The details of how can be found in the LittleFS library source code.
  2. Replies
    1
    Views
    84

    Yes. For a quick intro, check out the audio...

    Yes.

    For a quick intro, check out the audio tutorial.

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

    Turn to page 24 for the part about using FFT. Maybe first read pages 8-11 for...
  3. The Documents/Arduino folder is where the...

    The Documents/Arduino folder is where the programs you write get saved.

    This installer wants you to tell it the location of the Arduino software you downloaded (from Arduino's website). Normally...
  4. It's very difficult to predict. 5V tolerant...

    It's very difficult to predict. 5V tolerant chips like MK20 on Teensy 3.2 have more complex ESD protection than just simple diodes. NXP and other companies almost never share the design of those...
  5. Replies
    8
    Views
    673

    I've added a link to your github project page.

    I've added a link to your github project page.
  6. Replies
    2
    Views
    155

    Many questions. Here's quick answers and some...

    Many questions. Here's quick answers and some comments about phototransistors in general...

    On Teensy, you use the Tools > USB Type menu in Arduino rather than "Mouse.h". It is detected by...
  7. You really should write some small test programs...

    You really should write some small test programs using the ARM cycle counter to measure the actual speed. When you test, use "volatile" on the variables or pointers your code uses, so the compiler...
  8. Replies
    11
    Views
    825

    The last portion of the recently completed batch...

    The last portion of the recently completed batch of Teensy 4.1 is still en-route to Sparkfun and Adafruit. Both sites are allowing backorders. Placing a backorder with them is by far your best...
  9. LC, yes. 3.2, no.

    LC, yes.

    3.2, no.
  10. I should also mention, a few other pins configure...

    I should also mention, a few other pins configure the chip (in the absence of MDIO usage) depending on their voltage at startup. But I believe they all have built in pullups for the settings we will...
  11. Here's a few possible issues I see... VDDCR...

    Here's a few possible issues I see...

    VDDCR must not connect to 3.3V. This is the output of a 1.2V LDO regulator which powers internal circuitry. Add capacitors to this pin, but do not connect...
  12. Replies
    12
    Views
    214

    Even though the example bytecount isn't assigned...

    Even though the example bytecount isn't assigned from readBytes(), I've updated the web page to show unsigned int type rather than unsigned char.

    I'm curious, was this question also asked on NXP's...
  13. Replies
    12
    Views
    214

    When you try larger reads, is "bytecount" still...

    When you try larger reads, is "bytecount" still only an 8 bit number? Storing the result into only 8 bits would explain why you get 0 when you should get 512.

    If this doesn't help, maybe you...
  14. Use Teensy Loader's auto mode. Once the HEX file...

    Use Teensy Loader's auto mode. Once the HEX file is loaded and auto mode is on (which is the default if Arduino caused the hex file to load automatically), then you just plug each Teensy into the...
  15. Replies
    12
    Views
    214

    It's already on your computer because of the...

    It's already on your computer because of the installer, and also on github.

    https://github.com/PaulStoffregen/cores/blob/7d2e0cd09ba91aa5c7fa0b275c0b546974be11ea/teensy4/usb_serial.c#L183

    Look...
  16. Here's my initial thoughts on the LAN8720A...

    Here's my initial thoughts on the LAN8720A wiring. This mostly duplicates msg #3, but the MDIO pins are moved because conflicting with the primary SPI port is a huge cost for a feature we're...
  17. Replies
    12
    Views
    214

    Many complex factors impact the overall speed. ...

    Many complex factors impact the overall speed.

    A couple years ago, quite a lot of work did go into speeding up the Teensy-to-PC code. Less optimization work has (so far) been done on the...
  18. Install 1.57-beta1 ...

    Install 1.57-beta1

    https://forum.pjrc.com/threads/70196-Teensyduino-1-57-Beta-1
  19. Easiest way is to use I2S2 for the mic. ...

    Easiest way is to use I2S2 for the mic.

    https://www.pjrc.com/teensy/gui/?info=AudioInputI2S2

    Then just connect its 3 wires to pins 4, 5, 3 which aren't used at all by the audio shield.
  20. The audio shield needs pins 20 and 21 for audio...

    The audio shield needs pins 20 and 21 for audio clocks.

    https://www.pjrc.com/store/teensy3_audio.html
  21. Yeah, been thinking about this recently.... we...

    Yeah, been thinking about this recently.... we really do need better notification of filesystem / device connect & removal. It really wants to be integrated at the FS class level so the API is...
  22. I believe what you want is a MIDI splitter...

    I believe what you want is a MIDI splitter, so you can send the MIDI output from your keyboard to both Teensy and something else which receives MIDI. Right?

    Many MIDI devices have this built in,...
  23. Theoretically, with powered USB hubs, up to 127...

    Theoretically, with powered USB hubs, up to 127 other Teensy boards could connect to the USB host port on a Teensy 4.1.

    But if your goal is to just send MIDI events to a PC (implied but unclear...
  24. Replies
    1
    Views
    92

    Yes, attachInterupt HIGH works on all Teensy...

    Yes, attachInterupt HIGH works on all Teensy models.
  25. Looks like Microchip has LAN8720A in stock! ...

    Looks like Microchip has LAN8720A in stock! Ordered 25 just now.

    https://www.microchip.com/en-us/product/LAN8720A#buy-from-store

    If anyone's considering building ethernet prototype PCBs, now's...
  26. Maybe look at your power supply startup and...

    Maybe look at your power supply startup and stability?

    Many years ago, in the days of Teensy 3.0 & 3.1, there was a big project using an Arduino Mega and 3 Teensy boards which suffered from power...
  27. I found 7 leftover LAN8720A chips from the Teensy...

    I found 7 leftover LAN8720A chips from the Teensy 3.6 prototype days. Looks like the default config takes 50 MHz clock input, so if I remove the 25 MHz crystal and pulldown resistor configuring it...
  28. I ran some quick experiments to see how long each...

    I ran some quick experiments to see how long each operating system waits. Even though the USB spec might give a requirement, the practical reality is most USB devices probably only get tested with...
  29. Replies
    13
    Views
    452

    Could I talk you into trying with 1.57-beta1? ...

    Could I talk you into trying with 1.57-beta1?

    https://forum.pjrc.com/threads/70196-Teensyduino-1-57-Beta-1

    If that doesn't solve the problem (odds are it will be exactly the same) then I'm...
  30. Your first step should probably be with the...

    Your first step should probably be with the Scanner example. In Arduino, with Teensy selected from Tools > Boards (so the software updates its menus for Teensy) click File > Examples > Wire >...
  31. Maybe. I'm still investigating, so it's too...

    Maybe. I'm still investigating, so it's too early to really have a well informed opinion.

    But initial testing shows 2ms delay alone is not nearly long enough, so my gut feeling is that delay...
  32. Just to document this process, here's the test I...

    Just to document this process, here's the test I have set up on my workbench.

    28374

    A little transistor circuit is connected to Teensy 4.1 pin 32 to control power to the Raspberry Pi Pico. ...
  33. I believe Bill's driver for SDIO (and also...

    I believe Bill's driver for SDIO (and also dedicated SPI) is leaving the card in the middle of a multi-sector write.

    But the USB code is probably doing single sector writes. The actual access...
  34. I'll take a quick look if you give direct links...

    I'll take a quick look if you give direct links to the Adafruit product and its Arduino library.
  35. The pinout reference card that comes with Teensy...

    The pinout reference card that comes with Teensy 4.1 tries to give a quick overview of the pins & their capabilities. If you don't have the physical printed card yet, you can see it here:
    ...
  36. Replies
    11
    Views
    825

    So far the lockable model is only available...

    So far the lockable model is only available direct from PJRC.

    We have a small number left here, even though the website status is showing out of stock. It's not many, under 50, maybe not even 40....
  37. Oh, looks like I spoke too soon. I can reproduce...

    Oh, looks like I spoke too soon. I can reproduce the problem! Does not happen immediately, but does if I unplug and reconnect the Pico.

    28372
  38. Tried again with these instructions, but still...

    Tried again with these instructions, but still could not reproduce the problem!

    Here's what was on the CIRCUITPY drive right before unmount and plug from my PC.



    paul@preston:/tmp > find...
  39. Use it like this. extern "C" void...

    Use it like this.



    extern "C" void startup_middle_hook(void);

    void startup_middle_hook() {
    pinMode(13, OUTPUT);
    digitalWrite(13, HIGH);
    }
  40. Ok, I realized I probably missed the Boot.py...

    Ok, I realized I probably missed the Boot.py step. So....

    9: Remove Pico from Teensy 4.1 - Beagle 480 - Hub and plug back into my PC. CIRCUITPY drive appears again.

    10: Copy the code from msg...
  41. Ok, trying this again. 1: Held the button on...

    Ok, trying this again.

    1: Held the button on Pico while plugging into my PC. Drive appears as "RPI-PR2".

    2: Copy flash_nuke.uf2 to RPI-PR2 root directory. RPI-PR2 disconnects immediately,...
  42. Can you give me direct links to *all* of the...

    Can you give me direct links to *all* of the *exact* files I should load onto a Pico?

    Remember, I don't use Python much and I've never really used RP2040. Please do not assume I know what you...
  43. Replies
    7
    Views
    214

    PSRAM chips don't consume a lot of power. The...

    PSRAM chips don't consume a lot of power. The 3.3V regulator can easily power them up.


    Of the many things written here, this one seems extremely strange to me:



    Can you double check this?...
  44. Well, I can't seem to reproduce the problem. ...

    Well, I can't seem to reproduce the problem. Even plugged into a hub, enumeration completes successfully.

    28361

    I ran the USBHost_t36 "Serial" example. Beagle 480 was connected between Teensy...
  45. Ah, I see now that "initialization failed!" is...

    Ah, I see now that "initialization failed!" is supposed to happen due to Boot.py "storage.disable_usb_drive()".

    Looks like both are completing enumeration when directly connected. Looking for...
  46. I just copied those 2 lines from msg #1 into an...

    I just copied those 2 lines from msg #1 into an otherwise empty Arduino template program.



    void setup() {
    analogWriteFrequency(14, 2000000);
    analogWrite(14, 128);
    }

    void loop() {
  47. I'm running it on a Teensy 4.0 right now. Here's...

    I'm running it on a Teensy 4.0 right now. Here's what my scope sees on pin 14.

    28360
  48. Ok, I've got it set up on my workbench. I copied...

    Ok, I've got it set up on my workbench. I copied adafruit-circuitpython-raspberry_pi_pico-en_US-7.2.5.uf2 onto 2 Pico boards. Then copied adafruit_is31fl3731 and pmk to the CIRCUITPY lib folder,...
  49. Yes. See "Hardware" on the right side panels for...

    Yes. See "Hardware" on the right side panels for the details.

    https://www.pjrc.com/teensy/gui/?info=AudioOutputPT8211

    https://www.pjrc.com/teensy/gui/?info=AudioOutputPT8211_2
  50. For a quick attempt to answer the original...

    For a quick attempt to answer the original question, a library or any other code running on Teensy can disrupt USB communication. Every Teensy is made with a pushbutton dedicated to entering...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4