EasyManua.ls Logo

Texas Instruments TMS570LC4357

Texas Instruments TMS570LC4357
2208 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
Loading...
Offset(n)
Window(n)
Offset(n+1)
Window(n+1)
Period
Offset(n)
Window(n)
Offset(n+1)
Window(n+1)
Offset(n)
Window(n)
Offset(n+1)
Window(n+1)
TBCLK
CTR = PRD
orCTR = 0
BLANKWDW
BLANKWDW
BLANKWDW
ePWM Submodules
www.ti.com
2054
SPNU563AMarch 2018
Submit Documentation Feedback
Copyright © 2018, Texas Instruments Incorporated
Enhanced Pulse Width Modulator (ePWM) Module
Figure 35-50. Blanking Window Timing Diagram
35.2.10 Proper Interrupt Initialization Procedure
When the ePWM peripheral clock is enabled it may be possible that interrupt flags may be set due to
spurious events due to the ePWM registers not being properly initialized. The proper procedure for
initializing the ePWM peripheral is as follows:
1. Disable global interrupts (CPU INTM flag)
2. Disable ePWM interrupts
3. Set TBCLKSYNC = 0
4. Initialize peripheral registers
5. Set TBCLKSYNC = 1
6. Clear any spurious ePWM flags (including interrupt flags)
7. Enable ePWM interrupts
8. Enable global interrupts

Table of Contents

Related product manuals