Fujitsu F2MC-16LX Manuals

Manuals and User Guides for Fujitsu F2MC-16LX. We have 4 Fujitsu F2MC-16LX manuals available for free PDF download: Hardware Manual, User Manual

Fujitsu F2MC-16LX Hardware Manual

Fujitsu F2MC-16LX Hardware Manual (706 pages)

16-bit Microcontroller MB90330 series  
Brand: Fujitsu | Category: Microcontrollers | Size: 13.48 MB
Table of contents
Table Of Contents9................................................................................................................................................................
Chapter 1 Overview17................................................................................................................................................................
Feature Of Mb90330 Series18................................................................................................................................................................
Block Diagram23................................................................................................................................................................
Package Dimension24................................................................................................................................................................
Pin Assignment26................................................................................................................................................................
Pin Function27................................................................................................................................................................
I/o Circuit Types34................................................................................................................................................................
Handling Of Device37................................................................................................................................................................
Chapter 2 Cpu41................................................................................................................................................................
Outline Specification Of Cpu42................................................................................................................................................................
Memory Space43................................................................................................................................................................
Register Of Cpu48................................................................................................................................................................
Accumulator (a)50................................................................................................................................................................
User Stack Pointer (usp) And System Stack Pointer (ssp)51................................................................................................................................................................
Processor Status (ps)52................................................................................................................................................................
Program Counter (pc)55................................................................................................................................................................
Program Bank Register (pcb)56................................................................................................................................................................
Direct Page Register (dpr)57................................................................................................................................................................
General-purpose Registers (register Bank)58................................................................................................................................................................
Prefix Code59................................................................................................................................................................
Chapter 3 Interrupt63................................................................................................................................................................
Outline Of Interrupt64................................................................................................................................................................
Interrupt Cause And Interrupt Vector67................................................................................................................................................................
Interrupt Control Register And Peripheral Function70................................................................................................................................................................
Interrupt Control Registers (icr00 To Icr15)72................................................................................................................................................................
Interrupt Control Register Functions74................................................................................................................................................................
Hardware Interrupt77................................................................................................................................................................
Operation Of Hardware Interrupt80................................................................................................................................................................
Operation Flow Of Hardware Interrupt82................................................................................................................................................................
Procedure For Using A Hardware Interrupt83................................................................................................................................................................
Multiple Interrupts84................................................................................................................................................................
Hardware Interrupt Processing Time86................................................................................................................................................................
Software Interrupt88................................................................................................................................................................
Operation Of Extended Intelligent I/o Service (ei 2 Os)97................................................................................................................................................................
Exception Processing Interrupt102................................................................................................................................................................
Interruption By µdmac103................................................................................................................................................................
µdmac Function104................................................................................................................................................................
Register Of µdmac105................................................................................................................................................................
Dma Descriptor Channel Specification Register (dcsr)106................................................................................................................................................................
Dma Status Register (dsrh/dsrl)108................................................................................................................................................................
Dma Stop Status Register (dssr)109................................................................................................................................................................
Dma Permission Register (derh/derl)110................................................................................................................................................................
Dma Descriptor Window Register (ddwr)111................................................................................................................................................................
Dma Data Counter (ddcth/ddctl)112................................................................................................................................................................
Dma I/o Register Address Pointer (dioah/dioal)113................................................................................................................................................................
Dma Control Register (dmacs)114................................................................................................................................................................
Dma Buffer Address Pointer (dbaph/dbapm/dbapl)116................................................................................................................................................................
Explanation Of Operation Of µdmac117................................................................................................................................................................
Exceptions119................................................................................................................................................................
Stack Operation Of Interrupt Processing120................................................................................................................................................................
Program Example Of Interrupt Processing122................................................................................................................................................................
Delayed Interrupt Generation Module126................................................................................................................................................................
Operation Of Delayed Interrupt Generation Module127................................................................................................................................................................
Chapter 4 Reset129................................................................................................................................................................
Outline Of Reset130................................................................................................................................................................
Reset Factors And Oscillation Stabilization Wait Times132................................................................................................................................................................
External Reset Pin134................................................................................................................................................................
Reset Operation135................................................................................................................................................................
Reset Factor Bit137................................................................................................................................................................
State Of Each Pin At Reset139................................................................................................................................................................
Chapter 5 Clock141................................................................................................................................................................
Outline Of Clock142................................................................................................................................................................
Block Diagram Of Clock Generation Section145................................................................................................................................................................
Clock Select Register (ckscr)148................................................................................................................................................................
Clock Mode151................................................................................................................................................................
Oscillation Stabilization Wait Time154................................................................................................................................................................
Connection Of Oscillator And External Clock155................................................................................................................................................................
Chapter 6 Low-power Consumption Mode157................................................................................................................................................................
Outline Of Low-power Consumption Mode158................................................................................................................................................................
Block Diagram Of Low-power Consumption Control Circuit161................................................................................................................................................................
Low-power Consumption Mode Control Register (lpmcr)163................................................................................................................................................................
Cpu Intermittent Operation Mode166................................................................................................................................................................
Standby Mode167................................................................................................................................................................
Sleep Mode168................................................................................................................................................................
Timebase Timer Mode170................................................................................................................................................................
Watch Mode172................................................................................................................................................................
Stop Mode174................................................................................................................................................................
State Transition Diagram176................................................................................................................................................................
State Of The Pin During Standby Mode, Hold, And Reset178................................................................................................................................................................
Precautions When Using Low-power Consumption Mode188................................................................................................................................................................
Chapter 7 Mode Setting191................................................................................................................................................................
Mode Setting192................................................................................................................................................................
Mode Pins (md2 To Md0)193................................................................................................................................................................
Mode Data194................................................................................................................................................................
External Memory Access198................................................................................................................................................................
Automatic Ready Function Selection Register (arsr)200................................................................................................................................................................
External Address Output Control Register (hacr)201................................................................................................................................................................
Bus Control Signal Selection Register (epcr)202................................................................................................................................................................
Operation In Each Mode Of Mode Setting204................................................................................................................................................................
External Memory Access Control Signal205................................................................................................................................................................
Ready Function208................................................................................................................................................................
Holding Function211................................................................................................................................................................
Chapter 8 I/o Port213................................................................................................................................................................
Functions Of I/o Ports214................................................................................................................................................................
I/o Port Register215................................................................................................................................................................
Port Data Register (pdr0 To Pdrb)216................................................................................................................................................................
Port Direction Register (ddr0 To Ddrb)217................................................................................................................................................................
Other Registers218................................................................................................................................................................
Chapter 9 Timebase Timer221................................................................................................................................................................
Overview Of Timebase Timer222................................................................................................................................................................
Configuration Of Timebase Timer224................................................................................................................................................................
Timebase Timer Control Register (tbtc)226................................................................................................................................................................
Interrupt Of Timebase Timer228................................................................................................................................................................
Operations Of Timebase Timer229................................................................................................................................................................
Precautions When Using Timebase Timer231................................................................................................................................................................
Program Example Of Timebase Timer233................................................................................................................................................................
Chapter 10 Watchdog Timer235................................................................................................................................................................
Overview Of Watchdog Timer236................................................................................................................................................................
Watchdog Timer Control Register (wdtc)238................................................................................................................................................................
Configuration Of Watchdog Timer240................................................................................................................................................................
Operations Of Watchdog Timer242................................................................................................................................................................
Precautions When Using Watchdog Timer244................................................................................................................................................................
Program Examples Of Watchdog Timer245................................................................................................................................................................
Chapter 11 Watch Timer247................................................................................................................................................................
Overview Of Watch Timer248................................................................................................................................................................
Configuration Of Watch Timer249................................................................................................................................................................
Watch Timer Control Register (wtc)250................................................................................................................................................................
Operation Of Watch Timer252................................................................................................................................................................
Chapter 12 16-bit I/o Timer253................................................................................................................................................................
Overview Of 16-bit I/o Timer254................................................................................................................................................................
Register Of 16-bit I/o Timer256................................................................................................................................................................
Bit Free-run Timer257................................................................................................................................................................
Output Compare263................................................................................................................................................................
Input Capture268................................................................................................................................................................
Operation Of 16-bit I/o Timer271................................................................................................................................................................
Operation Of 16-bit Free-run Timer272................................................................................................................................................................
Operation Of 16-bit Output Compare274................................................................................................................................................................
Operation Of 16-bit Input Capture276................................................................................................................................................................
Timing Of 16-bit Free-run Timer277................................................................................................................................................................
Output Compare Timing278................................................................................................................................................................
Input Timing Of Input Capture279................................................................................................................................................................
Chapter 13 Usb Function281................................................................................................................................................................
Overview Of Usb Function282................................................................................................................................................................
Block Diagram Of Usb Function283................................................................................................................................................................
Register Of Usb Function284................................................................................................................................................................
Udc Control Register (udcc)287................................................................................................................................................................
Ep0 Control Register (ep0c)290................................................................................................................................................................
Ep1 To Ep5 Control Register (ep1c To Ep5c)292................................................................................................................................................................
Time Stamp Register (tmsp)295................................................................................................................................................................
Udc Status Register (udcs)296................................................................................................................................................................
Udc Interruption Enable Register (udcie)300................................................................................................................................................................
Ep0i Status Register (ep0is)302................................................................................................................................................................
Ep0o Status Register (ep0os)304................................................................................................................................................................
Ep1 To Ep5 Status Register (ep1s To Ep5s)307................................................................................................................................................................
Ep0 To Ep5 Data Register (ep0dt To Ep5dt)311................................................................................................................................................................
Operation Explanation Of Usb Function312................................................................................................................................................................
Each Register Operation When Command Responds316................................................................................................................................................................
Suspend Function318................................................................................................................................................................
Wake-up Function319................................................................................................................................................................
Dma Transfer Function320................................................................................................................................................................
Null Transfer Function324................................................................................................................................................................
Chapter 14 Usb Mini-host325................................................................................................................................................................
Feature Of Usb Mini-host326................................................................................................................................................................
Diversity With Usb Host327................................................................................................................................................................
Block Diagram Of Usb Mini-host328................................................................................................................................................................
Register Of Usb Mini-host329................................................................................................................................................................
Host Control Register 0,1(hcnt0/hcnt1)332................................................................................................................................................................
Host Interruption Register (hirq)336................................................................................................................................................................
Host Error Status Register (herr)339................................................................................................................................................................
Host State Status Register (hstate)342................................................................................................................................................................
Sof Interruption Frame Comparison Register (hfcomp)345................................................................................................................................................................
Retry Timer Setting Register (hrtimer)346................................................................................................................................................................
Host Address Register (hadr)347................................................................................................................................................................
Eof Setting Register (heof)348................................................................................................................................................................
Frame Setting Register (hframe)349................................................................................................................................................................
Host Token Endpoint Register (htoken)350................................................................................................................................................................
Operation Of Usb Mini-host352................................................................................................................................................................
Connection Of Device353................................................................................................................................................................
Reset Of Usb Bus355................................................................................................................................................................
Token Packet356................................................................................................................................................................
Data Packet358................................................................................................................................................................
Handshake Packet359................................................................................................................................................................
Retry Function360................................................................................................................................................................
Sof Interrupt361................................................................................................................................................................
Error Status363................................................................................................................................................................
Packet End364................................................................................................................................................................
Suspend Resume365................................................................................................................................................................
Cutting Of Device368................................................................................................................................................................
Each Token Flow Chart Of Usb Mini-host369................................................................................................................................................................
Chapter 15 Pwc Timer371................................................................................................................................................................
Overview Of Pwc Timer372................................................................................................................................................................
Register Of Pwc Timer374................................................................................................................................................................
Pwc Control Status Register (pwcsr)375................................................................................................................................................................
Pwc Data Buffer Register (pwcr)380................................................................................................................................................................
Pwc Ratio Of Dividing Frequency Control Register (divr)381................................................................................................................................................................
Movement Of Pwc Timer382................................................................................................................................................................
Operation Of Pwm Timer Functions383................................................................................................................................................................
Operation Of Pulse Width Measurement Function384................................................................................................................................................................
Count Clock Selection And Operation Mode Selection385................................................................................................................................................................
Startup And Stop Of Timer/pulse Width Measurement387................................................................................................................................................................
Operation Of Timer Mode389................................................................................................................................................................
Operation Of Pulse Width Measurement Mode392................................................................................................................................................................
Precautions When Using Pwc Timer397................................................................................................................................................................
Chapter 16 16-bit Reload Timer399................................................................................................................................................................
Overview Of 16-bit Reload Timer400................................................................................................................................................................
Function Of 16-bit Reload Timer401................................................................................................................................................................
Block Diagram Of 16-bit Reload Timer403................................................................................................................................................................
Registers Of 16-bit Reload Timer404................................................................................................................................................................
Timer Control Status Register 0 To 2 (tmcsr0 To Tmcsr2)405................................................................................................................................................................
Bit Timer Register 0 To 2 (tmr0 To Tmr2 16-bit Reload Register 0 To 2 (tmrlr0 To Tmrlr2)409................................................................................................................................................................
Movement Of 16-bit Reload Timer411................................................................................................................................................................
State Transition Of Counter Operation412................................................................................................................................................................
Operation Of Internal Clock Mode (reload Mode)413................................................................................................................................................................
Operation Of Internal Clock Mode (single Shot Mode)415................................................................................................................................................................
Event Count Mode417................................................................................................................................................................
Chapter 17 8/16-bit Ppg Timer419................................................................................................................................................................
Overview Of 8/16-bit Ppg Timer420................................................................................................................................................................
Block Diagram Of 8/16-bit Ppg Timer421................................................................................................................................................................
Registers Of 8/16-bit Ppg Timer423................................................................................................................................................................
Ppg0/ppg2/ppg4 Operation Mode Control Register (ppgc0/ppgc2/ppgc4)424................................................................................................................................................................
Ppg1/ppg3/ppg5 Operation Mode Control Register (ppgc1/ppgc3/ppgc5)426................................................................................................................................................................
Ppg0 To Ppg5 Output Control Register (ppg01/ppg23/ppg45)429................................................................................................................................................................
Ppg Reload Registers (prll0 To Prll5, Prlh0 To Prlh5)431................................................................................................................................................................
Operation Of 8/16-bit Ppg Timer432................................................................................................................................................................
Chapter 18 Dtp/external Interrupt437................................................................................................................................................................
Overview Of Dtp/external Interrupt438................................................................................................................................................................
Register Of Dtp/external Interrupt439................................................................................................................................................................
Operation Of Dtp/external Interrupt441................................................................................................................................................................
Precaution Of Using Dtp/external Interrupt443................................................................................................................................................................
Chapter 19 8/10-bit A/d Converter445................................................................................................................................................................
Overview Of 8/10-bit A/d Converter446................................................................................................................................................................
Configuration Of 8/10-bit A/d Converter447................................................................................................................................................................
Register Of 8/10-bit A/d Converter449................................................................................................................................................................
A/d Control Status Register (high) (adcs1)450................................................................................................................................................................
A/d Control Status Register (low) (adcs0)452................................................................................................................................................................
A/d Conversion Channel Set Register (admr)454................................................................................................................................................................
A/d Data Register (adcr1/adcr0)456................................................................................................................................................................
Explanation Of Operation Of 8/10-bit A/d Converter458................................................................................................................................................................
A/d-converted Data Protection Function462................................................................................................................................................................
Precautions When Using 8/10-bit A/d Converter464................................................................................................................................................................
Chapter 20 Extended I/o Serial Interface475................................................................................................................................................................
Outline Of Extended I/o Serial Interface476................................................................................................................................................................
Register In Extended I/o Serial Interface477................................................................................................................................................................
Serial Mode Control Status Register (smcs)478................................................................................................................................................................
Serial Data Register (sdr)482................................................................................................................................................................
Communication Prescaler Control Register (sdcr)483................................................................................................................................................................
Operation Of Extended I/o Serial Interface484................................................................................................................................................................
Shift Clock Mode485................................................................................................................................................................
Operation State Of Serial I/o486................................................................................................................................................................
Start/stop Timing Of Shift Operation And Timing Of I/o488................................................................................................................................................................
Interrupt Function490................................................................................................................................................................
Chapter 21 Uart491................................................................................................................................................................
Overview Of Uart492................................................................................................................................................................
Uart Block Diagram494................................................................................................................................................................
Uart Pins497................................................................................................................................................................
Register Of Uart498................................................................................................................................................................
Serial Control Register 0 To 3 (scr0 To Scr3)499................................................................................................................................................................
Serial Mode Register 0 To 3 (smr0 To Smr3)501................................................................................................................................................................
Serial Status Register 0 To 3 (ssr0 To Ssr3)503................................................................................................................................................................
Serial Input Data Register 0 To 3(sidr0 To Sidr3) And Serial Output Data Register0 To 3(sodr0 To Sodr3)506................................................................................................................................................................
Uart Prescaler Control Register 0 To 3 (utcr0 To Utcr3) And Uart Prescaler Reload Register 0 To 3 (utrlr0 To Utrlr3)508................................................................................................................................................................
Uart Interrupt510................................................................................................................................................................
Receive Interrupt Generation And Flag Set Timing512................................................................................................................................................................
Transmit Interrupt Generation And Flag Set Timing514................................................................................................................................................................
Uart Baud Rate516................................................................................................................................................................
Baud Rate Of The Uart Internal Clock Using The Dedicated Baud Rate Generator517................................................................................................................................................................
Baud Rate Of The External Clock Using The Dedicated Baud Rate Generator518................................................................................................................................................................
Baud Rate Of The External Clock (one-to-one Mode)519................................................................................................................................................................
Explanation Of Operation Of Uart520................................................................................................................................................................
Operation In Asynchronous Mode (operation Mode 0 Or Operation Mode1)522................................................................................................................................................................
Bidirectional Communication Function (normal Mode)528................................................................................................................................................................
Master/slave Mode Communication Function (multi-processor Mode)530................................................................................................................................................................
Notes On Using Uart533................................................................................................................................................................
Example Of Uart Programming534................................................................................................................................................................
Chapter 22 I 2 C Interface537................................................................................................................................................................
Chapter 23 Rom Mirror Function Selection Module559................................................................................................................................................................
Overview Of Rom Mirror Function Select Module560................................................................................................................................................................
Rom Mirror Function Select Register (romm)561................................................................................................................................................................
Chapter 24 Address Match Detection Function563................................................................................................................................................................
Overview Of Address Match Detection Function564................................................................................................................................................................
Block Diagram Of Address Match Detection Function565................................................................................................................................................................
Configuration Of Address Match Detection Function566................................................................................................................................................................
Address Detection Control Register (pacsr)567................................................................................................................................................................
Detect Address Setting Registers (padr0, Padr1)569................................................................................................................................................................
Explanation Of Operation Of Address Match Detection Function571................................................................................................................................................................
Example Of Using Address Match Detection Function572................................................................................................................................................................
Program Example Of Address Match Detection Function577................................................................................................................................................................
Chapter 25 3m-bit Flash Memory579................................................................................................................................................................
Overview Of 3m-bit Flash Memory580................................................................................................................................................................
Sector Configuration Of 3m-bit Flash Memory581................................................................................................................................................................
Flash Memory Control Status Register (fmcs)582................................................................................................................................................................
Automatic Algorithm Initiation Method Of Flash Memory585................................................................................................................................................................
Check The Execution State Of Automatic Algorithm586................................................................................................................................................................
Data Polling Flag (dq7)588................................................................................................................................................................
Toggle Bit Flag (dq6)589................................................................................................................................................................
Timing Limit Over Flag (dq5)590................................................................................................................................................................
Sector Erasing Timer Flag (dq3)591................................................................................................................................................................
Toggle Bit 2 Flag (dq2)592................................................................................................................................................................
Write/erase Of Flash Memory593................................................................................................................................................................
Read/reset State In Flash Memory594................................................................................................................................................................
Writing Data To Flash Memory595................................................................................................................................................................
Erasing All Data From Flash Memory (chip Erase)597................................................................................................................................................................
Erasing Any Data In Flash Memory (sector Erasing)598................................................................................................................................................................
Flash Memory Sector Erase Suspension600................................................................................................................................................................
Flash Memory Sector Erase Resumption601................................................................................................................................................................
Chapter 26 Example Of Connecting Serial Writing603................................................................................................................................................................
Basic Configuration604................................................................................................................................................................
Oscillation Clock Frequency And Serial Clock Input Frequency606................................................................................................................................................................
Flash Microcomputer Programmer System Configuration607................................................................................................................................................................
Example Of Connecting Serial Writing608................................................................................................................................................................
Example Connection In Single-chip Mode (when Using User Power)609................................................................................................................................................................
Appendix613................................................................................................................................................................
Appendix A Memory Map615................................................................................................................................................................
B.1 Instruction Types631................................................................................................................................................................
B.2 Addressing632................................................................................................................................................................
B.3 Direct Addressing634................................................................................................................................................................
B.4 Indirect Addressing639................................................................................................................................................................
B.5 Execution Cycle Count645................................................................................................................................................................
B.6 Effective Address Field648................................................................................................................................................................
B.7 How To Read The Instruction List649................................................................................................................................................................
B.9 Instruction Map665................................................................................................................................................................

Advertisement

Fujitsu F2MC-16LX Hardware Manual

Fujitsu F2MC-16LX Hardware Manual (598 pages)

MB90470 Series 16-BIT MICROCONTROLLER  
Brand: Fujitsu | Category: Microcontrollers | Size: 16.23 MB
Table of contents
Table Of Contents9................................................................................................................................................................
Chapter 1 Overview Of Mb9047017................................................................................................................................................................
Overview18................................................................................................................................................................
Block Diagram Of Mb9047021................................................................................................................................................................
Package Dimensions22................................................................................................................................................................
Pin Assignment24................................................................................................................................................................
Pin Functions26................................................................................................................................................................
I/o Circuit Type32................................................................................................................................................................
Handling The Device35................................................................................................................................................................
Chapter 2 Cpu37................................................................................................................................................................
Overview Of Cpu Specifications38................................................................................................................................................................
Memory Space39................................................................................................................................................................
Cpu Registers43................................................................................................................................................................
Accumulator (a)45................................................................................................................................................................
User Stack Pointer (usp) And System Stack Pointer (ssp)46................................................................................................................................................................
Processor Status (ps)47................................................................................................................................................................
Program Counter (pc)50................................................................................................................................................................
Program Count Bank Register (pcb)51................................................................................................................................................................
Direct Page Register (dpr)52................................................................................................................................................................
General-purpose Register (register Bank)53................................................................................................................................................................
Prefix Codes54................................................................................................................................................................
Chapter 3 Interrupt57................................................................................................................................................................
Interrupt Factor And Interrupt Vector60................................................................................................................................................................
Interrupt Control Register And Peripheral Function63................................................................................................................................................................
Interrupt Control Register (icr00 To Icr15)65................................................................................................................................................................
Interrupt Control Register Functions68................................................................................................................................................................
Hardware Interrupt71................................................................................................................................................................
Hardware Interrupt Operation74................................................................................................................................................................
Flow Of Hardware Interrupt Operation76................................................................................................................................................................
Procedure For Using Hardwar Interrupt77................................................................................................................................................................
Multiple Interrupts79................................................................................................................................................................
Hardware Interrupt Processing Time81................................................................................................................................................................
Software Interrupt83................................................................................................................................................................
Interrupt By µdma85................................................................................................................................................................
Dma Descriptor89................................................................................................................................................................
Individual Registers Of Dma Descriptor91................................................................................................................................................................
Dma Processing Procedure94................................................................................................................................................................
µdma Processing Time95................................................................................................................................................................
Interrupt Of Extended Intelligent I/o Service (ei 2 Os)97................................................................................................................................................................
Extended Intelligent I/o Service99................................................................................................................................................................
Os) Descriptor (isd)99................................................................................................................................................................
Description Of Extended Intelligent I/o Service (ei 2 Os) Descriptor (isd)101................................................................................................................................................................
Operation Of Extended Intelligent I/o Service (ei 2 Os)104................................................................................................................................................................
Setting Procedure Of Extended Intelligent I/o Service (ei 2 Os)105................................................................................................................................................................
Processing Time For Extended Intelligent I/o Service (ei 2 Os)106................................................................................................................................................................
Exception Processing Interrupt By Executing Undefined Instruction109................................................................................................................................................................
Stack Operation Of Interrupt Processing110................................................................................................................................................................
Sample Program Of Interrupt Processing112................................................................................................................................................................
Delay Interrupt Event Module115................................................................................................................................................................
Operation Of Delay Interrupt Event Module116................................................................................................................................................................
Chapter 4 Reset117................................................................................................................................................................
Overview Of Reset118................................................................................................................................................................
Reset Factors And Oscillation Stabilization Wait Time120................................................................................................................................................................
External-reset Pin122................................................................................................................................................................
Resetting123................................................................................................................................................................
Reset-factor Bits125................................................................................................................................................................
Condition Of Pins As Result Of Reset127................................................................................................................................................................
Chapter 5 Clocks129................................................................................................................................................................
Block Diagram Of Clock Generator132................................................................................................................................................................
Clock Selection Register (ckscr)134................................................................................................................................................................
Clock Modes137................................................................................................................................................................
Oscillation Stabilization Wait Time141................................................................................................................................................................
Connecting Oscillator To External Clock142................................................................................................................................................................
Chapter 6 Low-power Consumption Mode143................................................................................................................................................................
Overview Of Low-power Consumption Mode144................................................................................................................................................................
Block Diagram Of Low-power Control Circuit147................................................................................................................................................................
Low-power Consumption Mode Control Register (lpmcr)149................................................................................................................................................................
Cpu Intermittent Operation Mode152................................................................................................................................................................
Standby Mode153................................................................................................................................................................
Sleep Mode154................................................................................................................................................................
Timebase Timer Mode156................................................................................................................................................................
Watch Mode158................................................................................................................................................................
Stop Mode160................................................................................................................................................................
State Transition Diagram162................................................................................................................................................................
Pin State In Standby Mode, Hold, And Reset164................................................................................................................................................................
Caution On Using Low-power Consumption Mode169................................................................................................................................................................
Chapter 7 Mode Setting173................................................................................................................................................................
Mode Setting174................................................................................................................................................................
Mode Pins (md2 To Md0)175................................................................................................................................................................
Mode Data176................................................................................................................................................................
External Memory Access180................................................................................................................................................................
Automatic Ready Function Selection Register (arsr)182................................................................................................................................................................
External Address Output Control Register (hacr)184................................................................................................................................................................
Bus Control Signal Selection Register (epcr)185................................................................................................................................................................
Operation Of Each Mode For Mode Setting187................................................................................................................................................................
External Memory Access Control Signals188................................................................................................................................................................
Ready Function191................................................................................................................................................................
Hold Function194................................................................................................................................................................
Chapter 8 I/o Port197................................................................................................................................................................
Functions Of I/o Port198................................................................................................................................................................
Registers For I/o Port199................................................................................................................................................................
Port Registers (pdr0 To Pdra)200................................................................................................................................................................
Port Direction Registers (drr0 To Drra)201................................................................................................................................................................
Other Registers203................................................................................................................................................................
Chapter 9 Timebase Timer205................................................................................................................................................................
Timebase Timer Configuration208................................................................................................................................................................
Timebase Timer Control Register (tbtc)210................................................................................................................................................................
Timebase Timer Interrupt212................................................................................................................................................................
Timebase Timer Operation213................................................................................................................................................................
Notes On Using Timebase Timer215................................................................................................................................................................
Sample Programs217................................................................................................................................................................
Chapter 10 Watchdog Timer219................................................................................................................................................................
Watchdog Timer Control Register (wdtc)222................................................................................................................................................................
Watchdog Timer Configuration224................................................................................................................................................................
Watchdog Timer Operation226................................................................................................................................................................
Notes On Using Watchdog Timer228................................................................................................................................................................
Chapter 11 Watch Timer231................................................................................................................................................................
Watch Timer Configuration233................................................................................................................................................................
Watch Timer Control Register (wtc)234................................................................................................................................................................
Watch Timer Operation236................................................................................................................................................................
Chapter 12 16-bit Input/output Timer239................................................................................................................................................................
16-bit Input/output Timer Register242................................................................................................................................................................
16-bit Free-running Timer243................................................................................................................................................................
Output Compare248................................................................................................................................................................
Input Capture252................................................................................................................................................................
16-bit Input/output Timer Operation255................................................................................................................................................................
Operation Of 16-bit Free-running Timer256................................................................................................................................................................
Operation Of 16-bit Output Compare258................................................................................................................................................................
Operation Of 16-bit Input Capture260................................................................................................................................................................
16-bit Free-running Timer Timing261................................................................................................................................................................
Output Compare Timing262................................................................................................................................................................
Timing Of Input Capture263................................................................................................................................................................
Chapter 13 8/16-bit Up/down Counter/timer265................................................................................................................................................................
Registers For 8/16-bit Up/down Counter/timer269................................................................................................................................................................
Counter Control Register H0 (ccrh0)270................................................................................................................................................................
Counter Control Register H1 (ccrh1)272................................................................................................................................................................
Counter Control Register L0/1 (ccrl0/1)274................................................................................................................................................................
Counter Status Register 0/1 (csr0/1)276................................................................................................................................................................
Up/down Count Register 0/1 (udcr0/1)278................................................................................................................................................................
Reload/compare Register 0/1 (rcr0/1)279................................................................................................................................................................
8/16-bit Up/down Counter/timer Operation280................................................................................................................................................................
Reload/compare Function283................................................................................................................................................................
Writing Data To Up/down Count Register (udcr)286................................................................................................................................................................
Chapter 14 Pwc Timer289................................................................................................................................................................
Overview Of Pwc Timer290................................................................................................................................................................
Pwc Timer Registers292................................................................................................................................................................
Pwc Control/status Register (pwcsr0 To Pwcsr2)293................................................................................................................................................................
Pwc Data Buffer Register (pwcr0 To Pwcr2)298................................................................................................................................................................
Divide Ratio Control Register (divr0 To Divr2)299................................................................................................................................................................
Operations Of Pwc Timer300................................................................................................................................................................
Operations Of The Timer Function301................................................................................................................................................................
Operations Of The Pulse Width Measurement Function302................................................................................................................................................................
Selection Of Count Clock And Operation Mode304................................................................................................................................................................
Start And Stop Of Timer/pulse Width Measurement306................................................................................................................................................................
Timer Mode Operation308................................................................................................................................................................
Operation In Pulse Width Measurement Mode311................................................................................................................................................................
Notes On Pwc Timer Usage317................................................................................................................................................................
Chapter 15 µ µ µ µ Pg Timer319................................................................................................................................................................
Overview Of µpg Timer320................................................................................................................................................................
µpg Timer Registers321................................................................................................................................................................
Timing Chart Of µpg Timer323................................................................................................................................................................
Chapter 16 16-bit Reload Timer325................................................................................................................................................................
Overview Of 16-bit Reload Timer326................................................................................................................................................................
Functions Of The 16-bit Reload Timer327................................................................................................................................................................
Block Diagram Of The 16-bit Reload Timer329................................................................................................................................................................
16-bit Reload Timer Registers330................................................................................................................................................................
Timer Control Status Register (tmcsr)331................................................................................................................................................................
16-bit Timer Register (tmr)/16-bit Reload Register (tmrlr)335................................................................................................................................................................
Operations Of The 16-bit Reload Timer337................................................................................................................................................................
State Transitions During Counter Operation338................................................................................................................................................................
Operations Of Internal Clock Mode (reload Mode)339................................................................................................................................................................
Internal Clock Mode (one-shot Mode)341................................................................................................................................................................
Event Count Mode343................................................................................................................................................................
Chapter 17 8/16-bit Ppg Timer345................................................................................................................................................................
Overview Of 8/16-bit Ppg Timer346................................................................................................................................................................
Block Diagram Of The 8/16-bit Ppg Timer347................................................................................................................................................................
8/16-bit Ppg Timer Registers349................................................................................................................................................................
Ppg0/2/4 Operation Mode Control Register (ppgc0)350................................................................................................................................................................
Ppg1/3/5 Operation Mode Control Register (ppgc1)352................................................................................................................................................................
Ppg0 To Ppg5 Output Control Registers (ppg0/1, Ppg2/3, Ppg4/5)355................................................................................................................................................................
Reload Registers (ppll0 To Ppll5, Pplh0 To Pplh5)357................................................................................................................................................................
Operations Of 8/16-bit Ppg Timer358................................................................................................................................................................
Chapter 18 Dtp/external Interrupt Unit363................................................................................................................................................................
Overview Of Dtp/external Interrupt Unit364................................................................................................................................................................
Dtp/external Interrupt Unit Registers365................................................................................................................................................................
Operations Of Dtp/external Interrupt Unit367................................................................................................................................................................
Notes On Dtp/external Interrupt Unit Usage369................................................................................................................................................................
Chapter 19 8/10-bit A/d Converter371................................................................................................................................................................
Overview Of 8/10-bit A/d Converter372................................................................................................................................................................
8/10-bit A/d Converter Registers374................................................................................................................................................................
Control Status Register 1 (adcs1)375................................................................................................................................................................
Control Status Register 2 (adcs2)378................................................................................................................................................................
Data Registers (adcr2 And Adcr1)381................................................................................................................................................................
Operations Of 8/10-bit A/d Converter382................................................................................................................................................................
Example Of µdma Start In Single Mode384................................................................................................................................................................
Example Of µdma Start In Continuous Mode386................................................................................................................................................................
Example Of µdma Start In Stop Mode388................................................................................................................................................................
Conversion Data Protection Function390................................................................................................................................................................
Precautions When Using The 8/10-bit A/d Converter392................................................................................................................................................................
Chapter 20 Expanded I/o Serial Interface393................................................................................................................................................................
Overview Of Expanded I/o Serial Interface394................................................................................................................................................................
Registers Of Expanded I/o Serial Interface395................................................................................................................................................................
Serial Mode Control Status Register (smcs)396................................................................................................................................................................
Serial Shift Data Register (sdr)400................................................................................................................................................................
Dedicated Prescaler Control Register (sdcr)401................................................................................................................................................................
Operation Of Expanded I/o Serial Interface402................................................................................................................................................................
Shift Clock Modes403................................................................................................................................................................
Operational States Of Serial I/o Units404................................................................................................................................................................
Start/stop Timing And Input/output Timing Of Shift Operation406................................................................................................................................................................
Interrupt Function408................................................................................................................................................................
Chapter 21 Uart409................................................................................................................................................................
Overview Of The Uart410................................................................................................................................................................
Uart Registers412................................................................................................................................................................
Serial Mode Register (smr)413................................................................................................................................................................
Serial Control Register (scr)415................................................................................................................................................................
Serial Input/output Register (sidr/sodr)417................................................................................................................................................................
Serial Status Register (ssr)418................................................................................................................................................................
Communication Prescaler Control Register (cdcr)420................................................................................................................................................................
Uart Operations422................................................................................................................................................................
Operation In Asynchronous Mode (operation Modes 0 And 1)426................................................................................................................................................................
Operation In Synchronous Mode (operation Mode 2)429................................................................................................................................................................
Two-way Communication Function (normal Mode)431................................................................................................................................................................
Master/slave Communication Function (multiprocessor Mode)433................................................................................................................................................................
Precautions On Using The Uart436................................................................................................................................................................
Uart Program Example437................................................................................................................................................................
Chapter 22 I 2 C Interface439................................................................................................................................................................
Overview Of I C Interface440................................................................................................................................................................
I 2 C Interface Registers442................................................................................................................................................................
Bus Status Register (ibsr)443................................................................................................................................................................
Bus Control Register (ibcr)445................................................................................................................................................................
Clock Control Register (iccr)448................................................................................................................................................................
Address Register (iadr)450................................................................................................................................................................
Data Register (idar)451................................................................................................................................................................
I 2 C Interface Operation452................................................................................................................................................................
Chapter 23 Chip Selection Facility455................................................................................................................................................................
Overview Of Chip Selection Facility456................................................................................................................................................................
Registers Of Chip Selection Facility457................................................................................................................................................................
Chip Select Area Mask Register (cmrx)458................................................................................................................................................................
Chip Selection Area Register (carx)459................................................................................................................................................................
Chip Selection Control Register (cscr)460................................................................................................................................................................
Chip Selector Active Level Register (calr)461................................................................................................................................................................
Operation Of The Chip Selection Facility462................................................................................................................................................................
Chapter 24 Address Match Detection Function465................................................................................................................................................................
Overview Of Address Match Detection Function466................................................................................................................................................................
Block Diagram Of Address Match Detection Function467................................................................................................................................................................
Configuration Of Address Match Detection Function468................................................................................................................................................................
Address Detection Control Register (pacsr)469................................................................................................................................................................
Detect Address Setting Registers (padr0h And Padr1)471................................................................................................................................................................
Explanation Of Operation Of Address Match Detection Function473................................................................................................................................................................
Example Of Using Address Match Detection Function474................................................................................................................................................................
Program Example Of Address Match Detection Function479................................................................................................................................................................
Chapter 25 Rom Mirror Function Selection Module481................................................................................................................................................................
Overview Of Rom Mirror Function Select Module482................................................................................................................................................................
Rom Mirror Function Select Register (romm)483................................................................................................................................................................
Chapter 26 2m Bit Flash Memory485................................................................................................................................................................
Overview Of 2m Bit Flash Memory486................................................................................................................................................................
Sector Configuration Of 2m Bit Flash Memory487................................................................................................................................................................
Control Status Register (fmcs)488................................................................................................................................................................
Method For Starting The Flash Memory's Automatic Algorithm491................................................................................................................................................................
Verifying The Execution State Of The Automatic Algorithm492................................................................................................................................................................
Data Polling Flag (dq7)494................................................................................................................................................................
Toggle Bit Flag (dq6)496................................................................................................................................................................
Timing Limit Excess Flag (dq5)497................................................................................................................................................................
Sector Erase Timer Flag (dq3)498................................................................................................................................................................
Flash Memory Write/erase Operations499................................................................................................................................................................
Setting The Flash Memory To Read/reset State500................................................................................................................................................................
Writing Data To Flash Memory501................................................................................................................................................................
Erasing All Data In The Flash Memory (chip Erase)503................................................................................................................................................................
Erasing Arbitrary Data In Flash Memory (sector Erase)504................................................................................................................................................................
Suspending Sector Erasure For The Flash Memory506................................................................................................................................................................
Resuming The Sector Erasure Of Flash Memory507................................................................................................................................................................
Chapter 27 Examples Of Mb90f474/mb90f476 Serial Programming Connection509................................................................................................................................................................
Basic Configuration510................................................................................................................................................................
Oscillation Clock Frequency And Serial Clock Input Frequency512................................................................................................................................................................
System Configuration Of Flash Microcomputer Programmer513................................................................................................................................................................
Examples Of Serial Programming Connection514................................................................................................................................................................
Example Of Connection In Single-chip Mode (using Power From User System)515................................................................................................................................................................
Example Of Minimum Connection With Flash Microcomputer Programmer (using Power From The User System)517................................................................................................................................................................
Appendix519................................................................................................................................................................
Appendix A Memory Map520................................................................................................................................................................
Appendix B Instructions531................................................................................................................................................................
Instruction Types532................................................................................................................................................................
B.1 Instruction Types532................................................................................................................................................................
Addressing533................................................................................................................................................................
B.2 Addressing533................................................................................................................................................................
Direct Addressing535................................................................................................................................................................
B.3 Direct Addressing535................................................................................................................................................................
Indirect Addressing540................................................................................................................................................................
B.4 Indirect Addressing540................................................................................................................................................................
Execution Cycle Count546................................................................................................................................................................
Effective Address Field549................................................................................................................................................................
How To Read The Instruction List550................................................................................................................................................................
F 2 Mc-16lx Instruction List553................................................................................................................................................................
Instruction Map567................................................................................................................................................................
B.9 Instruction Map567................................................................................................................................................................
Index589................................................................................................................................................................
Fujitsu F2MC-16LX Hardware Manual

Fujitsu F2MC-16LX Hardware Manual (486 pages)

MB90550A/B Series, 16-BIT  
Brand: Fujitsu | Category: Microcontrollers | Size: 7.3 MB
Table of contents
Table Of Contents9................................................................................................................................................................
Chapter 1 Overview17................................................................................................................................................................
Features18................................................................................................................................................................
Available Models21................................................................................................................................................................
Block Diagram22................................................................................................................................................................
External Dimensions Of The Package23................................................................................................................................................................
Pin Assignment25................................................................................................................................................................
Description Of The Pin Functions27................................................................................................................................................................
I/o Circuit Types33................................................................................................................................................................
Cautions On Handling Devices37................................................................................................................................................................
Chapter 2 Cpu41................................................................................................................................................................
Memory Space42................................................................................................................................................................
Addressing43................................................................................................................................................................
Allocating Multiple-byte Data In A Memory Space46................................................................................................................................................................
Dedicated Registers47................................................................................................................................................................
Accumulator (a)49................................................................................................................................................................
User Stack Pointer (usp) And System Stack Pointer (ssp)51................................................................................................................................................................
Processor Status (ps)52................................................................................................................................................................
Program Counter (pc)55................................................................................................................................................................
Direct Page Register (dpr)56................................................................................................................................................................
Bank Registers (pcb, Dtb, Usb, Ssb, Adb)57................................................................................................................................................................
General-purpose Registers58................................................................................................................................................................
Prefix Codes60................................................................................................................................................................
Interrupt Suppression Instructions And Prefix Codes62................................................................................................................................................................
Notes On Using The "div A, Ri" And "divw A, Rwi" Instructions63................................................................................................................................................................
Chapter 3 Interrupts67................................................................................................................................................................
Overview Of Interrupts68................................................................................................................................................................
Interrupt Causes69................................................................................................................................................................
Interrupt Vectors72................................................................................................................................................................
Hardware Interrupts74................................................................................................................................................................
Operation Of Hardware Interrupts77................................................................................................................................................................
Operating Flow For Hardware Interrupts80................................................................................................................................................................
Example Of Procedure For Using Hardware Interrupts81................................................................................................................................................................
Software Interrupts82................................................................................................................................................................
Interrupt Control Register (icr)86................................................................................................................................................................
Expanded Intelligent I/o Service (ei 2 Os)89................................................................................................................................................................
Exceptions Because Of Executing Undefined Instructions96................................................................................................................................................................
Chapter 4 Generating And Resetting Clocks97................................................................................................................................................................
Clock Generator98................................................................................................................................................................
Clock Supply Map99................................................................................................................................................................
Reset Causes100................................................................................................................................................................
Operation After A Reset Is Released102................................................................................................................................................................
Registers Not Initialized By Reset Input103................................................................................................................................................................
Chapter 5 Low-power Consumption Control Circuit105................................................................................................................................................................
Overview Of The Low-power Consumption Control Circuit106................................................................................................................................................................
Low-power Consumption Mode Control Register (lpmcr)109................................................................................................................................................................
Clock Selection Register (ckscr)111................................................................................................................................................................
Operation Of The Low-power Consumption Control Circuit114................................................................................................................................................................
Sleep Mode116................................................................................................................................................................
Watch Mode117................................................................................................................................................................
Stop Mode119................................................................................................................................................................
Hardware Standby Mode120................................................................................................................................................................
Pin Status In The Sleep, Stop, Hold, Reset, And Hardware Standby Modes121................................................................................................................................................................
Intermittent Cpu Operation Function124................................................................................................................................................................
Setting The Oscillation Stabilization Time125................................................................................................................................................................
Machine Clock126................................................................................................................................................................
Chapter 6 Memory Access Modes129................................................................................................................................................................
Memory Access Mode Overview130................................................................................................................................................................
Mode Pins131................................................................................................................................................................
Mode Data132................................................................................................................................................................
Memory Space For Each Bus Mode133................................................................................................................................................................
External Memory Access (external Bus Pin Control Circuit)136................................................................................................................................................................
Registers For External Memory Access (external Bus Pin Control Circuit)137................................................................................................................................................................
Automatic Ready Function Selection Register (arsr)138................................................................................................................................................................
External Address Output Control Register (hacr)140................................................................................................................................................................
Bus Control Signal Selection Register (ecsr)141................................................................................................................................................................
Operation Of The External Memory Access Control Signals144................................................................................................................................................................
Ready Function146................................................................................................................................................................
Hold Function148................................................................................................................................................................
Chapter 7 I/o Ports149................................................................................................................................................................
I/o Port Overview150................................................................................................................................................................
I/o Port Block Diagram151................................................................................................................................................................
I/o Port Registers154................................................................................................................................................................
Port Data Registers (pdrx)156................................................................................................................................................................
Port Data Direction Registers (ddrx)158................................................................................................................................................................
Output Pin Register (odr4)159................................................................................................................................................................
Input Resistor Registers (rdr0 And Rdr1)160................................................................................................................................................................
Analog Input Enable Register (ader)161................................................................................................................................................................
Chapter 8 Time-based Timer163................................................................................................................................................................
Overview Of The Time-based Timer164................................................................................................................................................................
Time-based Timer Control Register (tbtc)165................................................................................................................................................................
Time-based Timer Operations167................................................................................................................................................................
Chapter 9 Watchdog Timer169................................................................................................................................................................
Overview Of The Watchdog Timer170................................................................................................................................................................
Watchdog Timer Control Register (wdtc)171................................................................................................................................................................
Watchdog Timer Operations173................................................................................................................................................................
Chapter 10 16-bit I/o Timer175................................................................................................................................................................
Overview Of The 16-bit I/o Timer176................................................................................................................................................................
Bit I/o Timer Block Diagram178................................................................................................................................................................
Bit I/o Timer Registers179................................................................................................................................................................
Bit Free-run Timer181................................................................................................................................................................
Output Compare184................................................................................................................................................................
Input Capture188................................................................................................................................................................
Bit Free-run Timer Operations190................................................................................................................................................................
Bit Output Compare Operations192................................................................................................................................................................
Bit Input Capture Operations195................................................................................................................................................................
Overview Of The 16-bit Reload Timer (with The Event Count Function)198................................................................................................................................................................
Registers Of The 16-bit Reload Timer (with The Event Count Function)199................................................................................................................................................................
Timer Control Status Register (tmcsr)200................................................................................................................................................................
Bit Timer Register (tmr) And 16-bit Reload Register (tmrlr)203................................................................................................................................................................
Clock Operations204................................................................................................................................................................
Underflow Operation205................................................................................................................................................................
I/o Pin Functions206................................................................................................................................................................
Counter Operation Statuses208................................................................................................................................................................
Chapter 12 8/16-bit Ppg209................................................................................................................................................................
Overview Of The 8/16-bit Ppg210................................................................................................................................................................
Block Diagrams Of The 8-bit Ppg211................................................................................................................................................................
Registers In The 8/16-bit Ppg213................................................................................................................................................................
Ppg0 Operation Mode Control Register (ppgc0)214................................................................................................................................................................
Ppg1 Operation Mode Control Register (ppgc1)216................................................................................................................................................................
Ppg0/1 Output Pin Control Register (ppge)219................................................................................................................................................................
Reload Registers (prll/prlh)221................................................................................................................................................................
Bit Ppg Operation222................................................................................................................................................................
Bit Ppg Operation Modes224................................................................................................................................................................
Ppg Output Operation225................................................................................................................................................................
Selecting A Count Clock227................................................................................................................................................................
Controlling Pulse Output On Pins228................................................................................................................................................................
Write Timing For The Reload Registers229................................................................................................................................................................
Chapter 13 Dtp/external Interrupt231................................................................................................................................................................
Overview Of The Dtp/external Interrupt Circuit232................................................................................................................................................................
Registers In The Dtp/external Interrupt Circuit234................................................................................................................................................................
Operation Of Dtp/external Interrupt Circuit237................................................................................................................................................................
Notes On Using The Dtp/external Interrupt Circuit240................................................................................................................................................................
Chapter 14 Delayed Interrupt Generating Module243................................................................................................................................................................
Outline Of The Delayed Interrupt Generating Module244................................................................................................................................................................
Operation Of The Delayed Interrupt Generating Module245................................................................................................................................................................
Chapter 15 A/d Converter247................................................................................................................................................................
Overview Of The A/d Converter248................................................................................................................................................................
Resisters Of The A/d Converter251................................................................................................................................................................
Control Status Registers (adcs0 And Adcs1)252................................................................................................................................................................
Data Register (adcr1 And Adcr0)256................................................................................................................................................................
Operation Of A/d Converter258................................................................................................................................................................
Example Of Ei 2 Os Activation In Successive Mode262................................................................................................................................................................
Example Of Ei 2 Os Activation In Pause Mode264................................................................................................................................................................
Conversion Data Protection Function266................................................................................................................................................................
Chapter 16 Communication Prescaler Register269................................................................................................................................................................
Overview Of Communication Prescaler Register270................................................................................................................................................................
Operation Of Communication Prescaler Register272................................................................................................................................................................
Chapter 17 Uart273................................................................................................................................................................
Overview Of Uart274................................................................................................................................................................
Uart Block Diagram275................................................................................................................................................................
Uart Registers276................................................................................................................................................................
Serial Mode Register (smr)277................................................................................................................................................................
Serial Control Register (scr)279................................................................................................................................................................
Serial Input Data Register (sidr) And Serial Output Data Register (sodr)282................................................................................................................................................................
Serial Status Register (ssr)283................................................................................................................................................................
Uart Operations286................................................................................................................................................................
Uart Clock Selection287................................................................................................................................................................
Asynchronous (start-stop Synchronous) Mode289................................................................................................................................................................
Clk-synchronous Mode291................................................................................................................................................................
Occurrence Of Interrupt And Flag Setting Timing293................................................................................................................................................................
Application Of Uart (during Operation In Mode 1)296................................................................................................................................................................
Chapter 18 I/o Extended Serial Interface299................................................................................................................................................................
Overview Of The I/o Extended Serial Interface300................................................................................................................................................................
Registers Of The I/o Extended Serial Interface302................................................................................................................................................................
Serial Mode Control Status Register (smcs)303................................................................................................................................................................
Serial Shift Data Register (sdr)307................................................................................................................................................................
Operation Of I/o Extended Serial Interface308................................................................................................................................................................
Shift Clock309................................................................................................................................................................
Operation States Of The Serial I/o311................................................................................................................................................................
Start/stop Timing Of Shift Operation And Input/output Timing313................................................................................................................................................................
Interrupt Function Of The I/o Extended Serial Interface316................................................................................................................................................................
Chapter 19 I 2 C Interface317................................................................................................................................................................
Block Diagram And Structure Of The I 2 C Interface319................................................................................................................................................................
Bus Status Register (ibsr)322................................................................................................................................................................
Bus Control Register (ibcr)325................................................................................................................................................................
Clock Control Register (iccr)328................................................................................................................................................................
Address Register (iadr)330................................................................................................................................................................
Data Register (idar)331................................................................................................................................................................
Port Selection Register (isel)332................................................................................................................................................................
Flow Of The I 2 C Interface Transmission335................................................................................................................................................................
Flow Of The I 2 C Interface Modes337................................................................................................................................................................
Chapter 20 Clock Monitor Function339................................................................................................................................................................
Overview Of The Clock Monitor Functions340................................................................................................................................................................
Clock Output Permission Register (clkr)341................................................................................................................................................................
Chapter 21 Address Match Detection Function343................................................................................................................................................................
Overview Of The Address Match Detection Function344................................................................................................................................................................
Registers Of The Address Match Detection Function345................................................................................................................................................................
Operation Of The Address Match Detection Function347................................................................................................................................................................
Example Of The Address Match Detection Function348................................................................................................................................................................
Program Example Of The Address Match Detection Function350................................................................................................................................................................
Chapter 22 Rom Mirror Function Selection Module353................................................................................................................................................................
Overview Of The Rom Mirror Function Selection Module354................................................................................................................................................................
Rom Mirror Function Selection Register (romm)355................................................................................................................................................................
Chapter 23 1m-bit Flash Memory357................................................................................................................................................................
Overview Of The 1m-bit Flash Memory358................................................................................................................................................................
Block Diagram And Sector Configuration Of The Entire Flash Memory359................................................................................................................................................................
Writing And Deletion Modes361................................................................................................................................................................
Flash Memory Control Status Register (fmcs)363................................................................................................................................................................
Activating The Automatic Algorithm Of The Flash Memory365................................................................................................................................................................
Confirming The Automatic Algorithm Execution Status366................................................................................................................................................................
Data Polling Flag (dq7)368................................................................................................................................................................
Toggle Bit Flag (dq6)370................................................................................................................................................................
Timing Limit Excess Flag (dq5)371................................................................................................................................................................
Sector Deletion Timer Flag (dq3)372................................................................................................................................................................
Detailed Explanations Of Flash Memory Writing And Deletion373................................................................................................................................................................
Setting The Flash Memory In The Read Or Reset Status374................................................................................................................................................................
Writing Data In The Flash Memory375................................................................................................................................................................
Deleting All Data Items From The Flash Memory (chip Deletion)377................................................................................................................................................................
Deleting Any Data Item From The Flash Memory (sector Deletion)378................................................................................................................................................................
Temporarily Stopping The Sector Deletion From The Flash Memory380................................................................................................................................................................
Restarting The Flash Memory Sector Deletion381................................................................................................................................................................
Example Of The 1m-bit Flash Memory Program382................................................................................................................................................................
Basic Configuration Of Mb90f553a Serial Programming Connection388................................................................................................................................................................
Example Of Serial Programming Connection (when User Power Supply Is Used)391................................................................................................................................................................
Example Of Serial Programming Connection (when Power Is Supplied From A Writer)393................................................................................................................................................................
Appendix399................................................................................................................................................................
Appendix A I/o Map400................................................................................................................................................................
Appendix B Instructions408................................................................................................................................................................
B.1 Instruction Types409................................................................................................................................................................
B.2 Addressing410................................................................................................................................................................
B.3 Direct Addressing412................................................................................................................................................................
B.4 Indirect Addressing418................................................................................................................................................................
B.5 Execution Cycle Count426................................................................................................................................................................
B.6 Effective Address Field429................................................................................................................................................................
B.7 How To Read The Instruction List430................................................................................................................................................................
B.9 Instruction Map447................................................................................................................................................................
Appendix C Programming The Otprom469................................................................................................................................................................
Index471................................................................................................................................................................

Advertisement

Fujitsu F2MC-16LX User Manual

Fujitsu F2MC-16LX User Manual (14 pages)

PC Serial Programming Adapter Cable for Fujitsu Flash Microcontroller-F²MC-16LX/FR Family  
Brand: Fujitsu | Category: Computer Hardware | Size: 0.15 MB

Share and save

Advertisement