Epson S1C17001 Manuals

Manuals and User Guides for Epson S1C17001. We have 1 Epson S1C17001 manual available for free PDF download: Technical Manual

Epson S1C17001 Technical Manual

Epson S1C17001 Technical Manual (351 pages)

CMOS 16-BIT SINGLE CHIP MICROCONTROLLER  
Brand: Epson | Category: Microcontrollers | Size: 1.61 MB
Table of contents
Table Of Contents3................................................................................................................................................................
Overview10................................................................................................................................................................
Block Diagram11................................................................................................................................................................
Pins12................................................................................................................................................................
Pin Descriptions13................................................................................................................................................................
S1c17 Core Features14................................................................................................................................................................
Cpu Registers15................................................................................................................................................................
Command Set16................................................................................................................................................................
Vector Table20................................................................................................................................................................
Processor Information21................................................................................................................................................................
Memory Map And Bus Control22................................................................................................................................................................
Bus Cycle23................................................................................................................................................................
Internal Rom Area24................................................................................................................................................................
Internal Ram Area25................................................................................................................................................................
Internal Peripheral Circuit Area26................................................................................................................................................................
I/o Map27................................................................................................................................................................
Core I/o Reserved Area30................................................................................................................................................................
Power Supply Voltage32................................................................................................................................................................
Initial Reset34................................................................................................................................................................
P0 Port Key-entry Reset35................................................................................................................................................................
Initial Reset Sequence36................................................................................................................................................................
Initial Settings At Initial Resetting37................................................................................................................................................................
Itc Configuration38................................................................................................................................................................
Maskable Interrupt Control40................................................................................................................................................................
Interrupt Permission/prohibition41................................................................................................................................................................
Processing For Multiple Interrupts42................................................................................................................................................................
Interrupt Trigger Modes43................................................................................................................................................................
S1c17 Core Interrupt Processing45................................................................................................................................................................
Software Interrupts47................................................................................................................................................................
Halt And Sleep Mode Cancellation By Interrupt Factors48................................................................................................................................................................
Control Register Details49................................................................................................................................................................
X4300: Interrupt Flag Register (itc_iflg)50................................................................................................................................................................
X4302: Interrupt Enable Register (itc_en)52................................................................................................................................................................
X4304: Itc Control Register (itc_ctl)53................................................................................................................................................................
X4306: External Interrupt Level Setup Register 0 (itc_elv0)54................................................................................................................................................................
X4308: External Interrupt Level Setup Register 1 (itc_elv1)55................................................................................................................................................................
X430a: External Interrupt Level Setup Register 2 (itc_elv2)56................................................................................................................................................................
X430c: External Interrupt Level Setup Register 3 (itc_elv3)57................................................................................................................................................................
X430e: Internal Interrupt Level Setup Register 0 (itc_ilv0)58................................................................................................................................................................
X4310: Internal Interrupt Level Setup Register 1 (itc_ilv1)59................................................................................................................................................................
X4312: Internal Interrupt Level Setup Register 2 (itc_ilv2)60................................................................................................................................................................
X4314: Internal Interrupt Level Setup Register 3 (itc_ilv3)61................................................................................................................................................................
Precautions62................................................................................................................................................................
Oscillator Circuit (osc)64................................................................................................................................................................
Osc3 Oscillator Circuit65................................................................................................................................................................
Osc1 Oscillator Circuit67................................................................................................................................................................
System Clock Switching68................................................................................................................................................................
Bit Osc1 Timer Clock Control69................................................................................................................................................................
Clock External Output (fout3, Fout1)70................................................................................................................................................................
Reset And Nmi Input Noise Filters72................................................................................................................................................................
X5060: Clock Source Select Register (osc_src)74................................................................................................................................................................
X5061: Oscillation Control Register (osc_ctl)75................................................................................................................................................................
X5062: Noise Filter Enable Register (osc_nfen)76................................................................................................................................................................
X5064: Fout Control Register (osc_fout)77................................................................................................................................................................
X5065: T8osc1 Clock Control Register (osc_t8osc1)78................................................................................................................................................................
Clock Generator (clg)80................................................................................................................................................................
Cpu Core Clock (cclk) Control81................................................................................................................................................................
Peripheral Module Clock (pclk) Control82................................................................................................................................................................
X5080: Pclk Control Register (clg_pclk)84................................................................................................................................................................
X5081: Cclk Control Register (clg_cclk)85................................................................................................................................................................
Prescaler (psc)88................................................................................................................................................................
Input/output Port (p)92................................................................................................................................................................
Data Input/output94................................................................................................................................................................
Pull-up Control95................................................................................................................................................................
Input Interface Level96................................................................................................................................................................
P0 Port Chattering Filter Function97................................................................................................................................................................
Port Input Interrupt98................................................................................................................................................................
X5200/0x5210/0x5220/0x5230: Px Port Input Data Registers (px_in)102................................................................................................................................................................
X5201/0x5211/0x5221/0x5231: Px Port Output Data Registers (px_out)103................................................................................................................................................................
X5202/0x5212/0x5222/0x5232: Px Port I/o Direction Control Registers (px_io)104................................................................................................................................................................
X5203/0x5213/0x5223/0x5233: Px Port Pull-up Control Registers (px_pu)105................................................................................................................................................................
X5205/5215: Px Port Interrupt Mask Registers (px_imsk)106................................................................................................................................................................
X5206/5216: Px Port Interrupt Edge Select Registers (px_edge)107................................................................................................................................................................
X5207/5217: Px Port Interrupt Flag Registers (px_iflg)108................................................................................................................................................................
X5208: P0 Port Chattering Filter Control Register (p0_chat)109................................................................................................................................................................
X5209: P0 Port Key-entry Reset Configuration Register (p0_krst)110................................................................................................................................................................
X52a0: P0 Port Function Select Register (p0_pmux)111................................................................................................................................................................
X52a1: P1 Port Function Select Register (p1_pmux)112................................................................................................................................................................
X52a2: P2 Port Function Select Register (p2_pmux)113................................................................................................................................................................
X52a3: P3 Port Function Select Register (p3_pmux)114................................................................................................................................................................
Bit Timer (t16)116................................................................................................................................................................
Bit Timer Operating Modes117................................................................................................................................................................
External Clock Mode118................................................................................................................................................................
Pulse Width Measurement Mode119................................................................................................................................................................
Count Mode120................................................................................................................................................................
Bit Timer Reload Register And Underflow Cycle121................................................................................................................................................................
Bit Timer Reset122................................................................................................................................................................
Bit Timer Run/stop Control123................................................................................................................................................................
Bit Timer Output Signal124................................................................................................................................................................
Bit Timer Interrupts125................................................................................................................................................................
X4220/0x4240/0x4260: 16-bit Timer Ch.x Input Clock Select Registers (t16_clkx)127................................................................................................................................................................
X4222/0x4242/0x4262: 16-bit Timer Ch.x Reload Data Registers (t16_trx)128................................................................................................................................................................
X4224/0x4244/0x4264: 16-bit Timer Ch.x Counter Data Registers (t16_tcx)129................................................................................................................................................................
X4226/0x4246/0x4266: 16-bit Timer Ch.x Control Registers (t16_ctlx)130................................................................................................................................................................
Bit Timer (t8f)134................................................................................................................................................................
Bit Timer Count Mode135................................................................................................................................................................
Count Clock136................................................................................................................................................................
Fine Mode141................................................................................................................................................................
X4200: 8-bit Timer Input Clock Select Register (t8f_clk)144................................................................................................................................................................
X4202: 8-bit Timer Reload Data Register (t8f_tr)145................................................................................................................................................................
X4204: 8-bit Timer Counter Data Register (t8f_tc)146................................................................................................................................................................
X4206: 8-bit Timer Control Register (t8f_ctl)147................................................................................................................................................................
Pwm & Capture Timer (t16e)150................................................................................................................................................................
Pwm & Capture Timer Operating Modes151................................................................................................................................................................
Setting And Resetting Counter Value152................................................................................................................................................................
Compare Data Settings153................................................................................................................................................................
Pwm & Capture Timer Run/stop Control154................................................................................................................................................................
Clock Output Control155................................................................................................................................................................
Pwm & Capture Timer Interrupts158................................................................................................................................................................
X5300: Pwm Timer Compare Data A Register (t16e_ca)161................................................................................................................................................................
X5302: Pwm Timer Compare Data B Register (t16e_cb)162................................................................................................................................................................
X5304: Pwm Timer Counter Data Register (t16e_tc)163................................................................................................................................................................
X5306: Pwm Timer Control Register (t16e_ctl)164................................................................................................................................................................
X5308: Pwm Timer Input Clock Select Register (t16e_clk)166................................................................................................................................................................
X530a: Pwm Timer Interrupt Mask Register (t16e_imsk)167................................................................................................................................................................
X530c: Pwm Timer Interrupt Flag Register (t16e_iflg)168................................................................................................................................................................
Bit Osc1 Timer (t8osc1)170................................................................................................................................................................
Bit Osc1 Timer Count Mode171................................................................................................................................................................
Resetting 8-bit Osc1 Timer173................................................................................................................................................................
Bit Osc1 Timer Run/stop Control175................................................................................................................................................................
Bit Osc1 Timer Interrupts176................................................................................................................................................................
X50c0: 8-bit Osc1 Timer Control Register (t8osc1_ctl)179................................................................................................................................................................
X50c1: 8-bit Osc1 Timer Counter Data Register (t8osc1_cnt)180................................................................................................................................................................
X50c2: 8-bit Osc1 Timer Compare Data Register (t8osc1_cmp)181................................................................................................................................................................
X50c3: 8-bit Osc1 Timer Interrupt Mask Register (t8osc1_imsk)182................................................................................................................................................................
X50c4: 8-bit Osc1 Timer Interrupt Flag Register (t8osc1_iflg)183................................................................................................................................................................
Clock Timer (ct)186................................................................................................................................................................
Operation Clock187................................................................................................................................................................
Clock Timer Resetting188................................................................................................................................................................
Clock Timer Run/stop Control189................................................................................................................................................................
Clock Timer Interrupts190................................................................................................................................................................
X5000: Clock Timer Control Register (ct_ctl)193................................................................................................................................................................
X5001: Clock Timer Counter Register (ct_cnt)194................................................................................................................................................................
X5002: Clock Timer Interrupt Mask Register (ct_imsk)195................................................................................................................................................................
X5003: Clock Timer Interrupt Flag Register (ct_iflg)196................................................................................................................................................................
Stopwatch Timer (swt)198................................................................................................................................................................
Bcd Counters199................................................................................................................................................................
Stopwatch Timer Resetting201................................................................................................................................................................
Stopwatch Timer Run/stop Control202................................................................................................................................................................
Stopwatch Timer Interrupts203................................................................................................................................................................
X5020: Stopwatch Timer Control Register (swt_ctl)206................................................................................................................................................................
X5021: Stopwatch Timer Bcd Counter Register (swt_bcnt)207................................................................................................................................................................
X5022: Stopwatch Timer Interrupt Mask Register (swt_imsk)208................................................................................................................................................................
X5023: Stopwatch Timer Interrupt Flag Register (swt_iflg)209................................................................................................................................................................
Watchdog Timer (wdt)212................................................................................................................................................................
Watchdog Timer Control214................................................................................................................................................................
X5040: Watchdog Timer Control Register (wdt_ctl)216................................................................................................................................................................
X5041: Watchdog Timer Status Register (wdt_st)217................................................................................................................................................................
Uart220................................................................................................................................................................
Uart Pin221................................................................................................................................................................
Transfer Clock222................................................................................................................................................................
Transfer Data Settings223................................................................................................................................................................
Data Transfer Control224................................................................................................................................................................
Receive Errors227................................................................................................................................................................
Uart Interrupts228................................................................................................................................................................
Irda Interface230................................................................................................................................................................
X4100: Uart Status Register (uart_st)233................................................................................................................................................................
X4101: Uart Transmit Data Register (uart_txd)235................................................................................................................................................................
X4102: Uart Receive Data Register (uart_rxd)236................................................................................................................................................................
X4103: Uart Mode Register (uart_mod)237................................................................................................................................................................
X4104: Uart Control Register (uart_ctl)238................................................................................................................................................................
X4105: Uart Expansion Register (uart_exp)239................................................................................................................................................................
Spi Configuration242................................................................................................................................................................
Spi Input/output Pins243................................................................................................................................................................
Spi Clock244................................................................................................................................................................
Data Transfer Condition Settings245................................................................................................................................................................
Spi Interrupts249................................................................................................................................................................
X4320: Spi Status Register (spi_st)252................................................................................................................................................................
X4322: Spi Transmit Data Register (spi_txd)253................................................................................................................................................................
X4324: Spi Receive Data Register (spi_rxd)254................................................................................................................................................................
X4326: Spi Control Register (spi_ctl)255................................................................................................................................................................
Settings Before Data Transfer261................................................................................................................................................................
I 2 C Interrupts268................................................................................................................................................................
Remote Controller (remc)278................................................................................................................................................................
Remc Input/output Pin279................................................................................................................................................................
Carrier Generation280................................................................................................................................................................
Data Length Counter Clock Settings281................................................................................................................................................................
Remc Interrupts285................................................................................................................................................................
X5340: Remc Configuration Register (remc_cfg)288................................................................................................................................................................
X5341: Remc Prescaler Clock Select Register (remc_psc)289................................................................................................................................................................
X5342: Remc H Carrier Length Setup Register (remc_carh)290................................................................................................................................................................
X5343: Remc L Carrier Length Setup Register (remc_carl)291................................................................................................................................................................
X5344: Remc Status Register (remc_st)292................................................................................................................................................................
X5345: Remc Length Counter Register (remc_lcnt)293................................................................................................................................................................
X5346: Remc Interrupt Mask Register (remc_imsk)294................................................................................................................................................................
X5347: Remc Interrupt Flag Register (remc_iflg)295................................................................................................................................................................
On-chip Debugger (dbg)298................................................................................................................................................................
Debug Break Operation Status299................................................................................................................................................................
X5322: Osc1 Peripheral Control Register (misc_osc1)301................................................................................................................................................................
Xffff90: Debug Ram Base Register (dbram)302................................................................................................................................................................
Basic External Connection Diagram304................................................................................................................................................................
Electrical Characteristics306................................................................................................................................................................
Dc Characteristics307................................................................................................................................................................
Consumption Current308................................................................................................................................................................
Ac Characteristics309................................................................................................................................................................
External Clock Input Ac Characteristics310................................................................................................................................................................
Oscillation Characteristics311................................................................................................................................................................
Appendix A I/o Register List314................................................................................................................................................................
Appendix B Power Saving338................................................................................................................................................................
Appendix C Mounting Precautions341................................................................................................................................................................
Appendix D Initialization Routine344................................................................................................................................................................
Appendix E S1c17001 Mask Rom Code Development346................................................................................................................................................................
Appendix F Revision History347................................................................................................................................................................

Advertisement

Share and save

Advertisement