Flexcan with Vybrid VF6x and MQX4.1

キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

Flexcan with Vybrid VF6x and MQX4.1

ソリューションへジャンプ
1,097件の閲覧回数
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 解決策
606件の閲覧回数
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 返信
607件の閲覧回数
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 件の賞賛