CHAPTER 12 A/D CONVERTER

Clock selector

The clock selector selects the clock to be used to activate A/D conversion while continuous activation is enabled (ADC2: EXT = 1).

Analog channel selector

This circuit selects one out of the eight analog inputs.

Sample hold circuit

This circuit holds the input voltage selected by the analog channel selector. By performing the sample hold of the voltage input immediately after the activation of A/D conversion, A/D conversion can be performed without the variance of the input voltage affecting it during A/D conversion (during comparison).

D/A converter

This generates the voltage that corresponds to the values set in the ADDH and ADDL registers.

Comparator

This compares the input voltage for which sample hold is performed, with the output voltage of the D/A converter to determine which is the greater of the two.

Control circuit

The control circuit has the following function.

For A/D conversion functions, this circuit determines the values in turn from the MSB in the 10-bit A/D data register toward the LSB based on the large and small signals from the comparator. When the conversion is completed, it sets the interrupt request flag bit (ADC1: ADI).

A/D data register (ADDH and ADDL)

The high-order 2 bits of 10-bit A/D data are stored in the ADDH register. The low-order 8 bits of 10-bit A/D data are stored in the ADDL register.

The ADDH and ADDL registers have the following function.

For A/D conversion function, these registers store the results of A/D conversion.

A/D control register 1 (ADC1)

This register is used to enable and disable functions, select an analog input, check statuses, and control interrupts.

A/D control register 2 (ADC2)

This register is used to select an input clock, enable and disable interrupts, select functions, and perform other activities.

Interrupts of the A/D converter

When the set conditions are satisfied at the completion of A/D conversion for IRQ8, if an interrupt request output is enabled (ADC2: ADIE = 1), an interrupt request occurs.

262

Page 278
Image 278
Fujitsu MB89202, F202RA manual Clock selector, Analog channel selector, Sample hold circuit, Converter, Control circuit, 262

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.