EasyManua.ls Logo

Texas Instruments TMS320F2837 D Series User Manual

Texas Instruments TMS320F2837 D Series
52 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 #26 background imageLoading...
Page #26 background image
Advisory (continued) FPU: LUF, LVF Flags are Invalid for the EINVF32 and EISQRTF32 Instructions
Here is an example:
_flag_LVFLUF_set .usect ".ebss",2,1,1
...
MOV32 *SP++,STF ; Save off current status flags
; Load the PieCtrlRegs page to the DP
MOVW DP, #_PieCtrlRegs.PIEIER12.all
; Zero out PIEIER12.7/8, i.e. disable LUF/LVF interrupts
AND @_PieCtrlRegs.PIEIER12.all, #0xFF3F
EISQRTF32/EINVF32 ; Execute operation
MOVL XAR3, #_flag_LVFLUF_set ; Wait for operation to complete
MOV32 *+XAR3[0], STF ; save STF to _flag_LVFLUF_set
AND *+XAR3[0], #0x3 ; mask everything but LUF/LVF
; Clear Latched overflow, underflow flag
SETFLG LUF=0, LVF=0
; Re-enable PIEIER12.7/8, i.e. re-enable the LUF/LVF interrupts
OR @_PieCtrlRegs.PIEIER12.all, #0x00C0
MOV32 STF,*--SP ; Restore previous status flags
In the ISR,
__interrupt void fpu32_luf_lvf_isr (void)
{
// Check the flag for whether the LUF, LVF flags set by
// either EISRTF32 or EINVF32
if((flag_LVFLUF_set & 0x3U) != 0U)
{
//Reset flag
flag_LVFLUF_set = 0U;
// Do Nothing
}
else
{
//If flag_LVFLUF_set was not set then this interrupt
// is the legitimate result of an overflow/underflow
// from an FPU operation (not EISQRTF32/EINVF32)
...
// Handle Overflow/Underflow condition
...
...
...
}
// Ack the interrupt and exit
}
Silicon Revision C Usage Notes and Advisories www.ti.com
26 TMS320F2837xD Dual-Core Real-Time MCUs Silicon Errata (Silicon
Revisions C, B, A, 0)
SPRZ412M – DECEMBER 2013 – REVISED MARCH 2023
Submit Document Feedback
Copyright © 2023 Texas Instruments Incorporated

Table of Contents

Other manuals for Texas Instruments TMS320F2837 D Series

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

Summary

Abstract

Usage Notes and Advisories Matrices

Usage Notes Matrix

Lists all usage notes and their applicable silicon revisions.

Advisories Matrix

Lists all advisories, affected modules, and applicable silicon revisions.

Nomenclature, Package Symbolization, and Revision Identification

Device and Development Support Tool Nomenclature

Defines prefixes for product development stages and support tools.

Devices Supported

Lists the TMS320F2837xD device variants covered by this document.

Package Symbolization and Revision Identification

Explains device markings to identify package type and silicon revision.

Silicon Revision C Usage Notes and Advisories

Silicon Revision C Usage Notes

Details usage notes applicable to silicon revision C and earlier revisions.

Silicon Revision C Advisories

Lists technical advisories specific to silicon revision C and earlier.

Silicon Revision B Usage Notes and Advisories

Silicon Revision B Usage Notes

Refers to usage notes found on later silicon revisions for Revision B.

Silicon Revision B Advisories

Refers to advisories found on later silicon revisions for Revision B.

Silicon Revision A Usage Notes and Advisories

Silicon Revision A Usage Notes

Refers to usage notes found on later silicon revisions for Revision A.

Silicon Revision A Advisories

Refers to advisories found on later silicon revisions for Revision A.

Silicon Revision 0 Usage Notes and Advisories

Silicon Revision 0 Usage Notes

Refers to usage notes found on later silicon revisions for Revision 0.

Silicon Revision 0 Advisories

Refers to advisories found on later silicon revisions for Revision 0.

Documentation Support

Trademarks

Revision History

Related product manuals