Interrupt Sources
PIE Registers
PIE Registers
INTx
INTx
.2
.2
INTx
INTx
.3
.3
INTx
INTx
.4
.4
INTx
INTx
.5
.5
INTx
INTx
.6
.6
INTx
INTx
.7
.7
INTx
INTx
.8
.8
INTx
INTx
.1
.1
0
0
1
1
2
2
3
3
4
4
5
5
6
6
7
7
15
15
-
-
8
8
reserved
PIEIFRx
PIEIFRx
register (x = 1 to 12)
register (x = 1 to 12)
INTx
INTx
.2
.2
INTx
INTx
.3
.3
INTx
INTx
.4
.4
INTx
INTx
.5
.5
INTx
INTx
.6
.6
INTx
INTx
.7
.7
INTx
INTx
.8
.8
INTx
INTx
.1
.1
0
0
1
1
2
2
3
3
4
4
5
5
6
6
7
7
15
15
-
-
8
8
reserved
PIEIERx
PIEIERx
register (x = 1 to 12)
register (x = 1 to 12)
reserved
PIEACKx
PIEACKx
PIE Interrupt Acknowledge Register (PIEACK)
PIE Interrupt Acknowledge Register (PIEACK)
1
1
2
2
4
4
3
3
5
5
6
6
7
7
8
8
9
9
0
0
10
10
11
11
15
15
-
-
12
12
ENPIE
ENPIE
PIEVECT
PIEVECT
PIECTRL register
PIECTRL register
0
0
15
15
-
-
1
1
#include “DSP281x_Device.h”
PieCtrlRegs.PIEIFR1.bit.INTx4 = 1; //manually set IFR for XINT1 in PIE group 1
PieCtrlRegs.PIEIER3.bit.INTx5 = 1; //enable CAPINT1 in PIE group 3
PieCtrlRegs.PIEACK.all = 0x0004; //acknowledge the PIE group 3
PieCtrlRegs.PIECTRL.bit.ENPIE = 1; //enable the PIE
PIE Interrupt Vector Table
Prio
Prio
Vector
Vector
Offset
Offset
Default Interrupt Vector Table at Reset
Default Interrupt Vector Table at Reset
Memory
Memory
0
0
BROM Vectors
BROM Vectors
64 W
64 W
0x3F FFC0
0x3F FFC0
0x3F FFFF
0x3F FFFF
PIE Vectors
PIE Vectors
256 W
256 W
0x00 0D00
0x00 0D00
4
4
2
2
3
3
DlogInt
DlogInt
RtosInt
RtosInt
EmuInt
EmuInt
NMI
NMI
02
02
04
04
06
06
08
08
0A
0A
0C
0C
0E
0E
10
10
12
12
14
14
16
16
18
18
1A
1A
1C
1C
1E
1E
20
20
22
22
24
24
26
26
28
28
-
-
3E
3E
-
-
-
-
Illegal
Illegal
User 1
User 1
-
-
12
12
5
5
6
6
7
7
8
8
9
9
10
10
11
11
12
12
13
13
14
14
15
15
16
16
17
17
18
18
19
19
Int
Int
1
1
Int
Int
2
2
Int
Int
3
3
Int
Int
4
4
Int
Int
5
5
Int
Int
6
6
Int
Int
7
7
Int
Int
8
8
Int
Int
9
9
Int
Int
10
10
Int
Int
11
11
Int
Int
12
12
Int
Int
13
13
Int
Int
14
14
1
1
Reset
Reset
00
00
Default Vector Table
Default Vector Table
Remapped when
Remapped when
ENPIE = 1
ENPIE = 1
PIE vector generated by
PIE vector generated by
config
config
Tool
Tool
Used to initialize PIE vectors
Used to initialize PIE vectors
4 - 10
C28x - Reset and Interrupts
Summary of Contents for C28 Series
Page 64: ...Summary 3 16 C28x Peripheral Registers Header Files ...
Page 78: ...Interrupt Sources 4 14 C28x Reset and Interrupts ...
Page 218: ...Lab 9 DSP BIOS 9 22 C28x Using DSP BIOS ...
Page 244: ...Lab 10 Programming the Flash 10 26 C28x System Design ...
Page 273: ...Appendix A eZdsp F2812 C28x Appendix A eZdsp F2812 A 1 ...
Page 276: ...Appendix P2 Expansion Interface A 4 C28x Appendix A eZdsp F2812 ...
Page 277: ...Appendix P4 P8 P7 I O Interface C28x Appendix A eZdsp F2812 A 5 ...
Page 278: ...Appendix A 6 C28x Appendix A eZdsp F2812 ...
Page 279: ...Appendix P5 P9 Analog Interface C28x Appendix A eZdsp F2812 A 7 ...
Page 282: ...Appendix A 10 C28x Appendix A eZdsp F2812 TP1 TP2 Test Points ...