sm59128 SyncMOS Technologies,Inc, sm59128 Datasheet

no-image

sm59128

Manufacturer Part Number
sm59128
Description
8-bits Micro-controller Embedded 128kb Flash & 1kb Ram & Iic & Spwm
Manufacturer
SyncMOS Technologies,Inc
Datasheet
Product List
SM59128C25, 25MHz 128KB internal flash MCU
SM59128C40, 40MHz 128KB internal flash MCU
Description
The SM59128 series product is an 8-bit single chip
microcontroller embedded with 128KB on-chip flash with
In-System Programming (ISP) capability and
1024 bytes RAM. It is a derivative of the 8052 microcontroller
family. In addition, SM59128 has IIC interface which is
compatible with standard VESA DDC/CI and built in 4-channel
SPWM. User can access on-chip expanded RAM by its ‘bank
mapping direct addressing mode’ scheme. With its hardware
features and powerful instruction sets, it’s straight forward to
make it a versatile and cost effective controller for those
applications which demand up to 32 I/O pins for PDIP package or
up to 36 I/O pins for PLCC or QFP package, or applications
which need up to 64K bytes flash memory for program and/or for
data.
To program the on-chip flash memory, commercial writers are
available by parallel programming method. On the other hand,
the on-chip flash memory can be programmed through either
parallel or serial interface with its ISP feature.
Ordering Information
yymmv
SM59128ihhkL
yy: year, mm: month
v: version identifier{ , A, B,…}
i: process identifier {L=3.0V~3.6V,C=4.5V~ 5.5V}
hh: working clock in MHz {25, 40}
k: package type postfix {as below table}
L: PB Free identifier
{No text is Non-PB Free,”P”is PB Free}
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M027Ver: B SM59128
Postfix
Q
P
J
SyncMOS Technologies International, Inc.
44L PLCC
40L PDIP
Package
44L QFP
Pin / Pad Configuration
Page 2
Page 3
Page 4
1
Features
Taiwan
6F, No.10-2
Science-based Industrial Park,
Hsinchu, Taiwan 30078
TEL: 886-3-567-1820
FAX: 886-3-567-1891
Embedded 128KB flash & 1KB RAM & IIC & SPWM
Working Voltage: 4.5V to 5.5 V
General 8052 family compatible
12 clocks per machine cycle
128K bytes on-chip flash with In-System Programming
(ISP) capability
IIC (Two wire serial bus) interface compliant with VESA
DDC 2B/2Bi/2B+ standard
On-chip 1024 bytes RAM
Three 16-bit Timers/Counters
One Watch Dog Timer
Four 8-bit I/O ports for PDIP package
Four 8-bit I/O ports + one 4-bit I/O ports for PLCC or
QFP package
Full duplex serial channel
Bit operation instruction
Temperature range of Industrial level
8-bit Unsigned Division
8-bit Unsigned Multiply
BCD arithmetic
Direct Addressing
Indirect Addressing
Nested Interrupt
Two priority level interrupt
A serial I/O port
Power-Saving mode: Idle mode and Power-down
mode
Code protection function
Low EMI (inhibit ALE)
Reset with address $0000 blank initiate ISP service
program
Configurable ISP service program space with N*512
bytes (N=0 to 8) size
4-channel SPWM function
Flash Memory Endurance : 100K erase and write
cycles each byte at TA=25℃
Flash Memory Data Retention :10 years
886-3-567-1880
886-3-567-1894
Li- Hsin 1st
Road ,
8-Bits Micro-controller
SM59128
06/2009

Related parts for sm59128

sm59128 Summary of contents

Page 1

... SM59128C25, 25MHz 128KB internal flash MCU SM59128C40, 40MHz 128KB internal flash MCU Description The SM59128 series product is an 8-bit single chip microcontroller embedded with 128KB on-chip flash with In-System Programming (ISP) capability and 1024 bytes RAM derivative of the 8052 microcontroller family ...

Page 2

... SDA/P1.7 RESET RXD/P3.0 TXD/P3.1 INT0/P3.2 INT1/P3.3 T0/P3.4 T1/P3.5 WR/P3.6 RD/P3.7 XTAL2 XTAL1 VSS Specifications subject to change without notice contact your sales representatives for the most recent information. ISSFD-M027Ver: B SM59128 Embedded 128KB flash & 1KB RAM & IIC & SPWM ...

Page 3

... SyncMOS Technologies International, Inc. SPWM3/P1.5 SCL/P1.6 SDA/P1.7 RESET RXD/P3.0 P4.3 TXD/P3.1 INT0/P3.2 INT1/P3.3 T0/P3.4 T1/P3.5 Specifications subject to change without notice contact your sales representatives for the most recent information. ISSFD-M027Ver: B SM59128 Embedded 128KB flash & 1KB RAM & IIC & SPWM ...

Page 4

... AD0/P0.0 38 VDD 39 P4.2 40 T2/P1.0 41 T2EX/P1.1 42 SPWM0/P1.2 43 SPWM1/P1.3 44 SPWM2/P1.4 Specifications subject to change without notice contact your sales representatives for the most recent information. ISSFD-M027Ver: B SM59128 8-Bits Micro-controller Embedded 128KB flash & 1KB RAM & IIC & SPWM 22 P2.4/A12 21 P2.3/A11 20 P2.2/A10 19 P2.1/A9 18 P2.0/A8 17 P4.0 16 VSS ...

Page 5

... Latch SPWM & IIC Port 0 Driver & Mux Specifications subject to change without notice contact your sales representatives for the most recent information. ISSFD-M027Ver: B SM59128 Embedded 128KB flash & 1KB RAM & IIC & SPWM Stack Decoder & 1024 Bytes Pointer Register ...

Page 6

... Specifications subject to change without notice contact your sales representatives for the most recent information. ISSFD-M027Ver: B SM59128 Embedded 128KB flash & 1KB RAM & IIC & SPWM Symbol Active I/O P1.0/T2 i/o i/o P1.2 i/o i/o i/o i/o P1.6/SCL i/o i/o RES H i i/o i/o L/- ...

Page 7

... Special Function Register (SFR) The address $80 to $FF can be accessed by direct addressing mode only. Address $80 to $FF is SFR area. The following table lists the SFR’s, which are identical to general 8052, as well as SM59128 Extension SFR’s. Special Function Register (SFR) Memory Map $F8 ...

Page 8

... ISPC Extension Function Description 1. Memory Structure The SM59128 has the general 8052 hardware core integration of expanded 768 bytes data RAM and 128K bytes flash. The 128K bytes on-chip flash is divided in two 64K bytes program memory space. 1.1 Program Memory The SM59128 has two 64K bytes on-chip flash memory space as general program memory denoted by bank0 and bank1 ...

Page 9

... Note: The single flash block address structure of doing the ISP function for the on-chip data flash as well as program flash. Specifications subject to change without notice contact your sales representatives for the most recent information. ISSFD-M027Ver: B SM59128 Embedded 128KB flash & 1KB RAM & IIC & SPWM 1FFFFH (N=0) ...

Page 10

... SyncMOS Technologies International, Inc. 1.2 Data Memory The SM59128 has 1024 bytes on-chip RAM consists of 256 bytes as same as 8052 internal memory structure and expanded 768 bytes on-chip RAM that can be accessed by external memory addressing method (by instruction MOVX ‘Bank mapping direct addressing mode’. User can use MOVX instruction to access internal RAM or external memory by setting OME ...

Page 11

... The bit 3, bit 2, bit 1, bit 0 out put the setting to pin P4.3, P4.2, P4.1, P4.0, respectively. 3. In-System Programming (ISP) Function The SM59128 can generate flash control signals by internal hardware circuit. User is able to utilize flash control register, flash address register and flash data register to execute the in-system programming (ISP) function without removing the SM59128 from system board ...

Page 12

... Under such configuration, the usable program memory space is 60K bytes in each bank. After the lock bit N is determined, SM59128 will reserve the ISP service program space downward from the top of the program address $FFFFH of bank0 and $1FFFFH of bank1. The starting address of the ISP service program locates at $Fx00H and $1Fx00H while even number depending on the lock bit N ...

Page 13

... Hardware setting to enter/execute ISP service program: User can initiate general 8052 UART function to initiate the ISP service program. After ISP service program executed, user needs to reset the SM59128, either by hardware reset or by WDT, or jump to the address $0000 to re-start the firmware program. ...

Page 14

... START Unused Read / Write: R/W Reset value: 0 ISPF [1:0]: ISP function select bit Specifications subject to change without notice contact your sales representatives for the most recent information. ISSFD-M027Ver: B SM59128 Embedded 128KB flash & 1KB RAM & IIC & SPWM FA14 FA13 FA12 R/W R/W R/W 0 ...

Page 15

... MOV ISPFD, #55H After START bit is set to 1 then the SM59128 hardware circuit will latch flash address and data bus and hold the program counter until the START bit reset to 0 when ISP function was finished. The program counter (PC) will point to next instruction after START bit reset to 0 ...

Page 16

... RC oscillator. It will generate a reset signal when overflows. The WDTE bit will be cleared to 0 automatically when SM59128 been reset, either hardware reset or WDT reset. To reset the WDT is done by setting 1 to the CLEAR bit of WDTC before the counter overflow. This will clear the content of the 16-bit counter and let the counter re-start to count from the beginning ...

Page 17

... User should check WDR bit whenever un-predicted reset happened 5. Reduce EMI Function The SM59128 allows user to reduce the EMI emission by setting 1 to the bit 0 (ALEI) of SCONF register. This function will inhibit the clock signal in Fosc/6Hz output to the ALE pin. 6. Specific Pulse Width Modulation (SPWM) The Specific Pulse Width Modulation (SPWM) module contains 1 kind of PWM sub module: SPWM (Specific PWM) ...

Page 18

... SPWMD[4:0] : content of SPWM Data Register. It determines duty cycle of SPWM output waveform. BRM[2:0] : will insert certain narrow pulses among an 8-SPWM-cycle frame Specifications subject to change without notice contact your sales representatives for the most recent information. ISSFD-M027Ver: B SM59128 Embedded 128KB flash & 1KB RAM & IIC & SPWM IICCLE ...

Page 19

... SPWM clock = 20MHz/2^4 = 20MHz/16 = 1.25MHz SPWM output cycle frame frequency = (20MHz/2^4)/32=39.1KHz Specifications subject to change without notice contact your sales representatives for the most recent information. ISSFD-M027Ver: B SM59128 Embedded 128KB flash & 1KB RAM & IIC & SPWM Number of SPWM cycles inserted in an 8-cycle frame ...

Page 20

... Then the module will release the SDA line for the master to generate Stop or Repeated Start condition set upon reset. Specifications subject to change without notice contact your sales representatives for the most recent information. ISSFD-M027Ver: B SM59128 Embedded 128KB flash & 1KB RAM & IIC & SPWM TXIF ...

Page 21

... The serial clock frequency is equal to the external clock divided by the certain divider. These bits are cleared upon reset. Specifications subject to change without notice contact your sales representatives for the most recent information. ISSFD-M027Ver: B SM59128 Embedded 128KB flash & 1KB RAM & IIC & SPWM IICA.6 IICA ...

Page 22

... When it is zero, the module is in master transmit mode. Reset clears this bit. Specifications subject to change without notice contact your sales representatives for the most recent information. ISSFD-M027Ver: B SM59128 Embedded 128KB flash & 1KB RAM & IIC & SPWM IICFS[2:0] ...

Page 23

... PIIC for assign IIC interrupt priority. Whenever IIC interrupt occurs, IICIF will be set to 1. After IIC interrupt subroutine (vector) been executed, IICIF will be cleared to 0. Specifications subject to change without notice contact your sales representatives for the most recent information. ISSFD-M027Ver: B SM59128 Embedded 128KB flash & 1KB RAM & IIC & SPWM IICTxD.5 IICTxD ...

Page 24

... When the IIC module detects an arbitration loss in master, it will release both SDA and SCL lines immediately. But if there is no further Stop condition detected, the module will be hanged up. Specifications subject to change without notice contact your sales representatives for the most recent information. ISSFD-M027Ver: B SM59128 Embedded 128KB flash & 1KB RAM & IIC & SPWM R ...

Page 25

... If IOL exceeds the condition, VOL may exceed the related specification. Pins are not guaranteed to sink current greater than the listed test conditions. Note2 : Minimum VCC for Power-down is 2V. Specifications subject to change without notice contact your sales representatives for the most recent information. ISSFD-M027Ver: B SM59128 Embedded 128KB flash & 1KB RAM & IIC & SPWM Min. Typ. ...

Page 26

... T CLCH clock rise time T CHCX clock high time T, TCLCL clock period Specifications subject to change without notice contact your sales representatives for the most recent information. ISSFD-M027Ver: B SM59128 Embedded 128KB flash & 1KB RAM & IIC & SPWM Icc VDD SM59128 P0 XTAL2 ...

Page 27

... SyncMOS Technologies International, Inc. ISP Test Conditions (40 MHZ, typical operating conditions, valid for SM59128 series) Symbol Chip erase Page erase Program Protect Application Reference Valid for SM59128 X'tal 3MHz 6MHz 9MHz open open open ...

Page 28

... SyncMOS Technologies International, Inc. Data Memory Read Cycle Timing Program Memory Read Cycle Timing Specifications subject to change without notice contact your sales representatives for the most recent information. ISSFD-M027Ver: B SM59128 Embedded 128KB flash & 1KB RAM & IIC & SPWM 28 SM59128 ...

Page 29

... SyncMOS Technologies International, Inc. Data Memory Write Cycle Timing I/O Ports Timing Specifications subject to change without notice contact your sales representatives for the most recent information. ISSFD-M027Ver: B SM59128 Embedded 128KB flash & 1KB RAM & IIC & SPWM 29 SM59128 8-Bits Micro-controller 06/2009 ...

Page 30

... Timing Critical, Requirement of External Clock Tm.I External Program Memory Read Cycle Tm.II External Data Memory Read Cycle Specifications subject to change without notice contact your sales representatives for the most recent information. ISSFD-M027Ver: B SM59128 Embedded 128KB flash & 1KB RAM & IIC & SPWM (Vss=0.0V is assumed) 30 ...

Page 31

... SyncMOS Technologies International, Inc. Tm.III External Data Memory Write Cycle Specifications subject to change without notice contact your sales representatives for the most recent information. ISSFD-M027Ver: B SM59128 Embedded 128KB flash & 1KB RAM & IIC & SPWM 31 SM59128 8-Bits Micro-controller 06/2009 ...

Page 32

... ChangXing road , TianHe district , GuangZhou. Web site: http://www.top2048.com/ Specifications subject to change without notice contact your sales representatives for the most recent information. ISSFD-M027Ver: B SM59128 Embedded 128KB flash & 1KB RAM & IIC & SPWM MCU writer list Contact info Tel:02-22182325 ...

Related keywords