CHAPTER 9 12-BIT PPG TIMER

Cycle period = Compare value for cycle period Count clock cycle period

=011110H (30-clock period) 2 4/FCH

=30 2 0.32 s = 19.2 s

"H" width = Compare value for "H" width Count clock cycle period = 001010B (10-clock width) 2 4/FCH

=10 2 0.32 s =6.4 s

If the set "H" width is equal to or greater than the set cycle period, "H" level outputs occur.

12-bit PPG Function

The timer’s programmable pulse output generator function can be used as a 12-bit PPG because it can set a cycle period and "H" pulse width of output pulse waveforms separately. A range of controllable duty cycles is 0.02% to 100%. However, the smaller the compare value for the cycle period, the lower the resolution (the greater a minimum-step duty cycle).

If the compare value for the cycle period is "2", a comparative setting of "H" pulse width is 1 or 2 (a duty cycle of 50% or 100%) and the resolution is 1/2.

An output frequency and a duty cycle can be calculated using the following equations:

Output pulse cycle period = Compare value for cycle period Count clock cycle period

Duty cycle = Compare value for "H" width/Compare value 100(%)

Table 9.1-2lists available resolution values, minimum-step duty cycles, and output pulse cycle periods.

Table 9.1-2 Resolutions and Output Pulse Cycle Periods Supported when the Timer is Used as a 12-bit PPG (1/2)

Compare

Range of

 

Output pulse cycle period

 

 

 

available

 

 

 

 

 

Minimum-

value for

 

 

 

 

 

compare

 

 

 

 

Resolution

step duty

cycle

Count clock

Count clock

Count clock

Count clock

values for

 

cycle

period

= 2 tINST

= 4 tINST

= 16 tINST

= 256 tINST

 

"H" width

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

-

 

 

Unavailable

 

 

 

 

 

 

 

 

1

-

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2

1, 2

4 tINST

8 tINST

32 tINST

512 tINST

1/2

50.0%

3

1 to 3

6 tINST

12 tINST

48 tINST

768 tINST

1/3

33.3%

4

1 to 4

8 tINST

16 tINST

64 tINST

1024 tINST

1/4

25.0%

5

1 to 5

10 tINST

20 tINST

80 tINST

1280 tINST

1/5

20.0%

6

1 to 6

12 tINST

24 tINST

96 tINST

1536 tINST

1/6

16.7%

7

1 to 7

14 tINST

28 tINST

112 tINST

1792 tINST

1/7

14.3%

8

1 to 8

16 tINST

32 tINST

128 tINST

2048 tINST

1/8

12.5%

207

Page 223
Image 223
Fujitsu F202RA, MB89202 manual Bit PPG Function, 207

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.