CHAPTER 7 8-BIT PWM TIMER

7.1Overview of 8-bit PWM Timer

An 8-bit PWM timer has the interval timer functions and the PWM timer functions of an 8-bit resolution. A counter is incremented using interval timer functions in synchronization with three types of internal count clocks or the output of 8/16-bit capture timer/counter. The user can select one of these functions. Therefore, the 8-bit interval timer can be set and the square wave of any frequency can be output using the set output. In addition, if a low-pass filter is connected to the PWM output, the D/A converter can be used.

Interval Timer Functions (Functions to Output the Square Wave)

Interrupts are generated repeatedly at any interval by the interval timer functions.

Because the output level of the pin (P50/PWM pin) can be inverted for each interrupt, the square wave of any frequency can also be output.

An interval timer operation from the cycle of the count clock to 28-times cycle is possible.

The count clock can be selected from four types.

Table 7.1-1shows the range of intervals and square wave output.

Table 7.1-1 Range of Intervals and Square Wave Output

 

Count clock cycle

Interval

 

Square wave output (Hz)

1

 

1tINST

1t

to 28t

 

1/ (2t

INST

) to 1/ (29t

INST

)

 

 

 

 

INST

INST

 

 

 

 

 

2

Internal count

16tINST

24t

to 212t

1/ (25t

INST

) to 1/ (213t

 

 

)

clock

 

 

 

 

INST

 

INST

 

 

 

INST

 

3

 

64tINST

26t

to 214t

1/ (27t

INST

) to 1/ (215t

 

 

)

 

 

 

INST

 

INST

 

 

 

INST

 

 

 

2tINST

2t

to 217t

INST

1/ (22t

INST

) to 1/ (210t

 

 

)

 

 

 

INST

 

 

 

 

INST

 

 

8/16-bit timer

32tINST

25t

to 221t

1/ (26t

INST

) to 1/ (214t

 

 

)

4

 

INST

 

INST

 

 

 

INST

 

count clock

512tINST

29t

to 225t

1/ (210t

 

 

) to 1/ (218t

 

 

 

 

 

 

 

 

 

 

)

 

 

INST

INST

 

 

 

INST

 

INST

 

 

 

 

 

 

 

1tEXT

1t

to 216t

EXT

1/ (2t

EXT

) to 1/ (29t

EXT

)

 

 

 

 

EXT

 

 

 

 

 

 

 

 

tINST: Instruction cycle (Affected by the clock mode and others.)

tEXT : Output cycle of an 8/16-bit capture timer

136

Page 152
Image 152
Fujitsu MB89202, F202RA manual Overview of 8-bit PWM Timer, BIT PWM Timer, Range of Intervals and Square Wave Output

F202RA, MB89202 specifications

The Fujitsu MB89202 and F202RA microcontrollers are part of the 16-bit microcontroller family, renowned for their robust performance and versatility in a variety of embedded system applications. These devices are tailored for high-efficiency operation across diverse industries, including automotive, consumer electronics, and industrial automation.

One of the main features of the MB89202 is its powerful CPU core, which operates at a clock speed of up to 20 MHz. This enables the microcontroller to perform complex calculations and consumer-grade applications seamlessly. The architecture is designed to handle multiple tasks effectively, making it suitable for real-time operations.

Memory capacity is a vital characteristic of the MB89202, featuring on-chip RAM and ROM configurations. The microcontroller can accommodate different memory variants, providing developers with flexibility in memory allocation based on their application requirements. This adaptability facilitates applications ranging from simple control systems to complex data processing tasks.

The F202RA variant extends the capabilities of the MB89202 by integrating advanced peripheral functions. It includes built-in timers, A/D converters, and serial communication interfaces, which are essential for interfacing with other hardware components or sensors. The availability of these peripherals reduces the need for additional external circuits, thus contributing to a more compact and cost-effective design.

In terms of power management, the MB89202 series employs advanced power-saving technologies. The microcontroller offers various low-power modes, enabling devices to conserve energy during idle times, making it highly suitable for battery-operated applications. This characteristic not only enhances the efficiency of devices but also extends their operational lifespan.

Moreover, the Fujitsu MB89202 series incorporates robust protection features, including watchdog timers and failure detection mechanisms. These safety features ensure reliable operation in critical systems, making them a preferred choice in applications where failure is not an option.

The MB89202 and F202RA microcontrollers also support a range of development tools and environments, including integrated development environments (IDEs) and software libraries, which facilitate rapid application development. With these tools, developers can efficiently prototype, debug, and optimize their applications.

In summary, the Fujitsu MB89202 and F202RA microcontrollers stand out with their efficient performance, extensive memory options, integrated peripherals, and power-saving capabilities, making them ideal for a wide array of embedded applications. Their reliability and robustness further enhance their attractiveness for designers seeking advanced microcontroller solutions.