Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • jensa's Avatar
    01-25-2021, 03:21 PM
    Nevermind. I need to sleep more.... Apparently, the Delete button is now gone, so I cannot delete this post that is now completely irrelevant to others?
    0 replies | 49 view(s)
  • jensa's Avatar
    01-15-2021, 11:46 AM
    Thanks to @vjmuzik for making this lib! It's saved me a lot of time, but has also caused me some grievances so I thought I'd share what I've learned to help others. I have a very simple machine to machine setup (T41...
    171 replies | 15710 view(s)
  • jensa's Avatar
    12-30-2020, 05:32 PM
    Hi, This might be one for @luni, but I ran into a conflict between FreqMeasureMulti and TeensyStep as they were both using TIMER_FTM0. I resolved this by setting #define USE_TIMER TIMER_FTM1 in config.h of TeensyStep....
    0 replies | 89 view(s)
  • jensa's Avatar
    12-16-2020, 11:33 AM
    Hi Gonzales. It's likely because you are using CAN and CAN always has 8 data bytes. To send more, you will just have to send multiple packets of data. Depending on your application, you might be able to use CAN FD and...
    499 replies | 42595 view(s)
  • jensa's Avatar
    12-11-2020, 12:27 PM
    1) A Teensy 4 might be worthwhile, but for these projects, you'll only need a Teensy 3.2. You'll program this using the Arduino IDE with the Teensyduino extension installed. You might also want to get this convenient...
    2 replies | 596 view(s)
  • jensa's Avatar
    12-11-2020, 10:55 AM
    Oh my. I had swapped the CAN HI / CAN LO wires on the bus. The bus had a good resistance value of 60.4 ohm, but the voltage measured 0.017v rather than the much more sensible 1.49V. Sigh... I did indeed miss something...
    499 replies | 42595 view(s)
  • jensa's Avatar
    12-10-2020, 10:35 PM
    Ok. Back at my desk and I found that now I get something on the output pin, but it does not look sensible? My logic analyzer (enclosed image) shows it as 17 bits low (17us long @ 1000000 baud) and then 25 bits high....
    499 replies | 42595 view(s)
  • jensa's Avatar
    12-10-2020, 04:48 PM
    I just tried again with a T3.2 modified version (CAN0) of the T4.1 code above, but there is nothing on the TX pin according to the logic analyser? (sorry for posting multiple times. On Mobile, the Edit button leads...
    499 replies | 42595 view(s)
  • jensa's Avatar
    12-10-2020, 04:29 PM
    That works much better! :) But - still no signal on Pin 22. That is the CAN0 TX pin, right? The reason I'm testing on a T3.2 is that on my T4.1, I also get no output on the CAN2 port (pin0 + pin 1) on the T4.1....
    499 replies | 42595 view(s)
  • jensa's Avatar
    12-10-2020, 03:52 PM
    Right, but you would expect the LED to turn on, right @tonton81? I tried with a 2 second delay. The first output prints fine and then nothing after that happens. No pin 13 LED turns on. I have a logic analyzer hooked...
    499 replies | 42595 view(s)
  • jensa's Avatar
    12-10-2020, 02:59 PM
    Beginner question: testing on a T3.2 I'm using the below code. The LED never turns on and I only get the first serial output. It looks like the Teensy is crashing. I downloaded the latest version from git a couple days...
    499 replies | 42595 view(s)
  • jensa's Avatar
    12-08-2020, 11:38 PM
    Teensy 4.1 should be fast enough if your code is using interrupts but I guess the Arduino library is not fast enough, but did you read this? Looks like that lib isn't required when using a Teensy with version number...
    1 replies | 128 view(s)
  • jensa's Avatar
    12-08-2020, 03:45 PM
    Solved it! The 1V signal was fixed by reflowing the MKL02 and when this did nothing and all else looked good, I got annoyed and started removing IC's one by one while testing. After removing 8 ICs with hot air, I...
    12 replies | 362 view(s)
  • jensa's Avatar
    12-08-2020, 12:22 PM
    It could be @jonr, but as mentioned - the previous version of this board had 100% identical layout on everything related to the Teensy. This board worked without any issues on all 3 copies I made, so I don't think a...
    12 replies | 362 view(s)
  • jensa's Avatar
    12-07-2020, 10:27 PM
    When I hit the Program button, a clock signal is produced on PTB0 on the MKL02 and I see data on PTA7 as expected. But this capture of the two channels is a bit surprising? The data channel is only 1 volt peak to peak,...
    12 replies | 362 view(s)
  • jensa's Avatar
    12-07-2020, 08:48 PM
    @jonr All power pins have a 0.1uF decoupling cap and one of them have a 10uF. The crystal is not resonating, so the MK20 does not start. How can I test if it tries to reset itself or is even responding at all?
    12 replies | 362 view(s)
  • jensa's Avatar
    12-07-2020, 02:46 PM
    The RESET is LOW when the Program button is held LOW, so I guess that confirms that the MKL02 is good. Also - since I see the pulse train on PTA7, it's trying to wake the MK20, but this fails. Any pointers as to how to...
    12 replies | 362 view(s)
  • jensa's Avatar
    12-07-2020, 02:18 PM
    I just received 3 boards from PCBA that do not work at all and this is a curious case. The board is based on Teensy 3.2 and has a MKL02 from PJRC. This is version two of the board. The first version worked without a...
    12 replies | 362 view(s)
  • jensa's Avatar
    12-02-2020, 02:55 PM
    Hehe. You've done so many nice writeup's that I understand why. Thanks!
    6 replies | 289 view(s)
  • jensa's Avatar
    12-02-2020, 02:54 PM
    Update: It's still a little messy from a debug & develop perspective as the Teensy Loader will happily program any Teensy connected :-/ I'm using Platformio as my IDE. There you can set debug and upload port in the...
    6 replies | 289 view(s)
  • jensa's Avatar
    12-02-2020, 02:07 PM
    Brilliant @luni! This got me to search for "teensy change usb serial number" and I found this: https://forum.pjrc.com/threads/60347-Teensy-3-2-3-6-how-to-change-GUID-UUID and that lead to this brilliant hack:...
    6 replies | 289 view(s)
  • jensa's Avatar
    12-02-2020, 01:02 PM
    Hi all, I have a setup with two (custom) Teensy 3.2 based boards and I run into problems having both of them connected to my Mac at the same time. If I connect only board #1, it comes up as...
    6 replies | 289 view(s)
No More Results
About jensa

Basic Information

Statistics


Total Posts
Total Posts
55
Posts Per Day
0.02
Last Post
TeensyStep RotateControl with 0 as parameter 01-25-2021 03:21 PM
General Information
Last Activity
01-25-2021 03:33 PM
Join Date
03-14-2014