S32DS 5748G_SDK_3.0 question

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

S32DS 5748G_SDK_3.0 question

Jump to solution
633 Views
longfeiwang
Contributor III

I found a problem in the file of flexcan_driver.c ,The following interrupts are enabled whether the FIFO interrupt is used in the function static status_t FLEXCAN_StartRxMessageFifoData(uint8_t instance,flexcan_msgbuff_t *data,bool isBlocking).

pastedImage_1.png

Is this a bug or a special consideration?

0 Kudos
1 Solution
553 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi, 

this is normal setting. When RXFIFO is used MB5, MB6 and MB7 flags are set to indicate message is available, RXFIFO is almost full and RXFIFO overflow. So mask bits are set to enable interrupts to be generated when those flags are set.

See more in chapter 43.5.8 Rx FIFO of the device RM.

BR, Petr

View solution in original post

0 Kudos
2 Replies
554 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi, 

this is normal setting. When RXFIFO is used MB5, MB6 and MB7 flags are set to indicate message is available, RXFIFO is almost full and RXFIFO overflow. So mask bits are set to enable interrupts to be generated when those flags are set.

See more in chapter 43.5.8 Rx FIFO of the device RM.

BR, Petr

0 Kudos
553 Views
longfeiwang
Contributor III

thks

0 Kudos