439
Chapter 14
FCAN Interface Function
Preliminary User’s Manual U15839EE1V0UM00
14.2.4 Interrupt
handling
The very high number of interrupt events generated by the FCAN system does not allow to assign an
independent interrupt vector of the V850E/CA2 to each event. Therefore, the interrupt request signals
are bundled into groups and the grouped interrupt request signal is then assigned to an independent
interrupt vector.
The concept of interrupt request signal bundling leads to the fact that all interrupt request signals of the
FCAN system are designed as interrupt pending signals. Interrupt pending signals are not automati-
cally treated by an interrupt service routine like interrupt request signals with an unambiguous interrupt
vector. Rather, on occurrence of the interrupt event the interrupt signal is generated and latched.
In the interrupt service routine the software must analyse, which particular interrupt event caused the
interrupt request by scanning the interrupt pending flags of a bundled interrupt signal group. After the
particular interrupt has been identified, the corresponding interrupt pending flag must be reset by soft-
ware at least before leaving the interrupt service routine.
Figure 14-4:
FCAN Interrupt Bundling of V850E/CA2
Note: CAN module 3 and CAN module 4 are available in the derivatives µPD703129 (A) and
µPD703129 (A1) only.
Remark:
x = 1 to 2 for the derivative µPD703128 (A), x = 1 to 4 for the derivatives µPD703129 (A)
and µPD703129 (A1)
CxINT6
0
CxINT5 CxINT4 CxINT3 CxINT2 CxINT1 CxINT0
CxINTP
CANxERR
CCINTP
GINT3
GINT1
CGINTP
Register Set
and clear Logic
set and clear signal
Bit10
Bit11
Bit12
Bit13
Bit14
Bit15
Bit9 Bit8
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2
Bit1 Bit0
GINT2
0
0
0
GINT4
INTMAC
CAN2ERR
CAN2REC
CAN2TRX
CAN1ERR
CAN1REC
CAN1TRX
CANxREC
CANxTRX
INTMAC
0
0
0
0
0
GINT7
INTACT
CAN3ERR
CAN3REC
CAN3TRX
Bit26
Bit27
Bit28
Bit29
Bit30
Bit31
Bit25 Bit24 Bit23 Bit22 Bit21 Bit20 Bit19 Bit18 Bit17 Bit16
CAN4ERR
CAN4REC
CAN4TRX
0
0
0
0
0
0
0
0
0
0
0
0
0
Summary of Contents for mPD703128
Page 6: ...6 Preliminary User s Manual U15839EE1V0UM00 ...
Page 20: ...20 Preliminary User s Manual U15839EE1V0UM00 ...
Page 32: ...32 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 154: ...154 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 238: ...238 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 356: ...356 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 522: ...522 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 600: ...600 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 610: ...610 Preliminary User s Manual U15839EE1V0UM00 ...
Page 612: ......