Epson S1C17F13 Manuals

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

Epson S1C17F13 Technical Manual

Epson S1C17F13 Technical Manual (247 pages)

CMOS 16-BIT SINGLE CHIP MICROCONTROLLER  
Brand: Epson | Category: Microcontrollers | Size: 8.87 MB
Table of contents
Configuration Of Product Number3................................................................................................................................................................
Preface4................................................................................................................................................................
Notational Conventions And Symbols In This Manual4................................................................................................................................................................
Table Of Contents5................................................................................................................................................................
Overview14................................................................................................................................................................
Features14................................................................................................................................................................
Block Diagram16................................................................................................................................................................
Pins17................................................................................................................................................................
Pin Configuration Diagram (tqfp13-64pin)17................................................................................................................................................................
Pad Configuration Diagram (chip)18................................................................................................................................................................
Pin Descriptions19................................................................................................................................................................
Power Supply, Reset, And Clocks22................................................................................................................................................................
Power Generator (pwg)22................................................................................................................................................................
D1 Regulator23................................................................................................................................................................
Vosc Regulator23................................................................................................................................................................
Flash Programming Power Supply (v )23................................................................................................................................................................
System Reset Controller (src)23................................................................................................................................................................
Input Pin24................................................................................................................................................................
Reset Sources24................................................................................................................................................................
Initialization Conditions (reset Groups)25................................................................................................................................................................
Clock Generator (clg)26................................................................................................................................................................
Input/output Pins27................................................................................................................................................................
Clock Sources27................................................................................................................................................................
Operations29................................................................................................................................................................
Operating Mode32................................................................................................................................................................
Initial Boot Sequence32................................................................................................................................................................
Transition Between Operating Modes32................................................................................................................................................................
Interrupts33................................................................................................................................................................
Control Registers34................................................................................................................................................................
Pwg V D1 Regulator Control Register34................................................................................................................................................................
Clg System Clock Control Register34................................................................................................................................................................
Clg Oscillation Control Register35................................................................................................................................................................
Clg Osc3b Control Register36................................................................................................................................................................
Clg Osc1 Control Register36................................................................................................................................................................
Clg Osc3a Control Register37................................................................................................................................................................
Clg Interrupt Flag Register37................................................................................................................................................................
Clg Interrupt Enable Register38................................................................................................................................................................
Clg Fout Control Register38................................................................................................................................................................
Cpu And Debugger40................................................................................................................................................................
Cpu Core41................................................................................................................................................................
Cpu Registers41................................................................................................................................................................
Instruction Set41................................................................................................................................................................
Reading Psr41................................................................................................................................................................
I/o Area Reserved For The S1c17 Core41................................................................................................................................................................
Debugger41................................................................................................................................................................
Debugging Functions41................................................................................................................................................................
Resource Requirements And Debugging Tools41................................................................................................................................................................
List Of Debugger Input/output Pins42................................................................................................................................................................
External Connection42................................................................................................................................................................
Control Register42................................................................................................................................................................
Misc Psr Register42................................................................................................................................................................
Debug Ram Base Register43................................................................................................................................................................
Memory And Bus44................................................................................................................................................................
Bus Access Cycle44................................................................................................................................................................
Flash Memory45................................................................................................................................................................
Flash Bus Access Cycle Setting45................................................................................................................................................................
Flash Programming45................................................................................................................................................................
Flash Security Function46................................................................................................................................................................
Ram146................................................................................................................................................................
Ram246................................................................................................................................................................
Peripheral Circuit Control Registers46................................................................................................................................................................
Uart Ch.n Control Register48................................................................................................................................................................
Uart Ch.n Transmit Data Register48................................................................................................................................................................
Uart Ch.n Receive Data Register48................................................................................................................................................................
Uart Ch.n Status And Interrupt Flag Register48................................................................................................................................................................
Uart Ch.n Interrupt Enable Register48................................................................................................................................................................
System-protect Function50................................................................................................................................................................
Misc System Protect Register50................................................................................................................................................................
Misc Iram Size Register50................................................................................................................................................................
Flashc Flash Read Cycle Register51................................................................................................................................................................
Interrupt Controller (itc)52................................................................................................................................................................
Vector Table52................................................................................................................................................................
Vector Table Base Address (ttbr)54................................................................................................................................................................
Initialization54................................................................................................................................................................
Maskable Interrupt Control And Operations54................................................................................................................................................................
Peripheral Circuit Interrupt Control54................................................................................................................................................................
Itc Interrupt Request Processing55................................................................................................................................................................
Conditions To Accept Interrupt Requests By The Cpu55................................................................................................................................................................
Nmi55................................................................................................................................................................
Software Interrupts55................................................................................................................................................................
Interrupt Processing By The Cpu56................................................................................................................................................................
Misc Vector Table Address Low Register56................................................................................................................................................................
Misc Vector Table Address High Register56................................................................................................................................................................
Itc Interrupt Level Setup Register X56................................................................................................................................................................
O Ports (pport)58................................................................................................................................................................
I/o Cell Structure And Functions59................................................................................................................................................................
Schmitt Input59................................................................................................................................................................
Over Voltage Tolerant Fail-safe Type I/o Cell59................................................................................................................................................................
Pull-up/pull-down59................................................................................................................................................................
Cmos Output And High Impedance State60................................................................................................................................................................
Clock Settings60................................................................................................................................................................
Pport Operating Clock60................................................................................................................................................................
Clock Supply In Sleep Mode60................................................................................................................................................................
Clock Supply In Debug Mode60................................................................................................................................................................
Port Input/output Control62................................................................................................................................................................
Px Port Data Register63................................................................................................................................................................
Px Port Enable Register64................................................................................................................................................................
Px Port Pull-up/down Control Register64................................................................................................................................................................
Px Port Interrupt Flag Register65................................................................................................................................................................
Px Port Interrupt Control Register65................................................................................................................................................................
Px Port Chattering Filter Enable Register65................................................................................................................................................................
Px Port Mode Select Register65................................................................................................................................................................
Px Port Function Select Register66................................................................................................................................................................
P Port Clock Control Register66................................................................................................................................................................
P Port Interrupt Flag Group Register67................................................................................................................................................................
Control Register And Port Function Configuration Of This Ic68................................................................................................................................................................
P0 Port Group68................................................................................................................................................................
P1 Port Group69................................................................................................................................................................
P2 Port Group69................................................................................................................................................................
P3 Port Group70................................................................................................................................................................
P4 Port Group71................................................................................................................................................................
Pd Port Group72................................................................................................................................................................
Common Registers Between Port Groups72................................................................................................................................................................
Watchdog Timer (wdt)73................................................................................................................................................................
Wdt Operating Clock73................................................................................................................................................................
Wdt Control74................................................................................................................................................................
Operations In Halt And Sleep Modes74................................................................................................................................................................
Wdt Clock Control Register75................................................................................................................................................................
Wdt Control Register75................................................................................................................................................................
Supply Voltage Detector (svd)77................................................................................................................................................................
Input Pin And External Connection78................................................................................................................................................................
Svd Operating Clock78................................................................................................................................................................
Svd Control79................................................................................................................................................................
Svd Operations80................................................................................................................................................................
Svd Interrupt And Reset80................................................................................................................................................................
Svd Interrupt80................................................................................................................................................................
Svd Reset81................................................................................................................................................................
Svd Clock Control Register81................................................................................................................................................................
Svd Control Register82................................................................................................................................................................
Svd Status And Interrupt Flag Register83................................................................................................................................................................
Svd Interrupt Enable Register84................................................................................................................................................................
16-bit Timers (t16)85................................................................................................................................................................
T16 Operating Clock86................................................................................................................................................................
Event Counter Clock86................................................................................................................................................................
Counter Underflow87................................................................................................................................................................
Operations In Repeat Mode87................................................................................................................................................................
Operations In One-shot Mode87................................................................................................................................................................
Counter Value Read88................................................................................................................................................................
Interrupt88................................................................................................................................................................
T16 Ch.n Clock Control Register88................................................................................................................................................................
T16 Ch.n Mode Register89................................................................................................................................................................
T16 Ch.n Control Register89................................................................................................................................................................
T16 Ch.n Reload Data Register90................................................................................................................................................................
T16 Ch.n Counter Data Register90................................................................................................................................................................
T16 Ch.n Interrupt Flag Register90................................................................................................................................................................
T16 Ch.n Interrupt Enable Register91................................................................................................................................................................
Uart (uart)92................................................................................................................................................................
Input/output Pins And External Connections93................................................................................................................................................................
List Of Input/output Pins93................................................................................................................................................................
External Connections93................................................................................................................................................................
Input Pin Pull-up Function93................................................................................................................................................................
Output Pin Open-drain Output Function93................................................................................................................................................................
Uart Operating Clock93................................................................................................................................................................
Baud Rate Generator94................................................................................................................................................................
Data Format94................................................................................................................................................................
Data Transmission95................................................................................................................................................................
Data Reception96................................................................................................................................................................
Irda Interface97................................................................................................................................................................
Receive Errors98................................................................................................................................................................
Framing Error98................................................................................................................................................................
Parity Error99................................................................................................................................................................
Overrun Error99................................................................................................................................................................
Uart Ch.n Clock Control Register99................................................................................................................................................................
Uart Ch.n Mode Register100................................................................................................................................................................
Uart Ch.n Baud-rate Register101................................................................................................................................................................
Pin Functions In Master Mode And Slave Mode107................................................................................................................................................................
Input Pin Pull-up/pull-down Function107................................................................................................................................................................
Spi Operating Clock107................................................................................................................................................................
Spi Clock (spiclkn) Phase And Polarity108................................................................................................................................................................
Data Transmission In Master Mode109................................................................................................................................................................
Data Reception In Master Mode111................................................................................................................................................................
Terminating Data Transfer In Master Mode112................................................................................................................................................................
Data Transfer In Slave Mode112................................................................................................................................................................
Terminating Data Transfer In Slave Mode114................................................................................................................................................................
Spi Ch.n Mode Register115................................................................................................................................................................
Spi Ch.n Control Register115................................................................................................................................................................
Spi Ch.n Transmit Data Register116................................................................................................................................................................
Spi Ch.n Receive Data Register116................................................................................................................................................................
Spi Ch.n Interrupt Flag Register116................................................................................................................................................................
Spi Ch.n Interrupt Enable Register117................................................................................................................................................................
C (i2c)118................................................................................................................................................................
I2c Operating Clock120................................................................................................................................................................
10-bit Addressing In Master Mode126................................................................................................................................................................
Data Transmission In Slave Mode127................................................................................................................................................................
Data Reception In Slave Mode129................................................................................................................................................................
Slave Operations In 10-bit Address Mode131................................................................................................................................................................
Error Detection132................................................................................................................................................................
I2c Ch.n Clock Control Register134................................................................................................................................................................
I2c Ch.n Mode Register135................................................................................................................................................................
I2c Ch.n Baud-rate Register135................................................................................................................................................................
I2c Ch.n Own Address Register135................................................................................................................................................................
I2c Ch.n Control Register136................................................................................................................................................................
I2c Ch.n Transmit Data Register137................................................................................................................................................................
I2c Ch.n Receive Data Register137................................................................................................................................................................
I2c Ch.n Status And Interrupt Flag Register137................................................................................................................................................................
I2c Ch.n Interrupt Enable Register138................................................................................................................................................................
Clock Timer (ct)140................................................................................................................................................................
Ct Control Register142................................................................................................................................................................
Ct Counter Data Register142................................................................................................................................................................
Ct Interrupt Flag Register143................................................................................................................................................................
Ct Interrupt Enable Register143................................................................................................................................................................
Real-time Clock (rtc)144................................................................................................................................................................
Rtc Counters144................................................................................................................................................................
Time Setting146................................................................................................................................................................
Time Read147................................................................................................................................................................
Rtc Control Register148................................................................................................................................................................
Rtc Interrupt Enable Register149................................................................................................................................................................
Rtc Interrupt Flag Register149................................................................................................................................................................
Rtc Minute/second Register150................................................................................................................................................................
Rtc Hour Register150................................................................................................................................................................
Theoretical Regulation (tr)152................................................................................................................................................................
Output Pin152................................................................................................................................................................
Executing Theoretical Regulation152................................................................................................................................................................
Regulated Clock External Monitor154................................................................................................................................................................
Theoretical Regulation Control Register154................................................................................................................................................................
16-bit Pwm Timers (t16a3)156................................................................................................................................................................
T16a3 Operating Clock157................................................................................................................................................................
Counter Block Operations159................................................................................................................................................................
Comparator/capture Block Operations160................................................................................................................................................................
Tout Output Control164................................................................................................................................................................
T16a3 Counter Ch.n Control Register167................................................................................................................................................................
T16a3 Counter Ch.n Data Register168................................................................................................................................................................
T16a3 Comparator/capture Ch.n Control Register169................................................................................................................................................................
T16a3 Comparator/capture Ch.n A Data Register170................................................................................................................................................................
T16a3 Ch.n Interrupt Flag Register171................................................................................................................................................................
Parallel Interface (pio) Characteristics173................................................................................................................................................................
Operations In Sram Mode175................................................................................................................................................................
Operations In Gpio Mode176................................................................................................................................................................
Pio Control Register178................................................................................................................................................................
Pio Status Register179................................................................................................................................................................
Epd Timing Controller (epd Tcon)180................................................................................................................................................................
R/f Converter (rfc)182................................................................................................................................................................
Operating Modes185................................................................................................................................................................
Converting Operations And Control Procedure186................................................................................................................................................................
Cr Oscillation Frequency Monitoring Function188................................................................................................................................................................
Rfc Ch.n Oscillation Trigger Register190................................................................................................................................................................
Rfc Ch.n Measurement Counter Low And High Registers191................................................................................................................................................................
Rfc Ch.n Interrupt Flag Register192................................................................................................................................................................
Temperature Detection Circuit (tem)193................................................................................................................................................................
Temperature Detection195................................................................................................................................................................
Tem Control Register198................................................................................................................................................................
Tem Interrupt Enable Register199................................................................................................................................................................
Multiplier/divider (copro)200................................................................................................................................................................
Multiplication201................................................................................................................................................................
Division202................................................................................................................................................................
Reading Operation Results205................................................................................................................................................................
Electrical Characteristics206................................................................................................................................................................
Current Consumption207................................................................................................................................................................
System Reset Controller (src) Characteristics209................................................................................................................................................................
Clock Generator (clg) Characteristics210................................................................................................................................................................
Flash Memory Characteristics211................................................................................................................................................................
Input/output Port (pport) Characteristics212................................................................................................................................................................
Supply Voltage Detector (svd) Characteristics213................................................................................................................................................................
Uart (uart) Characteristics214................................................................................................................................................................
Package219................................................................................................................................................................
Appendix A List Of Peripheral Circuit Control Registers220................................................................................................................................................................
0x4000-0x4008220................................................................................................................................................................
Misc Registers (misc)220................................................................................................................................................................
0x4020220................................................................................................................................................................
0x4040-0x404e220................................................................................................................................................................
0x4052221................................................................................................................................................................
0x4080-0x4092221................................................................................................................................................................
0x40a0-0x40a2222................................................................................................................................................................
0x40c0-0x40c8223................................................................................................................................................................
0x4100-0x4106223................................................................................................................................................................
0x4160-0x416c224................................................................................................................................................................
0x41b0224................................................................................................................................................................
Flash Controller (flashc)224................................................................................................................................................................
0x4200-0x42e2224................................................................................................................................................................
I/o Ports (pport)224................................................................................................................................................................
0x4380-0x438e227................................................................................................................................................................
0x43a0-0x43ac228................................................................................................................................................................
0x43b0-0x43ba229................................................................................................................................................................
0x43c0-0x43d2229................................................................................................................................................................
I 2 C (i2c)229................................................................................................................................................................
0x5000-0x500e230................................................................................................................................................................
0x5020-0x502e231................................................................................................................................................................
0x5180-0x5186232................................................................................................................................................................
0x5260-0x526c233................................................................................................................................................................
0x5270-0x527a233................................................................................................................................................................
0x5280-0x528c234................................................................................................................................................................
0x5290-0x529a234................................................................................................................................................................
0x52e0-0x52ea235................................................................................................................................................................
0x5380-0x5384235................................................................................................................................................................
0x5440-0x5450236................................................................................................................................................................
0x5460-0x5470237................................................................................................................................................................
0x54c0-0x54ca238................................................................................................................................................................
0xffff90238................................................................................................................................................................
Debugger (dbg)238................................................................................................................................................................
Appendix B Power Saving239................................................................................................................................................................
Operating Status Configuration Examples For Power Saving239................................................................................................................................................................
Other Power Saving Methods240................................................................................................................................................................
Appendix C Mounting Precautions242................................................................................................................................................................
Appendix D Measures Against Noise243................................................................................................................................................................
Appendix E Initialization Routine245................................................................................................................................................................
Revision History246................................................................................................................................................................

Advertisement

Share and save

Advertisement