Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • brtaylor's Avatar
    Today, 02:14 AM
    Thanks, I saw that and it works for CAN 2.0. I think there must be something with CAN-FD and the mailboxes / interrupts that I'm not understanding.
    1116 replies | 187655 view(s)
  • brtaylor's Avatar
    Today, 01:46 AM
    I've run into another stumbling block. I'm trying to receive CAN-FD messages in an interrupt context. Example sender code is: #include <FlexCAN_T4.h> #include <elapsedMillis.h> FlexCAN_T4FD<CAN3,...
    1116 replies | 187655 view(s)
  • brtaylor's Avatar
    11-22-2022, 06:51 PM
    It's a great library; although, I do wish the documentation was more detailed. Especially with how many tuning knobs and options there are. Of course, we're all free to submit pull requests with additions to the...
    1116 replies | 187655 view(s)
  • brtaylor's Avatar
    11-21-2022, 03:11 PM
    Thanks, updating the peripheral clock to 80 MHz does enable 8 Mb/s to work for me too.
    1116 replies | 187655 view(s)
  • brtaylor's Avatar
    11-20-2022, 09:39 PM
    Circling back that I got this working up to 5 Mb/s by setting the peripheral clock to 60 MHz after reading this thread: https://forum.pjrc.com/threads/67261-Teensy-4-1-and-CanBus?p=279951&viewfull=1#post279951 EDIT:...
    1116 replies | 187655 view(s)
  • brtaylor's Avatar
    11-18-2022, 11:34 PM
    I've got it working with 2MBaud. Not sure how to go higher and still have everything work reliably. I have 8 MBaud transceivers, 120 Ohm terminators and a twister pair of wires between the boards with a length of about...
    1116 replies | 187655 view(s)
  • brtaylor's Avatar
    11-18-2022, 11:29 PM
    Looks like I needed to add this to both the sender and receiver to use the longer length: can3.setRegions(64);
    1116 replies | 187655 view(s)
  • brtaylor's Avatar
    11-18-2022, 11:14 PM
    Hi, I'm having a challenging time trying to get CAN FD working between two Teensys. On the sender side, I am using this code: /* CAN Bus */ FlexCAN_T4FD<CAN3, RX_SIZE_256, TX_SIZE_16> can3; CANFD_message_t...
    1116 replies | 187655 view(s)
  • brtaylor's Avatar
    11-09-2022, 03:49 PM
    Yes, we do professional flight control and data acquisition systems with Teensy and it works great, especially with the dual precision FPU on Teensy 4.x. Depends on how fast of a response you're looking for, it...
    2 replies | 370 view(s)
  • brtaylor's Avatar
    10-17-2022, 02:35 AM
    Have you seen this library: https://github.com/martinmoene/optional-bare I've used it in the past to provide the functionality of optional.
    10 replies | 362 view(s)
  • brtaylor's Avatar
    10-12-2022, 03:41 PM
    I use SPI for most of my projects and it works great. In addition to the other suggestions, please make sure you're using the latest MPU-9250 library downloaded directly from GitHub if you're using the MPU-9250 to test....
    10 replies | 479 view(s)
  • brtaylor's Avatar
    10-11-2022, 04:56 PM
    For the MPU-9250 library, any digital pin should work as a CS pin. Just needs to be passed during object creation. bfs::Mpu9250 imu(&SPI1, 37); This is working for me... /* Mpu9250 object, SPI bus, CS on...
    10 replies | 479 view(s)
No More Results
About brtaylor

Basic Information

About brtaylor
Location:
Santa Fe, NM
Interests:
Drones, State-Estimation, Programming
Occupation:
CEO, Bolder Flight Systems Inc.

Statistics


Total Posts
Total Posts
800
Posts Per Day
0.33
Last Post
FlexCAN_T4 - FlexCAN for Teensy 4 Today 02:14 AM
General Information
Last Activity
Today 02:14 AM
Join Date
03-21-2016