| 数据搜索系统,热门电子元器件搜索 |
|
ST52X430 数据表(PDF) 14 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST52X430 数据表(HTML) 14 Page - STMicroelectronics |
|
14 / 88 page ![]() ST52T430/E430 14/88 2 INTERNAL ARCHITECTURE ST52x430 is made up of the following blocks and peripherals: s Control Unit (CU) and Data Processing Unit (DPU) s ALU / Fuzzy Core s EPROM s 256 Byte RAM s Clock Oscillator s Analog Multiplexer and A/D Converter s 3 PWM / Timers s SCI s Digital I/O port 2.1 ST52x430 Operating Modes ST52x430 works in two modes, Programming and Working Modes, depending on the control signals level RESET, TEST and VPP The Operating modes are selected by setting the control signal level as specified in the Control Signals Setting table. 2.2 Control Unit and Data Processing Unit The Control Unit (CU) formally includes five main blocks. Each block decodes a set of instructions, generating the appropriate control signals. The main parts of the CU are illustrated in Figure 2.1. The five different parts of the CU manage Loading, Logic/Arithmetic, Jump, Control and the Fuzzy instruction set. The block called “Collector” manages the signals deriving from the different parts of the CU, defining the signals for the Data Processing Unit (DPU) and the different peripherals of the microcontroller. The block called “Arbiter” manages the different- parts of the CU so that only one part of the system is activated during working mode. The CU structure is very flexible. It was designed with the purpose of easily adapting the core of the microcontroller to market needs. New instruction sets or new peripherals can be easily included without changing the structure of the microcontroller, maintaining code compatibility. The CU reads the instructions stored on EPROM (Fetch) and decodes them. According to the instruction types, the arbiter activates one of the main blocks of the CU. Afterwards, all the control signals for the DPU are generated. A set of 46 different arithmetic, fuzzy and logic instructions is available. Each instruction requires 6 (fuzzy instructions) to 26 (DIVISION) clock pulses to be performed. The DPU receives, stores and sends instructions deriving from EPROM, RAM or peripherals in order to execute them. 2.2.1 Program Counter. The Program Counter (PC) is a 13-bit register that contains the address of the next memory location to be processed by the core. This memory location may be an opcode, operand, or an address of an operand. The 13-bit length allows direct addressing of a maximum of 8,192 bytes in the program space. After having read the current instruction address, the PC value is incremented. The result of this operation is shifted back into the PC. The PC can be changed in the following ways: s JP (Jump)PC = Jump Address s InterruptPC = Interrupt Vector s RETIPC = Pop (stack) s RETPC = Pop (stack) s CALLPC = Subroutines address s ResetPC = Reset Vector s Normal InstructionPC = PC + 1 2.2.2 Flags. The ST52x430 core includes a different set of flags that correspond to 2 different modes: normal mode and interrupt mode. Each set of flags con- sists of a CARRY flag (C), ZERO flag (Z) and SIGN flag (S). One set (CN, ZN, SN) is used during normal operation and one is used during interrupt mode (CI, ZI, SI). Formally, the user has to manage only one set of flags: C, Z and S. Table 2.1 Control Signals Setting Control Signal Pro- gramming Reset Working RESET VSS VSS VDD TEST VSS VSS VSS VPP 12 V VSS VSS |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |