MB91F465XA EMULATION
Chapter 3 Differences between MB91F465XA and Emulation System
© Fujitsu Microelectronics Europe GmbH
- 15 -
MCU-AN-300015-E-V11
3.2.8 E-Ray Interrupts
The FlexRay communication controller can be configured to request interrupts to MCU for
different occurrence (See E-Ray User’s Manual).
MB91F465XA:
In MB91F465XA series four E-Ray interrupt sources are assigned to
four interrupt vector
numbers
:
•
E-Ray interrupt line0: number 84
•
E-Ray interrupt line1: number 86
•
E-Ray timer 0: number 85
•
E-Ray timer 1: number 87
The E-Ray interrupt registers must be setup accordingly.
In the interrupt service routine (ISR) the according E-Ray interrupt flag must be cleared.
To define the interrupt level register ICR34 and ICR35 must be set.
For further details refer to file vectors.c and MB91F465XA series Datasheet.
Emulation System:
For the emulation system four E-Ray interrupts are connected to
three MCU external
interrupts inputs
:
•
E-Ray interrupt line0 is connected to external interrupt 15
•
E-Ray interrupt line1 is connected to external interrupt 13
•
E-Ray interrupt timer 0 and timer 1 are connected to external interrupt 11
In addition to the E-Ray interrupt registers the according external interrupt registers must
also be set. Rising edge detection should be chosen. Port function must be set accordingly
for external interrupt input (DDR=0, PFR=1).
In the Interrupt service routine (ISR) both of the E-Ray interrupt flag and the external
interrupt flag must be cleared.
To define the interrupt level set the register ICR05, ICR06 and ICR07.
For further details refer to file vectors.c and MB91460A series hardware manual.
3.2.9 Interrupt Vector Table (file vectors.c)
As mentioned above the emulation system uses a different interrupt assignment than the
MB91F465XA series. This results in different number usage in the interrupt vector table.
MB91F465XA series:
•
E-Ray interrupt line0 (number 84 )
•
E-Ray interrupt line1 (number 86)
•
E-Ray timer 0 (number 85)
•
E-Ray timer 1 (number 87)