Instruction/ maintenance manual of the product 95F430 Fujitsu
Go to page of 18
Fujitsu Semiconductor (Shanghai) Co., Ltd. MCU-AN-500080-E-10 Application Note F²MC-8FX FAMILY 8-BIT MICROCONTROLLER MB95F430 SERIES OPERATIONAL AMPLIFIER 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 th e specif ications thereof may be cha nged without prior notice.
Operational Amplifier Version 1.0 CONTENTS CONTENTS Revision History .......................................................................................................................... 2 Table of Contents ...................................
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.
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 analog signal conditioning prior to A/D conversion. It can operate in either closed loo p mode or standalone open loop mode.
Operational Amplifier Version 1.0 Chapter 2 Amplifier Overview 2.1 Block Diagram of Operational Amplifier Figure 1 Block Diagram of Operational Amplifier 2.
Operational Amplifier Version 1.0 Chapter 2 Amplifier Overview 2.3 OPAMP Control Register The OPAMP control register (OPCR) is used to turn on and off the OPAMP, to enable and disable OPAMP analog output, and to enable and disable OPAMP analog input.
Operational Amplifier Version 1.0 Chapter 2 Amplifier Overview ■ Functions of Bits in OPAMP Control Register (OPCR) ■ OPAMP Operating Mode Settings Notes: • While the OPAMP is operating, modifyi.
Operational Amplifier Version 1.0 Chapter 3 Operations of Operational Amplifie r 3 Operations of Operational Amplifier Operations of Operational Amplifier The operational amplifier can be activated by setting the PD bit in the OPCR register using the software.
Operational Amplifier Version 1.0 Chapter 4 Amplifier setting procedure 4 Amplifier setting procedure Below is an example of procedure for setting the operational amplifier. ● Initial settings 1) Set both OPCR: OPID and OPCR: OPOD to "0" to enable both OPAMP analog input and OPAMP analog output.
Operational Amplifier Version 1.0 Chapter 5 Amplifier Driver 5 Amplifier Driver This is OPAMP driver description. 5.1 Peripheral Usage The MCU pins used as below: OPAMP_N,used as amplifier negative input; OPAMP_P,used as amplifier positive input; OPAMP_O,used as amplifier output; 5.
Operational Amplifier Version 1.0 Chapter 5 Amplifier Driver 5.2.2 Amplifier Routine void AmpOpenLoop() Return : none. Parameters : none. Description : open-loop setting. Example : AmpOpenLoop(); void AmpOpenLoop() { DDR6_P60=0; DDR6_P61=0; DDR6_P62=1; OPCR=0x60; //Amplifier gain is R3/R1 } void AmpCloseLoop() Return : none.
Operational Amplifier Version 1.0 Chapter 6 Typical Application 6 Typical Application This is the typical application introduction. 6.1 HW Design In this application, we will test the operational amplifier in the MB95F430K. The HW is designed as below.
Operational Amplifier Version 1.0 Chapter 7 More Information 7 More Information For more Information on FUJITSU Semiconductor products, visit the following websites: English version: http://www.fujitsu.com/cn/fsp/serv ices/mcu/mb95/application_notes.html Simplified Chinese Version: http://www.
Operational Amplifier Version 1.0 Chapter 8 Appendix 8 Appendix Figure 1 Block Diagram of Operational Amplifier ................................................................................ 6 Figure 2 OPAMP Control Register ....................
Operational Amplifier Version 1.0 Chapter 9 Sample Code 9 Sample Code main.c #include "mb95430.h" #include "TypeDef.h" /*-----------------------------------------------------------.
Operational Amplifier Version 1.0 Chapter 9 Sample Code /* ILRx IRQs defined by ILRx */ ILR0 = 0xFF; // IRQ0: external interrupt ch0 | ch4 / / I R Q 1 : e x t e r n a l i n t e r r u p t c h 1 | c h 5.
Operational Amplifier Version 1.0 Chapter 9 Sample Code MCU-AN-500080-E-10 - Page 18 #pragma intvect DefaultIRQHandler 6 // IRQ6: 8/16-bit timer ch0 (upper) #pragma intvect DefaultIRQHandler 7 // IRQ7.
An important point after buying a device Fujitsu 95F430 (or even before the purchase) is to read its user manual. We should do this for several simple reasons:
If you have not bought Fujitsu 95F430 yet, this is a good time to familiarize yourself with the basic data on the product. First of all view first pages of the manual, you can find above. You should find there the most important technical data Fujitsu 95F430 - thus you can check whether the hardware meets your expectations. When delving into next pages of the user manual, Fujitsu 95F430 you will learn all the available features of the product, as well as information on its operation. The information that you get Fujitsu 95F430 will certainly help you make a decision on the purchase.
If you already are a holder of Fujitsu 95F430, but have not read the manual yet, you should do it for the reasons described above. You will learn then if you properly used the available features, and whether you have not made any mistakes, which can shorten the lifetime Fujitsu 95F430.
However, one of the most important roles played by the user manual is to help in solving problems with Fujitsu 95F430. Almost always you will find there Troubleshooting, which are the most frequently occurring failures and malfunctions of the device Fujitsu 95F430 along with tips on how to solve them. Even if you fail to solve the problem, the manual will show you a further procedure – contact to the customer service center or the nearest service center