EasyManuals Logo

Texas Instruments TMS320F2837 D Series Workshop Guide And Lab Manual

Texas Instruments TMS320F2837 D Series
324 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #82 background imageLoading...
Page #82 background image
Interrupts
4 - 18 TMS320F2837xD Microcontroller Workshop - Reset and Interrupts
PIE Initialization Code Flow - Summary
RESET
<0x3F FFC0>
Reset Vector
<reset vector> = Boot Code
Flash Entry Point
<0x08 0000> = LB _c_int00
M0 RAM Entry Point
<0x00 0000> = LB _c_int00
_c_int00:
CALL main()
•
•
•
OR
main()
{ initialization();
}
Initialization()
{
Load PIE Vectors
Enable the PIE
Enable PIEIER
Enable Core IER
Enable INTM
}
PIE Vector Table
512 Word RAM
0x00 0D00 – 0EFF
•
•
•
Main.c
CodeStartBranch.asm
rts2800_fpu32.lib
Boot option determines
code execution entry point
interrupt void name(void)
{
}
•
•
•
DefaultIsr.c
Interrupt
.sect “codestart”
In summary, the PIE initialization code flow is as follows. After the device is reset and execution
of the boot code is completed, the selected boot option determines the code entry point. In this
figure, two different entry points are shown. The one on the left is for memory block M0 RAM,
and the one on the right is for flash.
In either case, the CodeStartBranch.asm file has a Long Branch instruction to the entry point of
the runtime support library. After the runtime support library completes execution, main is called.
In main, a function is called to initialize the interrupt process and enable the PIE module. When
the CPU receives an interrupt, the vector address of the ISR is fetched from the PIE RAM, and
the interrupt with the highest priority that is both flagged and enabled is executed. Priority is
determined by the location within the interrupt vector table.

Table of Contents

Other manuals for Texas Instruments TMS320F2837 D Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TMS320F2837 D Series and is the answer not in the manual?

Texas Instruments TMS320F2837 D Series Specifications

General IconGeneral
BrandTexas Instruments
ModelTMS320F2837 D Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals