Hi,
we are developing a project with CAN and we can't understand a behavioral: in the MCAN example NXP use MCAN_TransferCreateHandle to create handle and then MCAN_TransferReceiveFifoNonBlocking to enable the message reception. In our code we user only MCAN_TransferCreateHandle to create handle and then we manage only the callback and it works, but we don't understand why!
which is the difference?
Thanks
Marco
Hello @MarcoGiammarini
MCAN_TransferCreateHandle() is set send/receive interrupt call back function.
MCAN_TransferReceiveFifoNonBlocking()is config some receive related registers.
If you do not call it, the registers keep default value. So maybe it also can work.
BR
Alice