一种实用的单片机双CPU设计方案及其应用:针对传统仪表具有的硬件资源不足、速度慢等功能缺陷,提出了一种基于单片机的CPU设计方案,即扩展CPU,直接从主CPU对应的数据显示I/O口上获取数据,这种获取数据的双CPU设计方案中主从CPU之间在功能上相互独立,主CPU不受扩展CPU加入的影响,实现其固有功能,保证了测量数据的准确性;扩展CPU从主CPU中获取数据,不受主CPU的控制,按照现场的需求进行功能扩展。给出了详细的软硬件设计结构。该方案为传统仪表的升级改造提供了一种新思路,实践证明是可行的。关键词: 传统仪表 检测系统 单片机
上传时间: 2013-10-30
上传用户:evil
The 8051 Microcontroller:
标签: Microcontroller 8051 The
上传时间: 2013-11-12
上传用户:shanml
The C500 microcontroller family usually provides only one on-chip synchronous serialchannel (SSC). If a second SSC is required, an emulation of the missing interface mayhelp to avoid an external hardware solution with additional electronic components.The solution presented in this paper and in the attached source files emulates the mostimportant SSC functions by using optimized SW routines with a performance up to 25KBaud in Slave Mode with half duplex transmission and an overhead less than 60% atSAB C513 with 12 MHz. Due to the implementation in C this performance is not the limitof the chip. A pure implementation in assembler will result in a strong reduction of theCPU load and therefore increase the maximum speed of the interface. In addition,microcontrollers like the SAB C505 will speed up the interface by a factor of two becauseof an optimized architecture compared with the SAB C513.Moreover, this solution lays stress on using as few on-chip hardware resources aspossible. A more excessive consumption of those resources will result in a highermaximum speed of the emulated interface.Due to the restricted performance of an 8 bit microcontroller a pin compatible solution isprovided only; the internal register based programming interface is replaced by a set ofsubroutine calls.The attached source files also contain a test shell, which demonstrates how to exchangeinformation between an on-chip HW-SSC and the emulated SW-SSC via 5 external wiresin different operation modes. It is based on the SAB C513 (Siemens 8 bit microcontroller).A table with load measurements is presented to give an indication for the fraction of CPUperformance required by software for emulating the SSC.
标签: synchronous Emulating serial
上传时间: 2014-01-31
上传用户:z1191176801
Internal Interrupts are used to respond to asynchronous requests from a certain part of themicrocontroller that needs to be serviced. Each peripheral in the TriCore as well as theBus Control Unit, the Debug Unit, the Peripheral Control Processor (PCP) and the CPUitself can generate an Interrupt Request.So what is an external Interrupt?An external Interrupt is something alike as the internal Interrupt. The difference is that anexternal Interrupt request is caused by an external event. Normally this would be a pulseon Port0 or Port1, but it can be even a signal from the input buffer of the SSC, indicatingthat a service is requested.The User’s Manual does not explain this aspect in detail so this ApNote will explain themost common form of an external Interrupt request. This ApNote will show that there is aneasy way to react on a pulse on Port0 or Port1 and to create with this impulse an InterruptService Request. Later in the second part of the document, you can find hints on how todebounce impulses to enable the use of a simple switch as the input device.Note: You will find additional information on how to setup the Interrupt System in theApNote “First steps through the TriCore Interrupt System” (AP3222xx)1. It would gobeyond the scope of this document to explain this here, but you will find selfexplanatoryexamples later on.
上传时间: 2013-10-27
上传用户:zhangyigenius
FPGA的CPU设计
上传时间: 2013-11-20
上传用户:yqs138168
为了提高门禁系统的安全便利性,提出了一种基于国密算法的CPU卡的门禁系统的解决方案。首先对门禁系统的组成进行了介绍,接着论述了非接触CPU卡的相对于非接触逻辑加密卡的特点及优势;基于国密算法SM1的特点以及配合落实住建部重要门禁系统密码应用安全管理工作要求,提出了一种基于国密SM1算法CPU卡的门禁系统解决方案。基于国密算法CPU卡的门禁系统解决方案能够满足最新门禁系统市场需求,具有安全、灵活多样等多种的特点。
上传时间: 2013-11-01
上传用户:xiaoyunyun
CPU卡安全认证技术
上传时间: 2013-11-02
上传用户:lizx30340
信捷PLC CPU 处理器
上传时间: 2014-01-23
上传用户:wbwyl
手机CPU排行
上传时间: 2013-10-19
上传用户:tzrdcaabb
对于如何从MIFARE Classic卡片升级到PLUS CPU 卡片在“MIFARE S50、S70升级PLUS CPU卡方案”文档中已有详细说明,那么原来使用的PLUS CPU卡片如何进行升级了?带着这个问题,我们将与您共同探讨,后面的内容将向您提供一种完美、可靠、易用的解决方案,谢谢您的关注与支持!
上传时间: 2014-12-31
上传用户:VRMMO