Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • samduino's Avatar
    Today, 06:35 AM
    Thanks for the hints, I got it to work after I realised, that I have to set the whole config values once again instead of simply change the baudrate. Another question: My program works perfectly with config.clock at...
    854 replies | 108281 view(s)
  • samduino's Avatar
    10-19-2021, 08:25 AM
    No my bus has 500kBaud arbitration and 2MBaud datarate. Arbitration stays always the same, only datarate will change. I am using the config defaults, in case you mean CANFD_timings_t config; What do you mean with...
    854 replies | 108281 view(s)
  • samduino's Avatar
    10-18-2021, 02:53 PM
    Thanks for the answer Bruce, but I'am missing something. When I try to switch through different baudrates I came across the FLEXCAN_FDRATES enum typedef*enum*FLEXCAN_FDRATES*{ **CAN_1M_2M, **CAN_1M_4M,...
    854 replies | 108281 view(s)
  • samduino's Avatar
    10-13-2021, 02:16 PM
    But how can I detect, that the interrupt is firing? Is there a flag, something like a bool, which is true when recognized CAN data with a correct baud rate?
    854 replies | 108281 view(s)
  • samduino's Avatar
    10-11-2021, 08:30 AM
    I can activate listen only mode only by using the setBaudRate()-fuction, right? My approach would be to loop through the possible baudrates but how can I detect whether the callback start or not? With callback you...
    854 replies | 108281 view(s)
  • samduino's Avatar
    10-11-2021, 07:41 AM
    Ok thank you, but I am not sure how to adapt the baudrate dynamically. I tried following: CAN_FD.begin(); config.baudrate = 500000; config.baudrateFD = CAN_FD.setBaudRate(config, LISTEN_ONLY); ...
    854 replies | 108281 view(s)
  • samduino's Avatar
    10-07-2021, 08:24 AM
    Ok, so the CAN-FD input does not support listen-only mode? Because in my case, the CAN-FD data-baudrate could change
    854 replies | 108281 view(s)
  • samduino's Avatar
    10-07-2021, 08:05 AM
    Thanks a lot - I checked my wiring and now it works perfectly:) I have another question: Is there a "silent mode" where it is possible to detect the baudrate of the CAN/CAN-FD network? For example if you connect...
    854 replies | 108281 view(s)
  • samduino's Avatar
    10-01-2021, 12:26 PM
    Sorry, but I think you did not understand my problem because the answer does not match my question correctly. Do you, or somebody else need further information to help me with sending CAN-messages correctly? Do I...
    854 replies | 108281 view(s)
  • samduino's Avatar
    10-01-2021, 09:20 AM
    I don't really understand this. Does it mean that I can use mailboxStatus() only by sending or receiving CAN at CAN3 (Pins 30, 31 on Teensy 4.0)? In the following serial-prints maybe I can show my problem in a better...
    854 replies | 108281 view(s)
  • samduino's Avatar
    09-30-2021, 02:03 PM
    Alright, thanks. I have another question regarding the mailboxes for transmitting. Now my program is able to split a CAN-FD message into the right amount of necessary CAN messages with the corresponding payload. The...
    854 replies | 108281 view(s)
  • samduino's Avatar
    09-28-2021, 09:15 AM
    Perfect, the len_to_dlc-functions helps me to go on Only for my understanding: - receiving data from interrupts happens when using onReceive() instead of the read()? - events() is the basis of onReceive() because...
    854 replies | 108281 view(s)
  • samduino's Avatar
    09-27-2021, 11:29 AM
    Hey guys, My intention is to build a gateway that splits a CAN-FD frame into several CAN frames. My approach would be: If there is a CAN-FD frame with DLC = 15 (64 byte payload), I divide the content into 8 CAN...
    854 replies | 108281 view(s)
  • samduino's Avatar
    09-22-2021, 01:00 PM
    Hi msadie, in fact youre right - thanks! Now I am getting Data I tried it before, but there was presumably another mistake
    854 replies | 108281 view(s)
  • samduino's Avatar
    09-22-2021, 12:47 PM
    Hi guys, I have some basic beginner questions about Teensy 4.0 in conjunction with the FlexCAN_T4 library, since my attempts to read CAN signals have not been successful so far.My experimental setup is as follows:...
    854 replies | 108281 view(s)
No More Results
About samduino

Basic Information

Statistics


Total Posts
Total Posts
15
Posts Per Day
0.44
Last Post
FlexCAN_T4 - FlexCAN for Teensy 4 Today 06:35 AM
General Information
Last Activity
Today 06:36 AM
Join Date
09-22-2021