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

  1. 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...
  2. 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...
  3. Replies
    11
    Views
    156

    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...
  4. Replies
    11
    Views
    156

    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...
  5. 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...
  6. Replies
    11
    Views
    156

    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...
  7. 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...
  8. Replies
    11
    Views
    156

    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...
  9. Install 1.57-beta1 ...

    Install 1.57-beta1

    https://forum.pjrc.com/threads/70196-Teensyduino-1-57-Beta-1
  10. 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.
  11. 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
  12. 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...
  13. 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,...
  14. 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...
  15. Replies
    1
    Views
    91

    Yes, attachInterupt HIGH works on all Teensy...

    Yes, attachInterupt HIGH works on all Teensy models.
  16. 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...
  17. 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...
  18. 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...
  19. 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...
  20. Replies
    12
    Views
    406

    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...
  21. 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 >...
  22. 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...
  23. 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. ...
  24. 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...
  25. 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.
  26. 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:
    ...
  27. Replies
    5
    Views
    530

    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....
  28. 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
  29. 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...
  30. 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);
    }
  31. 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...
  32. 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,...
  33. 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...
  34. Replies
    7
    Views
    207

    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?...
  35. 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...
  36. 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...
  37. 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() {
  38. 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
  39. 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,...
  40. 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
  41. 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...
  42. Is it possible to reproduce this problem using a...

    Is it possible to reproduce this problem using a Raspberry Pi Pico? Even if it lacks the keyboard pushbuttons and LEDs, all that's needed is USB enumeration, right?

    I have a couple Picos here,...
  43. Replies
    12
    Views
    1,006

    I can't explain why ARM is so secretive about...

    I can't explain why ARM is so secretive about some types of information. I'm pretty sure there's nothing any of us can say which will convince them to act differently.

    But I can tell you we've...
  44. Replies
    12
    Views
    1,006

    On Teensy 4.1 double and long double are both...

    On Teensy 4.1 double and long double are both implemented with the same 64 bits. So while there are some finer points to compiler semantics, ultimately they both end up compiling to exactly the same...
  45. Any chance you can test with a 3rd computer? ...

    Any chance you can test with a 3rd computer?

    Sometimes things get messed up with Windows (all versions) in the Windows Registry and it retains bad USB enumeration info. Testing on another Windows...
  46. Most RMII PHY chips should work. But if it can't...

    Most RMII PHY chips should work. But if it can't be configured with resistors on the pins, the MDIO communication might need to write to different config registers to put it in the proper mode.
    ...
  47. If someone made such a chip you probably could. ...

    If someone made such a chip you probably could. But as far as I know, today 8MB is the largest chip. ApMemory has said they have no plans to make a larger version, and all other SPI / QSPI RAM...
  48. Replies
    1
    Views
    117

    The design used Teensy++ 2.0...

    The design used Teensy++ 2.0, which as discontinued around September 2021.

    Maybe Teensy 4.1 could work?
  49. Looks like the Arduino developers are working on...

    Looks like the Arduino developers are working on pluggable monitor support...

    https://github.com/arduino/arduino-ide/pull/982
  50. Replies
    12
    Views
    236

    Connect another resistor to pin 6 on the 6N138...

    Connect another resistor to pin 6 on the 6N138 optocoupler. Then connect a LED between the other leg of that resistor and 3.3V, where the cathode (flat edge of the LED) connects to the resistor and...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4