Fujitsu F2MC-8FX Series User Manual
Fujitsu F2MC-8FX Series User Manual

Fujitsu F2MC-8FX Series User Manual

8-bit microcontroller
Hide thumbs Also See for F2MC-8FX Series:

Quick Links

Fujitsu Semiconductor (Shanghai) Co., Ltd.
MCU-AN-500089-E-11
User Manual
F²MC-8FX FAMILY
8-BIT MICROCONTROLLER
MB95F430 SERIES
INDUCTION HEATER C LIBRARY
USER MANUAL
Table of Contents
loading

Summary of Contents for Fujitsu F2MC-8FX Series

  • Page 1 Fujitsu Semiconductor (Shanghai) Co., Ltd. MCU-AN-500089-E-11 User Manual F²MC-8FX FAMILY 8-BIT MICROCONTROLLER MB95F430 SERIES INDUCTION HEATER C LIBRARY USER MANUAL...
  • Page 2: Revision History

    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.
  • Page 3: Table Of Contents

    Induction Heater C Library V1.1 1BContents CONTENTS REVISION HISTORY ......................2  CONTENTS ..........................3  1  INTRODUCTION ........................ 5  2  SYSTEM HARDWARE ENVIRONMENT ................6  3  DEVELOPMENT ENVIRONMENT AND TOOLS .............. 7  4  HARDWARE DESIGN ....................... 7  4.1  System Hardware Block Diagram ................8  4.2 ...
  • Page 4 Induction Heater C Library V1.1 1BContents 6.2.13  ConstTempProc () ..................14  7  DRIVER FUNCTION ......................15  7.1  Function List ......................15  7.2  Function Prototype ....................15  7.2.1  GetADC (int chl) ..................15  7.2.2  BuzzerOn () ....................15  7.2.3  BuzzerOff () ....................15  7.2.4 ...
  • Page 5: 1  Introduction

    Induction Heater C Library V1.1 Chapter 1 2BIntroduction 1 Introduction This document introduces how to use the C library API to develop the induction heater based on MB95F434K. MCU-AN-500089-E-11 – Page 5...
  • Page 6: 2  System Hardware Environment

    Induction Heater C Library V1.1 Chapter 2 3BSystem Hardware Environment 2 System Hardware Environment CPU Chip: Fujitsu MB95F434K; CPU Frequency: 16.25MHz; Minimum Instruction Time: 61.5ns; Ram Space: 496Bytes; Code Space: 20Kbytes. MCU-AN-500089-E-11 – Page 6...
  • Page 7: 3  Development Environment And Tools

    3 Development Environment and Tools Name Description Manufacturer Notes Windows XP Pro PC OS Microsoft Softune V3 Software Developing IDE Fujitsu For FFMC-8L MB95F434K Emulator MCU Emulator Fujitsu Cadence SPB Design Schematic and PCB Cadence V16.0 MCU-AN-500089-E-11 – Page 7...
  • Page 8: 4  Hardware Design

    Induction Heater C Library V1.1 Chapter 4 5BHardware Design 4 Hardware Design 4.1 System Hardware Block Diagram The electromagnetic eddy current heating is our system theory. We use the PWM to control the IGBT to generate the heating eddy current. We can adjust the PWM width to adjust the power.
  • Page 9: Mcu Pin Assignment

    Induction Heater C Library V1.1 Chapter 4 5BHardware Design 4.3 MCU Pin Assignment Name Define Note Remark sub oscillator PG2/PPG0/X1A/OUT1 LED COM1 PG1/TRG0/ADTG/X0A/BZ/OUT0 sub oscillator P60/OPAMP_P OPAMP_P Current by Resistor P61/OPAMP_N OPAMP_N P62/OPAMP_O LED COM2 P12/EC0/UI/DBG P12/DBG Debug P00/INT00/AN00 Start IGBT P01/INT01/AN01/BZ Buzzer P02/INT02/AN02/UCK/TRG0...
  • Page 10: 5  System Function

    Induction Heater C Library V1.1 Chapter 5 6BSystem Function 5 System Function 5.1 Global Variable Variable Description Note BYTE dVal[4]; Display for 4-bit digital. Used in Display function. BYTE dLed; Display for 8 led. Used in Display function. 5.2 Function List Prototype Description Note...
  • Page 11: Display ()

    Induction Heater C Library V1.1 Chapter 5 6BSystem Function Description Process the event by the event value. 5.3.5 Display () Prototype void Display() Output void Input void Description Display MCU-AN-500089-E-11 – Page 11...
  • Page 12: 6  Event Function

    Induction Heater C Library V1.1 Chapter 6 7BEvent Function 6 Event Function 6.1 Function List Prototype Description Note void ModeCaoCai(void) Change mode to CaoCai. void ModeHuoGuo(void) Change mode to HuoGuo. void ModeDunCai(void) Change mode to DunCai. void ModeBaoTang(void) Change mode to BaoTang. void ModeBaoWen(void) Change mode to BaoWen.
  • Page 13: Modebaotang ()

    Induction Heater C Library V1.1 Chapter 6 7BEvent Function 6.2.4 ModeBaoTang () Prototype void ModeBaoTang(void) Output void Input void Description Change mode to BaoTang. 6.2.5 ModeBaoWen () Prototype void ModeBaoWen(void) Output void Input void Description Change mode to BaoWen. 6.2.6 WattInc () Prototype void WattInc(void) Output...
  • Page 14: Tempinc ()

    Induction Heater C Library V1.1 Chapter 6 7BEvent Function Output void Input void Description Reset and turn off the timer or start the timer. 6.2.11 TempInc () Prototype void TempInc(void) Output void Input void Description Increase the temperature 10℃. Range is from 60 to 180. 6.2.12 TempDec () Prototype void TempDec(void)
  • Page 15: 7  Driver Function

    Induction Heater C Library V1.1 Chapter 7 8BDriver Function 7 Driver Function 7.1 Function List Prototype Description Note void GetADC(int chl) Get the ADC value. void BuzzerOn(void) Turn on the buzzer. void BuzzerOff(void) Turn off the buzzer. void PowerOn(void) Turn on the system. void PowerOff(void) Turn off the system.
  • Page 16: Poweron ()

    Induction Heater C Library V1.1 Chapter 7 8BDriver Function 7.2.4 PowerOn () Prototype void PowerOn(void) Output void Input void Description Turn on the system, and set in the braise mode. 7.2.5 PowerOff () Prototype void PowerOff(void) Output void Input void Description Turn off the system.
  • Page 17: Vcinit ()

    Induction Heater C Library V1.1 Chapter 7 8BDriver Function Description Turn off the fan. 7.2.11 VCInit () Prototype void VCInit(void) Output void Input void Description Initialize all the VC. 7.2.12 OPAMPInit () Prototype void OPAMPInit(void) Output void Input void Description Initialize the OPAMP.
  • Page 18: 8  Interrupt Function

    Induction Heater C Library V1.1 Chapter 8 9BInterrupt Function 8 Interrupt Function 8.1 Function List Prototype Description Note void Keyboard(void) Sample keyboard and parse key value. It is used in 10ms timer interrupt. void ProtectIGBT(void) Detect IGBT temp and start the fan. It is used in 10ms timer interrupt.
  • Page 19: Intvolover ()

    Induction Heater C Library V1.1 Chapter 8 9BInterrupt Function Output void Input void Description External interrupt service for over current. Use VC 1 channel. 8.2.5 IntVolOver () Prototype void IntVolOver(void) Output void Input void Description External interrupt service for over voltage. Use VC 2 channel. 8.2.6 IntSurge () Prototype void IntSurge(void)
  • Page 20: 9  Demo System

    Induction Heater C Library V1.1 Chapter 9 10BDemo System 9 Demo System 9.1 System Features Power Control Fan Control Fan Delay Off Buzz Control Led Display Keyboard Kettle Detect Kettle Empty Detect Timing Power Off(3Hours) Constant Power Heating Constant Temperature Heating IGBT Temp Detect Plate Temp Detect IGBT Temp Higher Protect (120℃)
  • Page 21: Software Design

    Induction Heater C Library V1.1 Chapter 9 10BDemo System 9.2 Software Design 9.2.1 User Interface The system has six work modes. You can press to change the work mode. When power on, the system is standby. When you press On/off, it will work under thaw mode.
  • Page 22: System Main Loop

    Induction Heater C Library V1.1 Chapter 9 10BDemo System 9.2.3 System Main Loop Note: the main loop time is about 10ms. 9.2.4 System Files In this application, there are 4 files: main.c, vectors.c, devdriver.c, ledkeydriver.c and startup.asm. main.c, includes main loop and MCU control functions. vectors.c, includes interrupt functions.
  • Page 23: System Files Structure

    Induction Heater C Library V1.1 Chapter 9 10BDemo System 9.2.5 System Files Structure MCU-AN-500089-E-11 – Page 23...
  • Page 24: Appendix

    Induction Heater C Library V1.1 11BAppendix Appendix Display Content Mode Display Content Notes System Power Led, Timer Led CaoCai Mode CaoCai Led, Watt Display HuoGuo Mode HuoGuo Led, Watt Display DunCai Mode DunCai Led, Watt Display BaoTang Mode BaoTang Led, Watt Display BaoWen Mode BaoWen Led, Temp Display JieDong Mode...

This manual is also suitable for:

Mb95f430 series

Table of Contents