LPC55xx - MCAN - TX Event Fifo

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC55xx - MCAN - TX Event Fifo

Jump to solution
772 Views
SynBilly
Contributor III

Hi there,

we are using a LPC5504 and we are sending CAN messages via "TX BUFFERs" (not via TX-Fifo, not via TX-Queue).

We expected that each time we successfully send a TX BUFFER, an entry would be written to the "TX Event FIFO" (message ID and timestamp, etc.). However, this is not the case for us. The "TX Event FIFO" remains empty and register "TXEFS" is 0x00.

Does the "TX Event FIFO" only work when sending CAN messages via TX-FIFO or TX-QUEUE?

Does the "TX Event FIFO" function have to be enabled explicitly somehow?
("TXEFC" is configured to 0x08100014 in our case)

 

Best regards, Andy

 

Labels (2)
Tags (2)
0 Kudos
Reply
1 Solution
732 Views
SynBilly
Contributor III

Ok, I got it.

You have to enable the "Tx Event Logging" in each TX buffer by setting bit "EFC".

SynBilly_0-1685004340181.png

 

SynBilly_1-1685004349306.png

 

You can use the function MCAN_WriteTxBuffer() to configure the TX buffer accordingly.

View solution in original post

0 Kudos
Reply
1 Reply
733 Views
SynBilly
Contributor III

Ok, I got it.

You have to enable the "Tx Event Logging" in each TX buffer by setting bit "EFC".

SynBilly_0-1685004340181.png

 

SynBilly_1-1685004349306.png

 

You can use the function MCAN_WriteTxBuffer() to configure the TX buffer accordingly.

0 Kudos
Reply