CONTENTS

7.4.5 Determining Serial Port Status

7-15

CHAPTER 8

 

FREQUENCY GENERATOR

 

8.1

FUNCTIONAL OVERVIEW

8-1

8.2

PROGRAMMING THE FREQUENCY GENERATOR

8-3

8.2.1

 

Configuring the Output

8-3

8.2.2

 

Programming the Frequency

8-3

8.2.3 Determining the Current Value of the Down-counter

8-4

8.3

APPLICATION EXAMPLE

8-4

CHAPTER 9

 

WAVEFORM GENERATOR

 

9.1

WAVEFORM GENERATOR FUNCTIONAL OVERVIEW

9-1

9.2

WAVEFORM GENERATOR SIGNALS AND REGISTERS

9-3

9.3

WAVEFORM GENERATOR OPERATION

9-4

9.3.1

 

Timebase Generator

9-4

9.3.2

 

Phase Driver Channels

9-5

9.3.3 Control and Protection Circuitry

9-5

9.3.4

 

Register Buffering and Synchronization

9-6

9.3.5

 

Operating Modes

9-7

9.3.5.1

Center-aligned Modes

9-9

9.3.5.2

Edge-Aligned Modes

9-10

9.4

PROGRAMMING THE WAVEFORM GENERATOR

9-12

9.4.1

 

Configuring the Outputs

9-12

9.4.2 Controlling the Protection Circuitry and EXTINT Interrupt Generation

9-15

9.4.3 Specifying the Carrier Period and Duty Cycle

9-16

9.4.4 Specifying the Operating Mode and Dead Time and Starting the Counter

9-17

9.5

DETERMINING THE WAVEFORM GENERATOR’S STATUS

9-19

9.6

ENABLING THE WAVEFORM GENERATOR INTERRUPTS

9-19

9.7

DESIGN CONSIDERATIONS

9-20

9.7.1 Dead Time and Duty Cycle

9-20

9.7.2 EXTINT Interrupts and Protection Circuitry

9-21

9.8

PROGRAMMING EXAMPLE

9-21

CHAPTER 10

 

PULSE-WIDTH MODULATOR

 

10.1

PWM FUNCTIONAL OVERVIEW

10-1

10.2

PWM SIGNALS AND REGISTERS

10-2

10.3

PWM OPERATION

10-3

10.4

PROGRAMMING THE FREQUENCY AND PERIOD

10-4

10.5

PROGRAMMING THE DUTY CYCLE

10-6

10.5.1

Sample Calculations

10-7

vii

Page 10
Image 10
Intel 8XC196MH, 8XC196MD Functional Overview Programming the Frequency Generator, Application Example, Programming Example