cr0116tsk52xmcu

上传人:w****i 文档编号:106161229 上传时间:2019-10-14 格式:PDF 页数:83 大小:1.94MB
返回 下载 相关 举报
cr0116tsk52xmcu_第1页
第1页 / 共83页
cr0116tsk52xmcu_第2页
第2页 / 共83页
cr0116tsk52xmcu_第3页
第3页 / 共83页
cr0116tsk52xmcu_第4页
第4页 / 共83页
cr0116tsk52xmcu_第5页
第5页 / 共83页
点击查看更多>>
资源描述

《cr0116tsk52xmcu》由会员分享,可在线阅读,更多相关《cr0116tsk52xmcu(83页珍藏版)》请在金锄头文库上搜索。

1、 TSK52x MCU Summary Core Reference CR0116 (v1.2) November 03, 2004 The TSK52x is a fully functional, 8-bit microcontroller, incorporating the Harvard architecture. This core reference includes architectural and hardware descriptions, instruction sets and on-chip debugging functionality for the TSK52

2、x family. The TSK52x is an 8-bit embedded controller that executes all ASM51 instructions and is instruction set compatible with the 80C31. Features Control Unit 8-bit Instruction decoder Reduced instruction cycle time up to 12 times. Arithmetic-Logic Unit 8 bit arithmetic and logical operations Boo

3、lean manipulations 8 x 8 bit multiplication and 8 / 8 bit division. 32-bit Input/Output ports Four 8-bit I/O ports Alternate port functions such as external interrupts and serial interface are separated, providing extra port pins when compared with the standard 8051. Interrupt Controller Four Priori

4、ty Levels 7 external interrupts Internal Data Memory interface Can address up to 256 B of Data memory Space. CR0116 (v1.2) November 03, 2004 1 TSK52x MCU 2 CR0116 (v1.2) November 03, 2004 External Memory interface Can address up to 64 KB of external Program memory space Can address up to 64 KB of ex

5、ternal Data memory space De-multiplexed Address/Data Bus to allow easy connection to memories Variable length code fetch and MOVC to access fast/slow Program memory Variable length MOVX to access fast/slow RAM or peripherals Wishbone-compliant (TSK52B_W and TSK52B_WD only) Performance The architectu

6、re eliminates redundant bus states and implements parallel execution of fetch and execution phases. Since a cycle is aligned with memory fetch when possible, most of the 1-byte instructions are performed in a single cycle. The TSK52x uses 1 clock cycle per machine (instruction) cycle. This leads to

7、a more enhanced and efficient performance with respect to the industry standard 8051 processor working with the same clock frequency (in fact, the execution of instructions is an average eight times faster on the TSK52x). The standard 8051 has a 12-clock architecture. A machine (instruction) cycle n

8、eeds 12 clock cycles to execute to completion and most instructions require either one or two machine cycles. Therefore, with the exception of MUL and DIV, the 8051 uses either 12 or 24 clock cycles for each instruction. Furthermore, each cycle in the 8051 uses two memory fetches. In many cases the

9、second fetch is dummy and extra clock cycles are wasted. Table 1 Table 1. Speed advantage summary below shows the speed advantage of the TSK52x over the standard 8051. A speed advantage of 12 means that the TSK52x performs the same instruction twelve times faster that the 8051. Speed advantage Numbe

10、r of instructionsNumber of opcodes 24 1 1 12 27 83 9.6 2 2 8 16 38 6 44 89 4.8 1 2 4 18 31 3 2 9 Average: 8.0 Sum: 111 Sum: 255 The average speed advantage is 8.0. However, the real speed improvement seen in any system will depend on the mixture of instructions used. TSK52x MCU CR0116 (v1.2) Novembe

11、r 03, 2004 3 Available Devices The following two variants of the microcontroller are available: TSK52A - Standard version of the core TSK52B_W - Wishbone-compliant version of the core In addition, a corresponding debug-enabled (OCD) version of each variant is also available (TSK52A_D and TSK52B_WD r

12、espectively). Note: Throughout this document, differences between core variants are listed in terms of the standard core devices (TSK52A and TSK52B_W). Unless specified otherwise, the feature/description applies to the debug-enabled version of the variant (TSK52A_D and TSK52B_WD) in exactly the same

13、 way. These devices can be found in the FPGA Processors integrated library (Program FilesAltium2004LibraryFpgaFPGA Processors.IntLib). TSK52x MCU Architectural overview Symbols Figure 1. TSK52x family symbols 4 CR0116 (v1.2) November 03, 2004 TSK52x MCU CR0116 (v1.2) November 03, 2004 5 Pin descript

14、ion The pinout of the TSK52x has not been fixed to any specific device I/O, thereby allowing flexibility with user application. The TSK52x contains only unidirectional pins - inputs or outputs. To simplify using the bidirectional ports (PORT0-3), the schematic symbol includes a bus pin for each dire

15、ction, allowing them to be wired independently. Configuration of bus direction is performed under program control. Table 2. TSK52x Pin description Name Type Polarity/Bus size Description Control Signals CLK I Rise External system clock (used for internal clock counters and all other synchronous circ

16、uitry) CLK90 I Rise Second external clock with a phase lag of 90 Degrees in relation to CLK. RST I High External system reset. A high on this pin while the external system clock (CLK) is running resets the device WAIT_CPU1 I High When this signal is active, operation of the CPU is halted. Interrupt Signals INT0 I High/Rise External interrupt 0 INT1 I High/Rise External interrupt 1 INT2 I Fall/Rise External interrupt 2 INT3 I Fall/Rise Exter

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 高等教育 > 大学课件

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号