Latest activity

  • PaulStoffregen
    Quick answers I believe the GPT timers might able to do this. In the reference manual, see Figure 52-2 on page 3015, and section 52.3.1 on page 3016. The GPT timers are also 32 bits wide, which is much simpler than dealing with only 16 bits...
  • B
    Thanks so much for the quick reply, Paul. I'm embarrassed by the first drawing I posted, so I made a new and accurate one below. Both power supplies are connected to mains earth, but I'll double check all the connections to make sure they're ok.
    • Screenshot 2024-04-24 at 7.00.15 PM.png
  • PaulStoffregen
    I don't see any connection in this diagram between Teensy and the dual motor driver. Assuming there is indeed a connection for Teensy to control the motors, check the GND wire. Perhaps GND is not properly connected between them? And maybe that...
  • D
    Can any of the timers within the Teensy 4.1 be incremented using an external clock signal, rather than the internal oscillator clock? My goal is to have a timer running off an external 10MHz square wave signal. I could then have a pulse on a...
  • B
    Hello! I've found this forum incredibly helpful in the past, but this is my first time reaching out with a question. I'm working on a project that seems like it should be simple, but I'm being deviled by a problem that I think is electrical...
    • Screenshot 2024-04-02 at 5.47.06 PM.png
  • C
    I'm trying to use the ShiftPWM library to control 13 LEDs with 795 shift registers. I'm pretty sure I had this working a few months ago, so I suspect either I've done something wrong or an update to something has broken it. The compile error I...
  • D
    I'm looking for suggests on how to proceed here: A few seconds after boot I may find an I2C device connected to the Teensy 4.0 and it would be great if I could add a new device to the USB descriptors. The device is a variant of a HID device - a...
  • ninja2
    ninja2 replied to the thread trying to Sync to RTC on Wire2.
    Still looking for help with this ... perhaps if I re-word: To re-use my proven code with lots of "Wire." entries on Wire2 on my T3.6 I am using: #define Wire Wire2 but only in the RTC and EEPROM tabs, leaving the SSD1306 OLED on Wire0 This is...
  • mjs513
    mjs513 reacted to KurtE's post in the thread Call to arms | Teensy + SDRAM = true with Like Like.
    I slightly updated @mjs513 copy of it he sent recently. In that I filled in more information about the newer pins I Hid most of the columns, which shows: The ones in Yellow are the ones we do not have. 3 are critical for CSI (D3-D5) The...
  • PaulS
    This example perhaps? Paul
  • M
    Connecting a motor direct to pin 8 of the Teensy? That doesn't sound safe, back EMF, burn out the pin through overcurrent, ESD through handling the motor - several ways this could be bad news.
  • M
    Yes, its an unmodified Audio adapter D that I've had for a while but only just soldered headers too and started using. Since the QA403 has high input impedance the caps distortion should be relatively low. I hope they are C0G/NP0 type...
    • ceramic-cap-residual-2.png
  • KurtE
    I slightly updated @mjs513 copy of it he sent recently. In that I filled in more information about the newer pins I Hid most of the columns, which shows: The ones in Yellow are the ones we do not have. 3 are critical for CSI (D3-D5) The...
    • 1713990458500.png
    • 1713990709528.png
  • M
    Yes I think 80kHz for the measurement bandwidth - which may be a little unfair. Well you could measure it directly by sending to USB and capturing the raw data without using any DAC for a definitive answer - the SGTL DAC is clearly dominating...
  • A
    You would need use Teensyduino 1.59 and unfortunately you have to change your Teensy 4 core file in cores/Teensy4 for that. (Maybe first make a copy of that folder.) Copy the content of...
  • A
    The above is designed to use the CapacitiveSensor library not the native touch pins of the Teensy LC, 3.0, 3.1, 3.2 & 3.6, it is a completely different beast that is why I started this thread.
  • mjs513
    Pin 2 is going to T_IRQ. I switched RST from 3.3v to pin 3, per the test sketch (D'OH!), and my Hello World message appeared. Thank you very much for the second set of eyes!
  • M
    Hey blazini36, I'm the author of this project and I just came across your work. Nice work on creating an updated PCB. Feel free to contact me via direct message, and I can help getting the configuration UI running. The UI is needed, at least...
  • PaulStoffregen
    Usually when that happens to me its the wiring. On quick review looks like you have RST got to 3,3v so either have RST set to 255 or hook it up to pin 3. Looks like you have pin 3 going to one of the touch pins? I would start by not hooking up...
  • PaulStoffregen
    Each open source library has license terms which allow you to the use the code. Usually this can be found in the comments at the beginning of the code. Some have a separate license file. I need to emphasize the official word is in those...
  • V
    Hi everyone, I am new to the Teensy community. I am working on a project and I was able to save Excel files and send them via USB. (Very powerful thing the Teensy 4.1!) However, I noticed that the Date modified is always the same (Attached is a...
    • example.png
  • h4yn0nnym0u5e
    Your test code didn't work before, but I can see no reason why it wouldn't now. Your "part of " loop() clearly has problems. Let's assume Serial is actually connected, so while (!Serial); doesn't cause an issue. Let's assume you've sent the...
  • A
    Hi Mark, that is already helpful - thank you. Still leaves me ambiguous about the Arduino part though.
  • W
    The readme for the neu-rah ArduinoMenu library has the the following statement in the history for release 4.0. Allow virtual/dynamic data custom menus Does anyone know where I can find any more information on this feature, or any examples? I...
  • C
    That OpenMHA link is great. It's not specific to Teensy, but it is still good work. If you want something that is more specific to Teensy, you should look at what the Tympan folks have done (I'm a founding member). Like OpenMHA, Tympan is...
  • G
    Pin 2 is going to T_IRQ. I switched RST from 3.3v to pin 3, per the test sketch (D'OH!), and my Hello World message appeared. Thank you very much for the second set of eyes!
  • mjs513
    Usually when that happens to me its the wiring. On quick review looks like you have RST got to 3,3v so either have RST set to 255 or hook it up to pin 3. Looks like you have pin 3 going to one of the touch pins? I would start by not hooking up...
  • G
    Hello-- I'm working to integrate the 3.2" TFT Color touchscreen I purchased here into my project, and after installing (photo below), and creating/uploading a test sketch, I have only a white screen. I have reconnected the pins. Here is the Test...
    • IMG_5795.png
  • T
    I corrected the test code, which still works. #include <Audio.h> #include <Wire.h> #include <SPI.h> #include <SD.h> #include <SerialFlash.h> int16_t *sp; float float_buffer[128]; // GUItool: begin automatically generated code AudioInputI2S...
  • K
    Maybe <this> link answers your questions ?? Hope that helps . . . Mark J Culross KD5RXT
  • A
    Hello Teensy community, is there any resource about licensing fees or obligations attached to using a) the teensy hardware in a commercial project and b) parts of the code. For the latter I am especially thinking about the use of libraries use...
  • M
    Basically, luck. As I tried to explain on that other thread, the U2 chip is never meant to be desoldered and used this way. The behavior is undefined. It might work, might fail, might partially work, might be unreliable.
  • PaulStoffregen
    Basically, luck. As I tried to explain on that other thread, the U2 chip is never meant to be desoldered and used this way. The behavior is undefined. It might work, might fail, might partially work, might be unreliable.
  • M
    Does "bootloader chip from a teensy 4.1 dev board" mean you desoldered and reused the chip from an actual Teensy 4.1 circuit board, or you purchased this T4 bootloader chip? Either way, 2 blinks means the JTAG connection is not working at all...
  • M
    Thanks Paul, we resolder the MKL02 chip (not from here T4 bootloader chip) which was removed from teensy 4.1 dev board and it works! Code is flashing and test led is blinking. My question is why is this working? as it was paired for the MCU on...
  • mjs513
    mjs513 reacted to KurtE's post in the thread New Camera Library for Teensy Micromod/4.1 with Like Like.
    As for the Teensy 4.1, I am using a board, I made maybe 4 years ago, and the one I am using is not fully populated. Don't remember if I assembled any others of that batch and if so what parts worked or did not work... The board is more or...
  • KurtE
    As for the Teensy 4.1, I am using a board, I made maybe 4 years ago, and the one I am using is not fully populated. Don't remember if I assembled any others of that batch and if so what parts worked or did not work... The board is more or...
    • 1713960189752.png
    • 1713961309291.png
    • 1713979327399.png
  • PaulStoffregen
    Does "bootloader chip from a teensy 4.1 dev board" mean you desoldered and reused the chip from an actual Teensy 4.1 circuit board, or you purchased this T4 bootloader chip? Either way, 2 blinks means the JTAG connection is not working at all...
  • M
    Thanks for the quick response. But we are not getting 10 blink, we are getting two blinks. Can you take a look at the design, maybe MCU is not running correctly to establish JTAG comm.?
  • mjs513
    mjs513 reacted to KurtE's post in the thread New Camera Library for Teensy Micromod/4.1 with Like Like.
    Note: no promises on these boards, as I am a retired software guy.... I was laying out a complete board as a modified version of the earlier board I did for the Micromod. But decided to do a quick and dirty one that I can easily solder up. So...
  • h4yn0nnym0u5e
    This won't work, see e.g. https://forum.pjrc.com/index.php?threads/problemes-with-diy-teensy-4-1.74851/, post 2
  • h4yn0nnym0u5e
    The problem is almost certainly in //stuff, where we can't see it. In normal code I'd say you've allocated far too few audio blocks, and started the queues way too early, so they consume all the blocks before you even get to loop(). It may be...
  • M
    We have a custom board with MIMXRT1062DVJ6B and used bootloader chip from a teensy 4.1 dev board. The bootloader is now blinking twice. We have double checked the MKL02 and IMXRT1062 connection, and pretty confident that solder is good. When its...
    • 1713956665324.png
  • S
    In the TI datasheet, the term SPI is carefully avoided... Not immediately clear what SPI mode is to be used. Sampling SDI on the falling edge, and clocking out SDO on the same falling edge. Then it's key you make sure that on the Teensy side the...
    • 1713952423931.png
  • R
    revati replied to the thread Freertos with teensy 4.0.
    No, that is extended id format and for that second parameter is one from Arduino I am getting message sent successfully. but in teensy I am not able to read through can
  • A
    Angelo replied to the thread Freertos with teensy 4.0.
    Not sure if 0xFF0122 is handled as a valid standard ID format. Try with 0x122. Angelo
  • R
    revati replied to the thread Freertos with teensy 4.0.
    yes, both modules are connected with usb on same pc. #include <mcp_can.h> #include <SPI.h> MCP_CAN CAN0(10); // Set CS to pin 10 void setup() { Serial.begin(9600); // Initialize MCP2515 running at 16MHz with a baudrate of 250kb/s and...
  • A
    Angelo replied to the thread Freertos with teensy 4.0.
    Are the two modules connected with USB on the same PC ?? What about software configuration: same bitrate, standard/extended ID, filters, message sent from/to arduino+canshield Try with twisted pair cable, longer, about 1 meter. Angelo
  • T
    I have a code for Teensy 4.1 that is working well with one SPH0645 microphone (mono). But now, I need to make it stereo, which is why I am here... The strangest part is that even the output queue stops working (seems to struggle at "sp_L =...
  • R
    revati replied to the thread Freertos with teensy 4.0.
    This is hardware connection. can you suggest what need to do?
    • IMG_20240424_142324-min.jpg
Back
Top