Flexcan with Vybrid VF6x and MQX4.1

cancel
Showing results for 
Search instead for 
Did you mean: 

Flexcan with Vybrid VF6x and MQX4.1

Jump to solution
537 Views
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

Labels (3)
Tags (2)
0 Kudos
1 Solution
46 Views
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

View solution in original post

0 Kudos
1 Reply
47 Views
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

View solution in original post

0 Kudos