This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

FlexRay interrupts in VIM

Hello,

I need to handle interrupts generated by the FR controller. I know that the VIM defines the following:

18 : FlexRay High

32 : FlexRay Low

48 : FlexRay TU

52 : FlexRay T0C

62 : FlexRay T1C

However, that's only 5 different interrupt sources. In the documentation it shows that the FR controller has the following:

TU_Intr0

TU_Intr1

TU_UCT_err

TU_MPV_err

CC_int0

CC_int1

CC_tint0

CC_tint1

Which are 8 different sources. I couldn't find anywhere how these map onto the VIM lines. Does anybody know?

Thanks

  • Martin,

    Most of our peripherals have more than 2 interrupt sources within the module. Within the peripheral these interrupts can be mapped to high priority or low priority interrupts that feed into the VIM.

    CC_Int0 is the same as FlexRay level 0 and CC_Int1 is the same as FlexRay level 1. EILS and SILS registers are used to map the FlexRay CC interrupts to the level 0 or level 1 interrupt lines.

    The FlexRay T0C and T1C interrupts are dedicated interrupts for the timers within the FlexRay CC. But we do not recommend the use of these interrupts. Instead these should to mapped to FlexRay level 0 or level 1 interrupt.

    Regards,

    Abhishek

  • Thanks,

    it's clear now.

    Have a nice day