S1C31W74 (rev1.1) 32-bit Single Chip Microcontroller ARM 32-bit RISC CPU core Cortex -M0+ Embedded 72SEG 32COM LCD driver Embedded 512K-byte Flash memory and 128K-byte RAM 2 Various interfaces such as UART, QSPI, I C, and USB that support DMA transfer DESCRIPTIONS The S1C31W74 is a 32-bit MCU with an ARM Cortex -M0+ processor included that features low-power operation. It incorporates an LCD driver capable of driving up to a 2,304-dot LCD panel, a large-capacity Flash memory, and a lot of serial interface circuits. The S1C31W74 is suitable for various kinds of battery-driven controller applications. FEATURES Model S1C31W74 CPU CPU core ARM 32-bit RISC CPU core Cortex -M0+ Other Serial-wire debug ports (SW-DP) and a micro trace buffer (MTB) included Embedded Flash memory Capacity 512K bytes (for both instructions and data) Erase/program count 1,000 times (min.) * When being programmed by the dedicated flash loader Other On-board programming function Flash programming voltage can be generated internally. Embedded RAMs General-purpose RAM 128K bytes (shared with MTB) Display RAM 704 bytes Instruction cache 512 bytes DMA controller (DMAC) Number of channels 4 channels Data transfer path Memory to memory, memory to peripheral, and peripheral to memory Transfer mode Basic, ping-pong, scatter-gather DMA trigger source UART2, SPIA, QSPI, I2C, USB, T16B, SNDA, and software Clock generator (CLG) System clock source 4 sources (IOSC/OSC1/OSC3/EXOSC) System clock frequency (operating frequency) VD1 voltage mode = mode0: 21 MHz (max.) VD1 voltage mode = mode1: 2.1 MHz (max.) IOSC oscillator circuit (boot clock source) VD1 voltage mode = mode0: 20/16/12/8/2/1 MHz (typ.) software selectable VD1 voltage mode = mode1: 2/1 MHz (typ.) software selectable 10 s (max.) starting time (time from cancelation of SLEEP state to vector table read by the CPU) OSC1 oscillator circuit 32.768 kHz (typ.) crystal oscillator Oscillation stop detection circuit included OSC3 oscillator circuit 20.5 MHz (max.) crystal/ceramic oscillator EXOSC clock input 21 MHz (max.) square or sine wave input Other Configurable system clock division ratio Configurable system clock used at wake up from SLEEP state Operating clock frequency for the CPU and all peripheral circuits is selectable. I/O port (PPORT) Number of general-purpose I/O ports 71 bits (max.) Pins are shared with the peripheral I/O. Number of input interrupt ports 67 bits (max.) Number of ports that support universal port 24 bits multiplexer (UPMUX) A peripheral circuit I/O function selected via software can be assigned to each port. Timers Watchdog timer (WDT2) Generates NMI or watchdog timer reset. Programmable NMI/reset generation cycle Real-time clock (RTCA) 1281 Hz counter, second/minute/hour/day/day of the week/month/year counters Theoretical regulation function for 1-second correction Alarm and stopwatch functions 16-bit timer (T16) 4 channels Generates the SPIA and QSPI master clocks. 16-bit PWM timer (T16B) 2 channels Event counter/capture function PWM waveform generation function Number of PWM output or capture input ports: 2 ports/channel S1C31W74 Supply voltage detector (SVD2) Number of channels 2 channels Detection level 32 levels (1.7 to 4.3 V) Other Intermittent operation mode Generates an interrupt or reset (Ch.0) according to the detection level evaluation. Serial interfaces UART (UART2) 2 channels Baud-rate generator included, IrDA1.0 supported Open drain output, signal polarity, and baud rate division ratio are configurable. Synchronous serial interface (SPIA) 1 channel 2 to 16-bit variable data length The 16-bit timer (T16) can be used for the baud-rate generator in master mode. Quad synchronous serial interface (QSPI) 1 channel Supports single, dual, and quad transfer modes. Low CPU overhead memory mapped access mode that can directly read data from the external flash memory with XIP (eXecute-In-Place) mode. 2 I C (I2C) 2 channels Baud-rate generator included USB 2.0 FS device controller (USB) Number of transceiver/receiver channels 1 channel Transfer rate FS (12 Mbps) Clock source 48 MHz crystal oscillator or OSC3 (12 MHz) + PLL selectable Number of endpoints 4 endpoints (3 general-purpose endpoints and endpoint 0) Power supply Voltage regulators for USB included Sound generator (SNDA) Buzzer output function 512 Hz to 16 kHz output frequencies One-shot output function Melody generation function Pitch: 128 Hz to 16 kHz C3 to C6 Duration: 7 notes/rests (Half note/rest to thirty-second note/rest) Tempo: 16 tempos (30 to 480) Tie/slur may be specified. IR remote controller (REMC2) Number of transmitter channels 1 channel Other EL lamp drive waveform can be generated (by the hardware) for an application example. LCD driver (LCD32B) LCD output 88SEG 116COM (max.), 80SEG 1724COM (max.), 72SEG 2532COM (max.) LCD contrast 16 levels Other 1/5 or 1/4 bias power supply included, external voltage can be applied. R/F converter (RFC) Conversion method CR oscillation type with 24-bit counters Number of conversion channels 1 channel (Up to two sensors can be connected.) Supported sensors DC-bias resistive sensors, AC-bias resistive sensors Reset RESET pin Reset when the reset pin is set to low. Power-on reset Reset at power on. Brownout reset Reset when the power supply voltage drops (when VDD 1.45 V (typ.) is detected). Key entry reset Reset when the P00 to P01/P02/P03 keys are pressed simultaneously (can be enabled/ disabled using a register). Watchdog timer reset Reset when the watchdog timer overflows (can be enabled/disabled using a register). Supply voltage detector reset Reset when the supply voltage detector detects the set voltage level (can be enabled/dis- abled using a register). Interrupt Non-maskable interrupt 6 systems (Reset, NMI, HardFault, SVCall, PendSV, SysTic) Programmable interrupt External interrupt: 1 system Internal interrupt: 23 systems Power supply voltage VDD operating voltage 1.8 to 3.6 V VDD operating voltage for Flash programming 2.7 to 3.6 V (when the internal voltage booster is used) VDD operating voltage when LCD driver is used 2.5 to 3.6 V Operating temperature Operating temperature range -40 to 85 C Current consumption (Typ. value) 1* SLEEP mode 0.4 A IOSC = OFF, OSC1 = OFF, OSC3 = OFF 0.9 A IOSC = OFF, OSC1 = ON, OSC3 = OFF, RTC = ON 2 Seiko Epson Corporation