Search results

  1. MichaelMeissner

    Let's talk of possible new accessory boards

    Adafruit has some microprocessors (Qualia) that have support for RGB-666 displays using a 40 pin flat cable. Of course having a direct HDMI port might be useful as well assuming you can get more memory on the Teensy.
  2. MichaelMeissner

    NEW: GC9A01A Display driver for Teensy 3.x and Teensy 4.x

    In the Teensy 3.x boards, there were a bunch of 'special' pins. Paul documented this many years ago in (look at comment #5): Special SPI pins As I understand it, the display drivers for Teensy 4.x don't have this special optimization. I believe that in the Teensy 4.0, pin 10 is a special...
  3. MichaelMeissner

    Let's talk of possible new accessory boards

    As Paul has mentioned, Proto Supplies sells Teensy 4.1 with one or both memory slots soldered in. I've used them for the last couple of Teensy 4.1's that I've bought. While I can still solder through hole stuff, SMT soldering has become problematical (I've been having some muscle failure that...
  4. MichaelMeissner

    Let's talk of possible new accessory boards

    Or alternatively, put several cheap microprocessors, that each handle maybe 8 analog inputs, and each one communicates to the Teensy via a shared I2C, SPI, or UART line. Ideally you want communication only when something changes (sort of like the MCP23017 where there is a pin output that is...
  5. MichaelMeissner

    Let's talk of possible new accessory boards

    In the past there was an I2C display (TeensyView): https://learn.sparkfun.com/tutorials/teensyview-hookup-guide/all It would be nice if there was a base Teensy 4.1+ board that has a QWIIC port for I2C without needing the shields that Sparkfun makes. It would be nice if there were 2 jumpers...
  6. MichaelMeissner

    Teensy 4.1 breakout board

    I was curious. I didn't know what the board was so I went to tindie.com and found the entry. On a hunch, I went over to the PCB manufacturing company oshpark.com and I looked for grbiHAL, and I think I found two boards, one for the Teensy 4.0 and the other for the Teensy 4.1. The oshpark.com...
  7. MichaelMeissner

    Any Easy library copy files from usb to built in Sd card.

    I don't know, you would have to test it out. Off hand, I imagine that using MTP in the background could affect latency, but who knows. I imagine that when you are transferring files, you are not worried as much about latency, and it won't matter. If you aren't transferring files, it shouldn't...
  8. MichaelMeissner

    Any Easy library copy files from usb to built in Sd card.

    I must admit to not really understanding why you are doing this. Is it a one time operation, or will you need to do this regularly? Can you turn off the Teensy or must the Teensy be running? To me if it is a one time task, the simplest approach would be just to turn off the Teensy, put the...
  9. MichaelMeissner

    Teensyduino 1.60 Beta #4

    FWIW, I had previously had had arduino-ide_2.2.1_Linux_64bit installed on my Fedora 41 system. I removed the Teensy port, and then I replaced the Teensy json file with the update. I could not get 2.2.1 to show Teensy after doing control-shift-P Ardunio-updates and restarting the IDE. I had to...
  10. MichaelMeissner

    How do I connect the underside pads on the Teensy 4.0 to a solder pad on a PCB with the same dimensions?

    Before the Teensy 4.1 was released, there were a lot of people making PCBs to bring out the SD card and other pins: OSH park PCB of trainer4edu's PCB without USB host OSH park PCB of trainer4edu's PCB with USB host Trainer4edu's board description Blackketter's PCB Blackketter's github...
  11. MichaelMeissner

    Teensy 4.0 + Audio Board + LiPo battery

    If you are using the Teensy 4.0, one possibility is to get the Adafruit Teensy 3.x feather adapter. I'm putting the Adafruit link along with a compatibility page I wrote for the old unofficial Teensy wiki site: Adafruit Teensy 3.x feather adapter Teensy feather compatibility Note, with this...
  12. MichaelMeissner

    Leftover Teensy Stuff Sale

    I'm curious what are likely 'cosmetic' flaws in the 'LEFTOVER_TEENSY_OTHER' item? I mean I will find out eventually when my grab bag gets here. I realize it is a grab bag, and it could be anything, but I was wondering what kind of things were discovered before shipping? And of course the...
  13. MichaelMeissner

    Teensy 4.1 SD card compatibiliy questions

    Cards that are 32GB or smaller are formatted with FAT32 and typically have the VFAT support on top of FAT32 (VFAT adds support for names other than the 8+3 uppercase). Cards that are 64GB or larger are formatted with ExFat.
  14. MichaelMeissner

    Using RAM1 & RAM2

    Thanks, fixed. I forgot to hit ^C to save the html link when I did ^V in the url box, it grabbed the previous text.
  15. MichaelMeissner

    Using RAM1 & RAM2

    Well it is free until your program is running. When you call malloc/new, it allocates out of RAM2. For static/global variables you can use 'DMAMEM' and the variable is put into MEM2. Note, these variables cannot be initialized. I don't recall if they are guaranteed to be zeroed. If you have...
  16. MichaelMeissner

    Using RAM1 & RAM2

    Well in addition to the RAM1 and RAM2 normally that comes with the Teensy 4.1, you have the option to solder 1-2 memory chips to the Teensy. You can solder 1 or 2 PSram chips You can solder 1 flash memory chip You can solder 1 flash memory chip and 1 PSram chips The PSram chips are fixed at 8...
  17. MichaelMeissner

    SparkFun To Manufacture Teensy

    I've been idly wondering whether Adafruit will continue to sell Teensies. Now, I realize that Adafruit sells some Sparkfun things, and Sparkfun sells some Adafruit things, and they address different markets. But the change of the supplier may change whether Adafruit will continue to stock the...
  18. MichaelMeissner

    Break out the USB on teensy 4 to my custom PCB problem.

    Yes, the Teensy 4.1 changed the pads under the PCB to be the first USB that can be used for programming, and not the second USB which can act as a USB host. On the 4.1, you have to use the 5 pins in the PCB to get to the second USB. I believe the Teensy 4.0 is the only Teensy where the bottom...
  19. MichaelMeissner

    Newbie: OLED/TFT display?

    One minor thing to consider is something I run into with camera viewfinders. If you are going to view your screen outdoors and you will be wearing polarized sunglasses, note that TFT displays typically have one orientation that there are distortions when viewed through polarized sunglasses. On...
  20. MichaelMeissner

    CircuitPython v Arduino for real time audio analysis

    In general, it is a convenience vs. speed thing. Arduino is a wrapper over C++, and the code is compiled directly to the target machine. Circuit Python is an interpreter that runs on the target machine, that reads the source code, converts it to some internal format, and then uses the internal...
  21. MichaelMeissner

    How to Change Audio Library pins?

    Dout and Din can only be the following pins: 6 (OUT1D) 7 (OUT1A), default DOUT 8 (IN1), default DIN 9 (OUT1C) 32 (OUT1B) 38 (Alternate for IN1) 39 (Alternate for OUT1A) MCLK1, LRCLK1, and BCLK1 all must be their respective pins (23, 20, and 21). Alternatively, you could switch to using the...
  22. MichaelMeissner

    Does the Double (Float64) use the M7 CPU registers by default in TeensyDuino and compiler ???

    IIRC, you also don't want to use the 'optimize space' option in Arduino, as I believe it uses a version of printf that does not have floating point support.
  23. MichaelMeissner

    Does the Double (Float64) use the M7 CPU registers by default in TeensyDuino and compiler ???

    I can't answer about PlatformIO, but under Arduino, if you are building for the Teensy 4.0, the Teensy 4.1, or the Teensy MicroMod, the default for double is 64-bit and constants are 64-bit by default. The hardware has direct support for both 32-bit and 64-bit floating point. If you have the...
  24. MichaelMeissner

    Guide for SparkFun Thing Plus integration?

    It depends. Does the XBee board have its own micro processor on it, or are you supposed to mount the XBee on a board that uses the thing plus mounting. If it is the later, I believe the Sparkfun Thing Plus boards use the same pinout as the Adafruit Feather system. Adafruit sells a Teensy 3.2...
  25. MichaelMeissner

    Section type conflict and other memory error

    I suspect the interface uses 'int' (32,767 maximum bytes) or 'unsigned int (65,535 maximum bytes) for the length. If so, you will need to do a loop to transmit say 4,096 floats (16,384 bytes, which is the last power of 2 under 32,767) at a time, and transmit the remainder after the loop.
  26. MichaelMeissner

    Best way to store 64 bits of user parameters

    I don't recall seeing the entire mockumentary, but I recall Drummers for the Spinal Tap band did not have a long life span: And at the moment, of the 4 Beatles, only Ringo Starr has 2025 performance dates available (though Paul McCartney will be doing a tour in 2025, no dates are yet scheduled).
  27. MichaelMeissner

    Can I just solder this 3.5mm plug cable onto an Audio Adapter Rev D?

    On the audio adapter the pinouts are set up so the 3 pins across are for a combined L/R speaker (i.e. the middle pin is the shared ground between the left and right signals). If you had two separate speakers, then the other two pins would be the ground, i.e. you can connect the speakers...
  28. MichaelMeissner

    Teensy 5 Dual/Quad Core

    Given Paul doesn't design the actual microprocessor within the Teensy, he is dependent on the chips that are designed by the microprocessor companies. Given the newer chips no longer have 5 volt tolerance, Paul can't magically make the future Teensy be 5 volt tolerant without adding extra chips...
  29. MichaelMeissner

    Black Friday 4.0, shield, and pins... how to stack them together?

    What I generally prefer is to use stacking headers. Adafruit sells 2 14-position stacking header + 1 5-position stacking header that is just right for the Teensy (or the Adafruit Itsy-Bitsy which uses the same 14-pin side pins + 5-pin rear layout as the Teensy 4.0). For breadboard and...
  30. MichaelMeissner

    MTP file size limits.

    Assuming we get to the end and have MTP fully support 64-bit file sizes, would it be possible to actually put the MTP bits into Teensydunio 1.60?
  31. MichaelMeissner

    Audio Playback (sd wav) + TFT Display = can it be done?

    I would suggest using a different CS pin than 10, since the audio adapter uses pin 10 for the SD card on the audio adapter. Yes, given you don't have a SD card in the audio adapter, it may not be an issue, but perhaps it could be. You also don't want pin 6 (which is used for the audio...
  32. MichaelMeissner

    Teensyduino 1.60 Beta #3

    Yes, I have not gotten IDE 2.3.x to work at all. It always seems to hang. I am currently using IDE 2.2.1 (on Linux), and I have not gotten the new json link to work for Teensy, so I'm stuck at 1.59 or 0.60.1. On the xterm window that I launched the 2.3.3 IDE from I get a lot of lines like the...
  33. MichaelMeissner

    Question on external power, Teensy 4.0

    Typically, you want to do a delay, since sometimes the USB is not connected immediately, and you can miss the first few println's. I.e. void loop (void) { // Wait up to 3 seconds for the USB connection to be setup. while (!Serial && millis () < 3000) ; if(Serial) { //...
  34. MichaelMeissner

    Yet Another File Player (and recorder)

    Generally, you can't put functions into PSRAM because it is not initialized from flash memory like the normal 2 memory banks are. I imagine if you are really dedicated, you could create functions that could be copied to PSRAM, adjust any fixed non-pc relative addresses, and then figure out how...
  35. MichaelMeissner

    Yet Another File Player (and recorder)

    IIRC, the SRAM/flash on the audio board can only be accessed via SPI read/write operations. The PSRAM soldered underneath the Teensy 4.1 acts like normal memory, i.e. you can pass a pointer to an area in the PSRAM to some other function. With the SRAM/flash on the audio board, you have to copy...
  36. MichaelMeissner

    Display SD card as mass storage: Teensy 4.1

    I haven't been doing much with Teensy these days. Hopefully one of the people involved in the MTP library can weigh in.
  37. MichaelMeissner

    Teensyduino 1.60 Beta #2

    FWIW, I am running Arduino 2.2.1 on a Fedora 39 system. I have not been able to run either 2.3.2 or 2.3.3 (they seem to hang). I currently 0.60.1 of Teensydunio installed. I went into the boards manager package, and there is no option for loading 0.60.2. I tried re-installing Teensydunio...
  38. MichaelMeissner

    I think Arduino IDE V2.3.2 causing problems may need to downgrade to Arduino 1.8.19?

    I had some problems with 2.3.2, and I went back to 2.2.1. At the moment, I just ignore the suggestions to upgrade to 2.3.2.
  39. MichaelMeissner

    SPI -- CS and D/C: arbitrary data pins?

    There were several PCBs that extended the Teensy 4.0s to allow access to the bottom pins. I kind of lost interest in those PCBs when the Teensy 4.1 started shipping. I have some that I had made up that I haven't soldered to a Teensy that I could send you via USPS if desired (I don't remember...
  40. MichaelMeissner

    Ram2

    You have two options to create stuff on the stack: 1) You can use a variable sized array. It may be simplest to move the main of the code into a function, and pass in the length as an argument: void inner (size_t n) { uint32_t buffer[n]; // do stuff here with buffer // when inner...
  41. MichaelMeissner

    Teensy 3.2和Teensy 4.0或4.1 的代码兼容吗

    I wrote this article for the unofficial Teensy wiki some 2-3 years ago that outlined the major compatibilities between the Arm based Teensies that use through hole pins (i.e. not the Teensy 2.x boards, and not the Micromod board that Sparkfun sells)...
  42. MichaelMeissner

    How about an emulator/simulator that runs on your computer and emulates/simulates the Teensy itself?

    I don't really see the need for a simulator. I tend to agree with MarkT is that the real problem is simulating the devices. Until you can simulate all of the devices hooked up, only a few things could be done on a simulator. Then you get to the issue of who is going to build such a thing? In...
  43. MichaelMeissner

    Multiple displays using Teensy 4.1

    I glanced at the source, and I saw you used the standard Adafruit ST7789 library. 1) You probably don't have to have enough memory in your Teensy to support 5 screens. It may be the Adafruit library fails when you try to allocate enough memory for each screen. The standard Adafruit ST7789...
  44. MichaelMeissner

    Box/Enclosure

    FWIW, the PG-7 glands that came with my Adafruit box are too small to pass standard ethernet/USB cables with the normal RJ-45/USB head. You could cut a standard RJ-45 cable to expose the 8 wires, and run that through the cable glands, and connect those 8 wires to the ethernet port (or once you...
  45. MichaelMeissner

    Missing pin descriptions for Teensy 4 on web site documentation...?

    And FWIW, in addition KurtE's wonderful document, I have a google spreadsheet that I try to keep up to date. https://docs.google.com/spreadsheets/d/1LSi0c17iqtvpKuNSYksMG306_FpWdJcniSRR6aGNNYQ/edit?usp=sharing The first sheet compares the pin layout of all arm based Teensys that use through...
  46. MichaelMeissner

    Missing pin descriptions for Teensy 4 on web site documentation...?

    MISO1 and CS1 are in the same location as the Teensy 4.1 (i.e. pin 0 is CS1 and pin 1 is MISO1). I had thought at one point Paul was going to update online pinout.html file (he can't change the card that comes with the Teensy 4.0 until the next time they print up the card stock). I believe...
  47. MichaelMeissner

    Box/Enclosure

    I forgot that I had marked the following in tindie. Hypertronix is a Canadian company that sells 115mm x 90mm x 55mm (4.5" x 3.5" x 2.2") enclosures and prototype breadboards that fit in this enclosure. For an extra cost, they will drill up to 3 holes for cable glands. If you need even more...
  48. MichaelMeissner

    Box/Enclosure

    Unfortunately, it is slightly the wrong size for many of the breadboards and prototype boards that are big enough for the Teensy 4.1. The problem is the 4 columns where the screws attach eliminate boards. I tried a normal 30 row breadboard. If it had 26 or mabye 27-28 rows, it would fit. On...
  49. MichaelMeissner

    Box/Enclosure

    FWIW, I just bought this 'Flanged Weatherproof Enclosure With PG-7 Cable Glands' from Adafruit, but I haven't picked it up from the post office yet: https://www.adafruit.com/product/3931
  50. MichaelMeissner

    Teensy 4.1 audio pin usage

    If you look at the schematic, you will see pin 15 has a 0.1uF capacitor and a 25K resistor on it. I believe these are to make analog inputs smoother. Both pins 6 and 10 have 10K pull-up resistors that are typically used on SPI CS pins. Pins 18 and 19 have 2.2K pull-up resistors that are...
Back
Top