Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: samduino

Search: Search took 0.00 seconds.

  1. Replies
    853
    Views
    107,744

    No my bus has 500kBaud arbitration and 2MBaud...

    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...
  2. Replies
    853
    Views
    107,744

    Thanks for the answer Bruce, but I'am missing...

    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,...
  3. Replies
    853
    Views
    107,744

    But how can I detect, that the interrupt is...

    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?
  4. Replies
    853
    Views
    107,744

    I can activate listen only mode only by using the...

    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? ...
  5. Replies
    853
    Views
    107,744

    Ok thank you, but I am not sure how to adapt the...

    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 =...
  6. Replies
    853
    Views
    107,744

    Ok, so the CAN-FD input does not support...

    Ok, so the CAN-FD input does not support listen-only mode?
    Because in my case, the CAN-FD data-baudrate could change
  7. Replies
    853
    Views
    107,744

    Thanks a lot - I checked my wiring and now it...

    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...
  8. Replies
    853
    Views
    107,744

    Sorry, but I think you did not understand my...

    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...
  9. Replies
    853
    Views
    107,744

    I don't really understand this. Does it mean that...

    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...
  10. Replies
    853
    Views
    107,744

    Alright, thanks. I have another question...

    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...
  11. Replies
    853
    Views
    107,744

    Perfect, the len_to_dlc-functions helps me to go...

    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...
  12. Replies
    853
    Views
    107,744

    Hey guys, My intention is to build a gateway...

    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...
  13. Replies
    853
    Views
    107,744

    Hi msadie, in fact youre right - thanks! Now I...

    Hi msadie,
    in fact youre right - thanks! Now I am getting Data
    I tried it before, but there was presumably another mistake
  14. Replies
    853
    Views
    107,744

    Can not receive CAN-Bus Frames with Teensy in conjunction with Waveshare SN65HVD230 C

    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...
Results 1 to 14 of 14