CHAPTER 3 CPU

3.4Interrupts

The MB89202/F202RA series supports 12 interrupt request inputs corresponding to peripheral functions and allows an interrupt level to be assigned to each of the inputs. The interrupt controller compares levels of interrupts generated by peripheral functions when output of interrupt requests is allowed for peripheral functions. The CPU performs the interrupt operation according to its interrupt acceptance settings. The CPU cancels standby mode on reception of an interrupt request, then returns to the interrupt operation or normal operation.

Interrupt Requests from Peripheral Functions

Table 3.4-1lists the interrupt requests that correspond to peripheral functions. When the CPU accepts an interrupt, the CPU takes a branch to the interrupt processing routine using the address in the interrupt vector table corresponding to the interrupt request as the branch address.

The interrupt level setting registers (ILR1, 2, 3, and 4) allow one of four interrupt processing intensities to be assigned to each interrupt request.

Interrupt requests with levels equal to or less than that of an interrupt request being handled in the interrupt processing routine are usually handled after the current interrupt processing routine ends. If interrupt requests with the same assigned level are generated simultaneously, IRQ0 has priority.

Table 3.4-1 Interrupt Requests and Interrupt Vectors (1/2)

 

Address in the

Names of bits in

Priority at

 

vector table

 

the interrupt

identical level (at

Interrupt request

 

 

Upper

Lower

level setting

simultaneous

 

 

registers

occurrence)

 

digits

digits

 

 

 

 

 

 

 

 

 

 

IRQ0 (External interrupt INT10)

FFFAH

FFFBH

L01, L00

High

 

 

 

 

IRQ1 (External interrupt INT11)

FFF8H

FFF9H

L11, L10

 

 

 

 

 

 

 

 

IRQ2 (External interrupt INT12)

FFF6H

FFF7H

L21, L20

 

 

 

 

 

 

 

 

IRQ3 (8/16-bit capture timer/counter’s timer)

FFF4H

FFF5H

L31, L30

 

 

 

 

 

 

 

 

IRQ4 (8/16-bit capture timer/counter’s capture)

FFF2H

FFF3H

L41, L40

 

 

 

 

 

 

 

 

IRQ5 (Transmission with UART)

FFF0H

FFF1H

L51, L50

 

 

 

 

 

 

 

 

IRQ6 (Reception with UART)

FFEEH

FFEFH

L61, L60

 

 

 

 

 

 

 

 

IRQ7 (Time-base timer)

FFECH

FFEDH

L71, L70

 

 

 

 

 

 

 

 

IRQ8 (A/D converter)

FFEAH

FFEBH

L81, L80

 

 

 

 

 

 

 

 

IRQ9 (8-bit PWM)

FFE8H

FFE9H

L91, L90

 

 

 

 

 

 

Low

IRQA (External interrupt 2)

FFE6H

FFE7H

LA1, LA0

 

 

 

 

 

 

 

 

34

Page 50
Image 50
Fujitsu MB89202, F202RA manual Interrupts, Interrupt Requests and Interrupt Vectors 1/2

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.