DatasheetsPDF.com

KS57P0504 Dataheets PDF



Part Number KS57P0504
Manufacturers Samsung semiconductor
Logo Samsung semiconductor
Description (KS57C0502 - KS57P0504) single-chip CMOS microcontroller
Datasheet KS57P0504 DatasheetKS57P0504 Datasheet (PDF)

KS57C0502/C0504/P0504 MICROCONTROLLER PRODUCT OVERVIEW 1 PRODUCT OVERVIEW The KS57C0502/C0504 single-chip CMOS microcontroller has been designed for high-performance using Samsung's newest 4-bit CPU core, SAM47 (Samsung Arrangeable Microcontrollers). The KS57P0504 is the microcontroller which has 4 Kbyte one-time-programmable ROM and the functions are the same to KS57C0502/C0504. With a four-channel comparator, eight LED direct drive pins, serial I/O interface, and its versatile 8-bit timer/.

  KS57P0504   KS57P0504


Document
KS57C0502/C0504/P0504 MICROCONTROLLER PRODUCT OVERVIEW 1 PRODUCT OVERVIEW The KS57C0502/C0504 single-chip CMOS microcontroller has been designed for high-performance using Samsung's newest 4-bit CPU core, SAM47 (Samsung Arrangeable Microcontrollers). The KS57P0504 is the microcontroller which has 4 Kbyte one-time-programmable ROM and the functions are the same to KS57C0502/C0504. With a four-channel comparator, eight LED direct drive pins, serial I/O interface, and its versatile 8-bit timer/counter, the KS57C0502/C0504 offers an excellent design solution for a wide variety of general-purpose applications. Up to 24 pins of the 30-pin SDIP package can be dedicated to I/O. Five vectored interrupts provide fast response to internal and external events. In addition, the KS57C0502/C0504's advanced CMOS technology provides for very low power consumption and a wide operating voltage range — all at a very low cost. FEATURES SUMMARY MEMORY 512 × 4-bit data memory (RAM) 2048 × 8-bit program memory (ROM):KS57C0502 4096 × 8-bit program memory (ROM):KS57C0504 24 I/O PINS I/O: 18 pins, including 8 high current pins Input only: 6 pins COMPARATOR 4-channel mode: Internal reference (4-bit resolution) 16-step variable reference voltage 3-channel mode: External reference 150 mV resolution (worst case) 8-BIT BASIC TIMER Programmable interval timer Watch-dog timer 8-BIT TIMER/COUNTER Programmable interval timer External event counter function Timer/counter clock output to TCLO0 pin WATCH TIMER Time interval generation: 0.5 s, 3.9 ms at 4.19 MHz 4 frequency outputs to BUZ pin 8-BIT SERIAL I/O INTERFACE 8-bit transmit/receive mode 8-bit receive-only mode LSB-first or MSB-first transmission selectable Internal or external clock source BIT SEQUENTIAL CARRIER Supports 16-bit serial data transfer in arbitrary format INTERRUPTS Two external interrupt vectors Three internal interrupt vectors Two quasi-interrupts MEMORY-MAPPED I/O STRUCTURE Data memory bank 15 TWO POWER-DOWN MODES Idle mode: Only CPU clock stops Stop mode: System clock stops OSCILLATION SOURCES Crystal, Ceramic for system clock Crystal/ceramic: 0.4 - 6.0 MHz CPU clock divider circuit (by 4. 8, or 64) INSTRUCTION EXECUTION TIMES 0.95, 1.91, 15.3 µs at 4.19 MHz 0.67, 1.33, 10.7 µs at 6.0 MHz OPERATING TEMPERATURE – 40 °C to 85 °C OPERATING VOLTAGE RANGE 1.8 V to 5.5 V PACKAGE TYPE 30 SDIP, 32 SOP 1–1 PRODUCT OVERVIEW KS57C0502/C0504/P0504 MICROCONTROLLER FUNCTION OVERVIEW SAM47 CPU All KS57-series microcontrollers have the advanced SAM47 CPU core. The SAM47 CPU can directly address up to 32 K bytes of program memory. The arithmetic logic unit (ALU) performs 4-bit addition, subtraction, logical, and shift-and-rotate operations in one instruction cycle and most 8-bit arithmetic and logical operations in two cycles. CPU REGISTERS Program Counter A 11-bit program counter (PC) stores addresses for instruction fetch during program execution. Usually, the PC is incremented by the number of bytes of the instruction being fetched. An exception is the 1-byte instruction REF which is used to reference instructions stored in a look-up table in the ROM. Whenever a reset operation or an interrupt occurs, bits PC11 through PC0 are set to the vector address. Bit PC13–12 is reserved to support future expansion of the device's ROM size. Stack Pointer An 8-bit stack pointer (SP) stores addresses for stack operations. The stack area is located in the generalpurpose data memory bank 0. The SP is read or written by 8-bit instructions and SP bit 0 must always be set to logic zero. During an interrupt or a subroutine call, the PC value and the PSW are saved to the stack area in RAM. When the service routine has completed, the values referenced by the stack pointer are restored. Then, the next instruction is executed. The stack pointer can access the stack regardless of data memory access enable flag status. Since the reset value of the stack pointer is not defined in firmware, it is recommended that the stack pointer be initialized to 00H by program code. This sets the first register of the stack area to data memory location 0FFH. PROGRAM MEMORY In its standard configuration, the 4096 × 8-bit ROM is divided into three functional areas: — 16-byte area for vector addresses — 96-byte instruction reference area — 1920-byte general purpose area (KS57C0502) — 3968-byte general purpose area (KS57C0504) The vector address area is used mostly during reset operations and interrupts. These 16 bytes can also be used as general-purpose ROM. The REF instruction references 2 × 1-byte and 2-byte instructions stored in locations 0020H–007FH. The REF instruction can also reference three-byte instructions such as JP or CALL. In order for REF to be able to reference these instructions, however, JP or CALL must be shortened to a 2-byte format. To do this, JP or CALL is is written to the reference area with the format TJP or TCALL instead of the normal instruction name. Unused locations in the instruction re.


KS57C0504 KS57P0504 KS57C0301


@ 2014 :: Datasheetspdf.com :: Semiconductors datasheet search & download site.
(Privacy Policy & Contact)