Skip to main content
matheuscaltran
Associate II
November 16, 2023
Solved

send 3 more Tx Header using FD CAN

In the case of normal CAN, the mailboxes were full and to send more than 3, use HAL_CAN_GetTxMailboxesFreeLevel(hcan) != 3

In the case of DF CAN there are no mainboxes but FIFO or Queue mode, how do I empty it in DF CAN? without using delay and of course

I'm using DF CAN as a normal configuration communicating with an esp32, I can already receive the 3 values with the esp32, I just need to know how to clear the FIFO

 

 

    This topic has been closed for replies.
    matheuscaltran
    matheuscaltranBest answer
    Associate II
    November 16, 2023

    Reading about the HAL DF CAN library I found: HAL_FDCAN_GetTxFifoFreeLevel(hfdcan) != 3

    1 reply

    matheuscaltran
    matheuscaltranAuthorBest answer
    Associate II
    November 16, 2023

    Reading about the HAL DF CAN library I found: HAL_FDCAN_GetTxFifoFreeLevel(hfdcan) != 3