CHAPTER 8 8/16-BIT CAPTURE TIMER/COUNTER

8.98/16-bit Capture Timer/Counter Operation in Each Mode

This section describes the operation of the 8/16-bit capture timer/counter when it switches to the sleep or stop mode or when a halfway stop request is issued during the operation of the interval timer or counter function.

Operation in Standby Mode and at Halfway Stop

Figure 8.9-1shows the counter value states if the 8/16-bit capture timer/counter switches to the sleep or stop mode or when a halfway stop request is issued when the interval timer or counter function is in operation (at timer 0 operation).

When the counter switches to the stop mode, it retains the value and stops. If the stop mode is released by an external interrupt, the counter starts its operation at the retained value, and so the first interval time and external clock count are incorrect. When the stop mode is released, the 8/16-bit capture timer/counter must be initialized.

When the counter is temporarily stopped (TSTR0 = 0), it retains its value and stops. If the subsequent operation is continued (TSTR0 = 1), the count value is cleared and the counter is restarted.

Figure 8.9-1 Counter Operation in Standby Mode and at Halfway Stop

 

Counter value

 

 

 

 

 

Value set in data

 

 

 

 

 

register

 

 

 

 

 

 

 

0000H

 

 

 

 

Time

 

Start

Match

Match

 

 

 

Match

Match

Match

Counter clear

 

 

 

 

 

 

 

 

 

Temporary stop

 

 

TSTR0 bit

Clear by program

 

 

 

 

 

 

 

 

 

 

TIF0 bit

 

 

 

 

 

 

 

 

 

*

 

 

TO pin

 

 

 

 

 

 

 

 

Sleep

 

 

 

SLP bit

 

 

 

 

 

 

(STBC register) Sleep release by IRQ3

 

Stop

 

 

STP bit

 

 

 

 

 

(STBC register)

 

External interrupt

 

 

 

 

 

 

 

*:

When the pin state specification bit (SPL) of the standby control register (STBC) is "1" and the TO pin is not

 

pulled up, the TO pin in the stop mode becomes Hi-Z. When the pin state specification bit (SPL) is "0", the value

 

immediately before the 8/16-bit capture timer/counter switches to the stop mode is retained.

 

 

 

 

 

 

197

Page 213
Image 213
Fujitsu F202RA, MB89202 manual 8/16-bit Capture Timer/Counter Operation in Each Mode

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.