FUJITSU MB95F430 User Manual

Fujitsu Semiconductor (Shanghai) Co., Ltd.
Application Note
F²MC-8FX FAMILY
8-BIT MICROCONTROLLER
MB95F430 SERIES
MCU-AN-500080-E-10
APPLICATION NOTE
Operational Amplifier Version 1.0
Revision History
Revision History
Date Author Change of Records
2010-03-22 Folix V1.0, First draft
This manual contains 18 pages.
1. The products described in this manual and the specifications thereof may be changed without prior notice.
To obtain up-to-date information and/or specifications, contact your Fujitsu sales representative or Fujitsu
authorized dealer.
2. Fujitsu will not be liable for infringement of copyright, industrial property right, or other rights of a third party
caused by the use of information or drawings described in this manual.
3. The contents of this manual may not be transferred or copied without the express permission of Fujitsu.
4. The products contained in this manual are not intended for use with equipment which require extremely
high reliability such as aerospace equipments, undersea repeaters, nuclear control systems or medical
equipments for life support.
5. Some of the products described in this manual may be strategic materials (or special technology) as
defined by the Foreign Exchange and Foreign Trade Control Law. In such cases, the products or portions
thereof must not be exported without permission as defined under the law.
© 2010 Fujitsu Semiconductor (Shanghai) Co., Ltd
MCU-AN-500080-E-10 - Page 2
Operational Amplifier Version 1.0
CONTENTS
CONTENTS
Revision History .......................................................................................................................... 2
Table of Contents ........................................................................................................................ 3
1 Introduction .......................................................................................................................... 4
2 Amplifier Overview ............................................................................................................... 5
2.1Block Diagram of Operational Amplifier ..................................................................... 6
2.2Pins of Operational Amplifier ..................................................................................... 6
2.3OPAMP Control Register ........................................................................................... 7
3 Operations of Operational Amplifier ..................................................................................... 9
4 Amplifier setting procedure ................................................................................................ 10
5 Amplifier Driver .................................................................................................................. 11
5.1Peripheral Usage ..................................................................................................... 11
5.2Driver Code .............................................................................................................. 11
5.2.1 General Definition ............................................................................................ 11
5.2.2 Amplifier Routine .............................................................................................. 12
6 Typical Application ............................................................................................................. 13
6.1HW Design ............................................................................................................... 13
6.2Sample Code ........................................................................................................... 13
7 More Information ................................................................................................................ 14
8 Appendix ............................................................................................................................ 15
9 Sample Code ..................................................................................................................... 16
MCU-AN-500080-E-10- Page 3
Operational Amplifier Version 1.0
Chapter 1 Introduction
1 Introduction
In this document, we will introduce how to use the amplifier function on the MB95F430 series.
Chapter 2 gives an overview on operational amplifier. Chapter 3 introduces the operations of operational amplifier. Chapter 4 introduces Operational Amplifier setting procedure. Chapter 5 introduces amplifier drivers. Chapter 6 introduces amplifier application demo.
MCU-AN-500080-E-10 - Page 4
Operational Amplifier Version 1.0
Chapter 2 Amplifier Overview
2 Amplifier Overview Amplifier Overview
The operational amplifier can be used to sense the ground current, and support front-end
The operational amplifier can be used to sense the ground current, and support front-end analog signal conditioning prior to A/D conversion. It can operate in either closed loop mode or
analog signal conditioning prior to A/D conversion. It can operate in either closed loop mode or standalone open loop mode.
standalone open loop mode.
Closed Loop Mode ■ Closed Loop Mode The operational amplifier can be configured as a non-inverting closed loop operational
The operational amplifier can be configured as a non-inverting closed loop operational amplifier.
amplifier. It has six software-selectable closed loop gain options for ground current sensing according to
It has six software-selectable closed loop gain options for ground current sensing according to different sense voltage values.
different sense voltage values.
Standalone Open Loop Mode In this mode, the operational amplifier input pins are connected to external signals without any output feedback. The standalone open loop mode is designed for users that can choose more flexible gain using external resistors.
MCU-AN-500080-E-10- Page 5
Operational Amplifier Version 1.0
Chapter 2 Amplifier Overview
2.1 Block Diagram of Operational Amplifier
Figure 1 Block Diagram of Operational Amplifier
2.2 Pins of Operational Amplifier
The OPAMP uses the OPAMP_P pin and the OPAMP_N pin as the analog input pins of the operational amplifier, and uses the OPAMP_O pin as the analog output pin of the operational amplifier. When GS [5] is set to "1B" and GS [4:0] is set to "00000B", the OPAMP will work as a standalone open loop operational amplifier. When GS [5] is set to "0B", the OPAMP will work as a non-inverting closed loop operational amplifier. It provides six different closed loop gain settings through the software.
MCU-AN-500080-E-10 - Page 6
Loading...
+ 12 hidden pages