S32DS 5748G_SDK_3.0 question

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

S32DS 5748G_SDK_3.0 question

跳至解决方案
771 次查看
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 项奖励
回复
1 解答
691 次查看
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 项奖励
回复
2 回复数
692 次查看
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 项奖励
回复
691 次查看
longfeiwang
Contributor III

thks

0 项奖励
回复