Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: MichaelMeissner

Page 1 of 10 1 2 3 4

Search: Search took 0.03 seconds; generated 11 minute(s) ago.

  1. Replies
    9
    Views
    95

    You didn't mention what Teensy you have, or...

    You didn't mention what Teensy you have, or whether you want to use the USB port for just power, or whether you want to use it for programming the Teensy. If you don't need to program the Teensy...
  2. I have no idea in terms of the ADC speeds, but if...

    I have no idea in terms of the ADC speeds, but if you are sending stuff to the PC, note that before Teensy 4.0, the Teensys used USB 1.0 speeds (12Mbits/s maximum). Teensy 4.0/4.1 moves to USB 2.0...
  3. There are many different ways to do this. ...

    There are many different ways to do this.

    KurtE mentioned one board. The guy who makes them, actually has two different boards:

    ...
  4. Replies
    3
    Views
    146

    And if you still need a smaller platform,...

    And if you still need a smaller platform, consider the Teensy 4.0 instead of the 4.1.

    Note, be sure to study the pinouts between the Teensy 3.6 and either the 4.0 or 4.1. For example, the pins...
  5. As far as I know, the only alternates are pin 0...

    As far as I know, the only alternates are pin 0 or pin 38 being the preferred CS1 pin, and pin 1 or pin 39 being the MISO1 pin. So, the answer is no, with the outer row pins you've used, there is no...
  6. The Teensy 4.1 does NOT have alternate pins for...

    The Teensy 4.1 does NOT have alternate pins for the SPI buses, except for using SPI1.SetMISO(1) instead of using pin 39.

    <edit>
    Note, I left out the word NOT in the above sentence.
  7. Sure, in the Teensy 4.0 the micro SD pins are...

    Sure, in the Teensy 4.0 the micro SD pins are listed as:

    Pad 34 (MISO2)
    Pad 35 (MOSI2)
    Ground
    Pad 36 (CS2)
    3.3 volt
    Pad 37 (SCK2)
    Pad 38
    Pad 39
  8. Are you using either the micro-SD card or the...

    Are you using either the micro-SD card or the psram/flash memory pads underneath the Teensy 4.1?

    If you aren't using the micro-SD card, you could use something like this to bring out the SD pins:...
  9. Replies
    14
    Views
    537

    If you are willing to edit boards.txt to add...

    If you are willing to edit boards.txt to add linker options, you can use the wrap functionality of the linker:

    --wrap=symbol
    Use a wrapper function for symbol. Any undefined reference to symbol...
  10. Well caching introduces a nuance. Note, I...

    Well caching introduces a nuance. Note, I haven't looked in detail at the Teensy 4.x, but in terms of what I've seen over the years for other cached system, you need to consider the caching behavior...
  11. I have not used USB Host for anything other than...

    I have not used USB Host for anything other than running a mouse to see if I had the pins correctly installed. But it occurs to me, you might be able to use a USB <-> serial converter that is...
  12. The current generation of Teensys do not support...

    The current generation of Teensys do not support bluetooth directly. However, the company (nxp.com) that makes the chips inside of the Teensy (i.MXRT 1062 for Teensy 4.0/4.1) did recently acquire a...
  13. Great! Note in the Teensy 4.1 page, you have the...

    Great! Note in the Teensy 4.1 page, you have the link for the ethernet kit up top, but if you scroll down to the ethernet section, it only says the kit will be offered in the future.

    As I...
  14. Great, I was just going to ask when the kit would...

    Great, I was just going to ask when the kit would be available. Soldering a through hole capacitor is easier than SMT.

    I assume the resistors listed in the original OSH park board aren't needed?...
  15. And the other generic advice with I2C devices. ...

    And the other generic advice with I2C devices.

    The I2C bus needs pull-up resistors on the SCL (19) and SDA (18) pins. You only need one set of resistors on the I2C bus. Many newer Adafruit and...
  16. In all cases, you need to inter-connect the...

    In all cases, you need to inter-connect the ground wires between the Teensy and the Pi, so that a circuit can be made.

    If you need the two to be electrically separate you can use an opto-coupler. ...
  17. I would think of using satellite processors to...

    I would think of using satellite processors to control a subset of the signals. The main teensy talks to each of the satellites and tells it what to do with a special protocol (serial, spi, maybe...
  18. Replies
    797
    Views
    33,848

    Technically you only need to do it if you plan to...

    Technically you only need to do it if you plan to plug in a USB cable and provide external power at the same time. If you only provide one power source, then you don't need to cut the solder pads.
  19. Note on the Teensy 3.2 pin #1 is the normal pin...

    Note on the Teensy 3.2 pin #1 is the normal pin for Serial1 TX1, and pin #5 is an alternate pin for the same serial line. I would imagine each of the different WS2812Serial strips need to use...
  20. Whoops, that should be you will need to use...

    Whoops, that should be you will need to use 'SPI1.setMISO(1)'.

    In terms of 'favored' CS1 pin (i.e. 0 on both Teensy 4.0 and 4.1 and also pin 38 on the Teensy 4.1), only a few devices seem to use...
  21. In the Teensy 4.0: There are 28 pins on the...

    In the Teensy 4.0:

    There are 28 pins on the outer edges;
    There are 5 pins at the back;
    Pads 24 - 33 are underneath the back of the Teensy 4.0 with a 2.54mm pitch;
    Pads 34 - 39 are...
  22. You do have 2 additional serial ports if you are...

    You do have 2 additional serial ports if you are able to solder wires to the pads underneath the Teensy 4.0. I have found if I just solder wires directly to the pads, over time they come off.

    if...
  23. As I said, if you don't have a section attribute,...

    As I said, if you don't have a section attribute, the compiler will create a section name with either ".text.", ".data.", or ".rodata." prefixes before the function name. Note, in C++ (the Arduino...
  24. One way would be a PCB that mounts underneath ...

    One way would be a PCB that mounts underneath the Teensy, connecting the 6 pins from the ethernet, 5 pins from USB host, VUSB, and VIN. These would be soldered directly to the Teensy with normal...
  25. The simplest way as wwatson says is to use...

    The simplest way as wwatson says is to use USBHost_t36 -> examples -> Serial -> Mouse -> Mouse.ino. Plug in a 5 pin cable that has a USB B port on the other side, such as the cable PJRC.COM sells,...
  26. Replies
    7
    Views
    321

    I would not recommend the original C manual any...

    I would not recommend the original C manual any more. Too much has changed since it was published. Instead one of the newer books that at least starts with ISO C99 would be a better book.

    And...
  27. While I'm a compiler guy, and I haven't looked at...

    While I'm a compiler guy, and I haven't looked at the .ld scripts in many years, but here is my take on some of what goes on. Note, I am not familiar with the ARM processors nor have I looked into...
  28. Replies
    7
    Views
    321

    One quick note, for interrupt routines using...

    One quick note, for interrupt routines using static or global variables, be sure to use the volatile keyword on the variables accessed by the interrupt functions. That way the compiler will assume...
  29. There is no support in the current tools. ...

    There is no support in the current tools.

    There have been people over the years that have tried to do it, and have met with varying levels of success. Mostly though I don't see them after a bit. ...
  30. Replies
    7
    Views
    128

    The Teensy 4.1 also does not have the alternative...

    The Teensy 4.1 also does not have the alternative device pads for the standard USB device. The USB D-/D+ pads underneath the Teensy are for the secondary USB host connector. Paul has said that the...
  31. Replies
    9
    Views
    172

    I suspect the cost of the communication will mean...

    I suspect the cost of the communication will mean that any slight savings of CPU cycles will be hidden by the large amount of time to send the data.

    The Teensy 3.x processors send data at a...
  32. According to the schematic, pin 20 is connected...

    According to the schematic, pin 20 is connected as the RX pin (pin 0 if the switch is set for hardware UART) and pin 21 is connected as the TX pin (pin 1 if the switch is set for hardware UART). The...
  33. FWIW, it looks like Mouser has some parts on...

    FWIW, it looks like Mouser has some parts on hand. For the part I choose:

    https://www.mouser.com/ProductDetail/200-MTMM10308GD300


    I ordered 4 of the male header pins on Saturday June 6th. ...
  34. You want WS2812Serial: ...

    You want WS2812Serial:

    https://github.com/PaulStoffregen/WS2812Serial


    It uses DMA like the Octows2812b library/board, but it doesn't do 8 parallel streams. It might be simpler to use 2...
  35. Replies
    54
    Views
    6,425

    As MJS513 said, the CAN pins are in a different...

    As MJS513 said, the CAN pins are in a different location (CRX2/CTX2 is 0/1, CRX1/CTX1 is 23/22).

    Pins 7/8 are Serial2 in Teensy 4.x, while they are Serial3 in Teensy 3.x (i.e. you just have to...
  36. Replies
    4
    Views
    179

    Without disassembling the Teensy, I would imagine...

    Without disassembling the Teensy, I would imagine the only way to get to the SD pins (42-47) is to use a card that fits in the micro SD slot and brings out the pins:

    ...
  37. Well the source code for the libraries is...

    Well the source code for the libraries is available. And the author (Paul Stoffregen) has posted about the design of the library. But since I haven't worked on the library, that's as far as I know....
  38. Ummm, it depends on which Teensy you have: ...

    Ummm, it depends on which Teensy you have:

    The Teensy 3.6 only has 1 I2S bus. You can use I2S for S/PDIF;
    The Teensy 4.0 and 4.1 have 2 separate I2S buses. In addition it has a separate...
  39. If you are powering the ESP from the Teensy's...

    If you are powering the ESP from the Teensy's 3.3v pin, it may be the ESP is drawing too much power.

    The 3.3v voltage regulator used in recent Teensies tends to be rated at 250mA (roughly 0.8...
  40. For FASTled, you will need to consult with the...

    For FASTled, you will need to consult with the documentation, or possibly the FASTled web site. I vaguely recall that FASTled has its own method for DMA usage, but it can also uses the WS218Serial...
  41. FWIW, I've had other displays that worked better...

    FWIW, I've had other displays that worked better when I threw out the cheap jumper wires and went to better jumper wires and/or cut my own solid wire connections.

    I've also had to throw out...
  42. FWIW, if you order through digikey, the Samtec...

    FWIW, if you order through digikey, the Samtec headers are sent by Samtec and not digikey. Unfortunately in doing the ordering, digikey does not specify what the shipping is.

    I ordered headers...
  43. Replies
    2
    Views
    82

    I do that all of the time. I generally put...

    I do that all of the time. I generally put stacking headers on both the Teensy and the Audio Shield.

    Though there are things to consider:

    If you stack the audio board on top of the Teensy 4.0,...
  44. Another way to support up to 8 displays at the...

    Another way to support up to 8 displays at the same address would be to use an I2C multiplexer. I've haven't used it myself, but it may be a way to support those displays:

    ...
  45. Well in Teensy 4.x, you do have the option of...

    Well in Teensy 4.x, you do have the option of using I2S2 instead of I2S1. The MCLK2 pin is 33 (back of the Teensy 4.1, underneath on the Teensy 4.0). So it doesn't interfere with the other standard...
  46. I tend to prefer string constant gluing (which...

    I tend to prefer string constant gluing (which unlike R"..." is part of the standard C and C++ languages):



    const char message[] = ""
    "This is line1\n"
    "This is line2\n"
    "This is...
  47. In theory it should work (assuming you have the...

    In theory it should work (assuming you have the right connection between SCL/SDA and the two machines).

    Note, the resistor can be higher than 2.2k. Generally 4.7k is used for 5v systems. ...
  48. For reference, this part from digikey looks like...

    For reference, this part from digikey looks like it would fit the bill. Total pin length is 21mm (0.8"), default pin length for the post 15.6mm (0.6"), unit cost $1.39 US:

    ...
  49. I imagine you need 2 pull-up resistors on the i2c...

    I imagine you need 2 pull-up resistors on the i2c bus. A pull-up resistor is a resistor that is in parallel to the data path, and goes between the pin and 3.3v. You will need one resistor on the...
  50. The Amazon one with UXCELL header (foreign...

    The Amazon one with UXCELL header (foreign shipper to USA) looks taller, and a similar one from ebay. This is for a 2x5 header. So you would need to cut it down to a 2x3 header:

    ...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4