Flexcan with Vybrid VF6x and MQX4.1

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

Flexcan with Vybrid VF6x and MQX4.1

跳至解决方案
1,612 次查看
adrianverity
Contributor IV

I am trying to use the Flexcan for the BSP_VYBRID_AUTOEVB_A5.

I am using the the MQX 4.1 fsl_flexcan_driver, fsl_flexcan_hal and fsl_flexcan_int files.

The example code does not install the interrupt for the BSP_VYBRID_AUTOEVB_A5.

If I install the flexcan_irq_handler by using the FLEXCAN_Install_isr/FLEXCAN_Int_enable functions it constantly triggers the interrupt function but there are no Flags (IFLAG1 or ESR1) set for the trigger of the interrupt. 

No other code can run as the interrupt is constanly re-executed.

Are there any other triggers for the interrupt I am missing that are not cleared by the irq_handler - or any one any ideas ?

Thank you,

Adrian

标签 (3)
标记 (2)
0 项奖励
1 解答
1,121 次查看
adrianverity
Contributor IV

For anyone else's informaiton, it was the Memory Error Detection and Correction Interrupts that were causing me the issue - these aren't implmeneted and therefore not cleared in the fsl_flexcan_driver code..

CAN is now working..

Thank you,

Adrian

在原帖中查看解决方案

0 项奖励
1 回复
1,122 次查看
adrianverity
Contributor IV

For anyone else's informaiton, it was the Memory Error Detection and Correction Interrupts that were causing me the issue - these aren't implmeneted and therefore not cleared in the fsl_flexcan_driver code..

CAN is now working..

Thank you,

Adrian

0 项奖励