虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

Or

  • PCA954X家庭的I C SMBus多路复用器与开关

    The Philips family of Multiplexers and Switches consists of bi-directional translating switches controlled via the I2C Or SMBus to fan out an upstream SCL/SDA pair to 2, 4 Or 8 downstream channels of SCx/SDx pairs. The Multiplexers allow only one downstream channel to be selected at a time, while the Switches allow any individual downstream channel Or combination of downstream channels to be selected, depending on the content of the programmable control register. Once one Or several channels have been selected, the device acts as a wire, allowing the master on the upstream channel to send commands to devices on all the active downstream channels, and devices on the active downstream channels to communicate with each other and the master. External pull-up resistOrs are used to pull each individual channel up to the desired voltage level. Combined interrupt output and hardware reset input are device options that are featured.

    标签: SMBus 954X PCA 954

    上传时间: 2013-10-11

    上传用户:dianxin61

  • UART测试程序-AT91SAM9260

    UART测试程序-AT91SAM9260://* The software is delivered "AS IS" without warranty Or condition of any//* kind, either express, implied Or statutOry. This includes without//* limitation any warranty Or condition with respect to merchantability Or//* fitness fOr any particular purpose, Or against the infringements of//* intellectual property rights of others.

    标签: UART 9260 SAM AT

    上传时间: 2013-11-18

    上传用户:yepeng139

  • 八段码显示程序设计与调试

    所学的指令LD、LDI、OUT AND、ANI OrOrI LDP、 LDF、ANDP、ANDF、  OrP、 OrOrB、 ANB MPS、 MRD、 MPP MC、 MCRSET RSTNOP  END 自锁电路触点的动作发光二极管的工作原理。八段码显示是利用发光二极管的不同段码组合来实现的,它可以实现0到F的显示。抢答器的显示就是利用八段码显示的特性,来完成几个不同组别的显示。用PLC实现八段码显示0~9组的3组以上抢答器的程序编写,并完成以下要求:1)设计由PLC实现的八段码显示0~9组的3组以上抢答器的程序编写,并完成以下要求: ①列出PLC的输入输出地址分配表 ②画出PLC的输入输出接线图(即I/O接线图) ③设计PLC的梯形图 ④根据梯形图列写指令表 2)按PLC控制I/O口(输入/输出)接线图在模拟实验设备上正确接线。

    标签: 显示程序 调试

    上传时间: 2013-11-22

    上传用户:lmeewOrm

  • 使用软件程序仿真C500微控制器系列SSC(同步串行通道)功

    The solution presented in this paper and in the attached source files emulates the mostimpOrtant SSC functions by using SW routines implemented in C. The code is focused onthe SAB C513, but will fit to all C500 derivatives.Beyond the low level software drivers a test shell is delivered. This shell allows a quicktest of the software drivers by an emulatOr Or a starter kit demo board.

    标签: C500 SSC 软件 程序

    上传时间: 2013-11-24

    上传用户:363186

  • MPC106 PCI Bridge/MemOry Contr

    In this document, the term Ô60xÕ is used to denote a 32-bit microprocessOr from the PowerPC architecture family that confOrms to the bus interface of the PowerPC 601&Ordf;, PowerPC 603&Ordf;, Or PowerPC 604 microprocessOrs. Note that this does not include the PowerPC 602&Ordf; microprocessOr which has a multiplexed address/data bus. 60x processOrs implement the PowerPC architecture as it is speci&THOrN;ed fOr 32-bit addressing, which provides 32-bit effective (logical) addresses, integer data types of 8, 16, and 32 bits,and ßoating-point data types of 32 and 64 bits (single-precision and double-precision).1.1 Overview The MPC106 provides an integrated high-bandwidth, high-perfOrmance, TTL-compatible interface between a 60x processOr, a secondary (L2) cache Or additional (up to four total) 60x processOrs, the PCI bus,and main memOry. This section provides a block diagram showing the majOr functional units of the 106 and describes brießy how those units interact.Figure 1 shows the majOr functional units within the 106. Note that this is a conceptual block diagram intended to show the basic features rather than an attempt to show how these features are physically implemented on the device.

    标签: Bridge MemOry Contr MPC

    上传时间: 2013-10-08

    上传用户:18711024007

  • USB Demonstration fOr DK3200 w

    The μPSD32xx family, from ST, consists of Flash programmable system devices with a 8032 MicrocontrollerCOre. Of these, the μPSD3234A and μPSD3254A are notable fOr having a complete implementationof the USB hardware directly on the chip, complying with the Universal Serial Bus Specification, Revision1.1.This application note describes a demonstration program that has been written fOr the DK3200 hardwaredemonstration kit (incOrpOrating a μPSD3234A device). It gives the user an idea of how simple it is to wOrkwith the device, using the HID class as a ready-made device driver fOr the USB connection.IN-APPLICATION-PROGRAMMING (IAP) AND IN-SYSTEM-PROGRAMMING (ISP)Since the μPSD contains two independent Flash memOry arrays, the Micro Controller Unit (MCU) can executecode from one memOry while erasing and programming the other. Product firmware updates in thefield can be reliably perfOrmed over any communication channel (such as CAN, Ethernet, UART, J1850)using this unique architecture. FOr In-Application-Programming (IAP), all code is updated through theMCU. The main advantage fOr the user is that the firmware can be updated remotely. The target applicationruns and takes care on its own program code and data memOry.IAP is not the only method to program the firmware in μPSD devices. They can also be programmed usingIn-System-Programming (ISP). A IEEE1149.1-compliant JTAG interface is included on the μPSD. Withthis, the entire device can be rapidly programmed while soldered to the circuit board (Main Flash memOry,Secondary Boot Flash memOry, the PLD, and all configuration areas). This requires no MCU participation.The MCU is completely bypassed. So, the μPSD can be programmed Or reprogrammed any time, anywhere, even when completely uncommitted.Both methods take place with the device in its nOrmal hardware environment, soldered to a printed circuitboard. The IAP method cannot be used without previous use of ISP, because IAP utilizes a small amountof resident code to receive the service commands, and to perfOrm the desired operations.

    标签: Demonstration 3200 USB fOr

    上传时间: 2014-02-27

    上传用户:zhangzhenyu

  • An easy way to wOrk with Exter

    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.

    标签: Exter easy wOrk with

    上传时间: 2013-10-27

    上传用户:zhangyigenius

  • 用外部设备设置32位微控制器TriCOre的中断的指令及方法

    The Infineon TriCOre provides an Interrupt System with a high safety standard. Thisdocument contains some instructions on how to initiate an Interrupt from an externaldevice. First it will show you how to trigger an Interrupt Service Request by an impulseon POrt 0 Or POrt 1. Then in the second part of the document you can find hints how todebounce impulses to enable the use of a simple switch as input device.AuthOrs: Thomas Bliem, CQ Nguyen / Infineon SMI MD Apps

    标签: TriCOre 外部设备 中断 微控制器

    上传时间: 2013-11-05

    上传用户:uuuuuuu

  • P90CL301 I2C driver routines

    This application note shows how to write an Inter Integrated Circuit bus driver (I²C) fOr the Philips P90CL301micro-controller.It is not only an example of writing a driver, but it also includes a set of application interface software routines toquickly implement a complete I²C multi-master system application.FOr specific applications the user will have to make minimal changes in the driver program. Using the drivermeans linking modules to your application software and including a header-file into the application sourceprograms. A small example program of how to use the driver is listed.The driver suppOrts i.a. polled Or interrupt driven message handling, slave message transfers and multi-mastersystem applications. FurthermOre, it is made suitable fOr use in conjunction with real time operating systems, likepSOS+.

    标签: routines driver P90 301

    上传时间: 2013-11-23

    上传用户:weixiao99

  • Input Signal Rise and Fall Tim

    All inputs of the C16x family have Schmitt-Trigger input characteristics. These Schmitt-Triggers are intended to always provide proper internal low and high levels, even if anundefined voltage level (between TTL-VIL and TTL-VIH) is externally applied to the pin.The hysteresis of these inputs, however, is very small, and can not be properly used in anapplication to suppress signal noise, and to shape slow rising/falling input transitions.Thus, it must be taken care that rising/falling input signals pass the undefined area of theTTL-specification between VIL and VIH with a sufficient rise/fall time, as generally usualand specified fOr TTL components (e.g. 74LS series: gates 1V/us, clock inputs 20V/us).The effect of the implemented Schmitt-Trigger is that even if the input signal remains inthe undefined area, well defined low/high levels are generated internally. Note that allinput signals are evaluated at specific sample points (depending on the input and theperipheral function connected to it), at that signal transitions are detected if twoconsecutive samples show different levels. Thus, only the current level of an input signalat these sample points is relevant, that means, the necessary rise/fall times of the inputsignal is only dependant on the sample rate, that is the distance in time between twoconsecutive evaluation time points. If an input signal, fOr instance, is sampled throughsoftware every 10us, it is irrelevant, which input level would be seen between thesamples. Thus, it would be allowable fOr the signal to take 10us to pass through theundefined area. Due to the sample rate of 10us, it is assured that only one sample canoccur while the signal is within the undefined area, and no incOrrect transition will bedetected. FOr inputs which are connected to a peripheral function, e.g. capture inputs, thesample rate is determined by the clock cycle of the peripheral unit. In the case of theCAPCOM unit this means a sample rate of 400ns @ 20MHz CPU clock. This requiresinput signals to pass through the undefined area within these 400ns in Order to avoidmultiple capture events.FOr input signals, which do not provide the required rise/fall times, external circuitry mustbe used to shape the signal transitions.In the attached diagram, the effect of the sample rate is shown. The numbers 1 to 5 in thediagram represent possible sample points. WavefOrm a) shows the result if the inputsignal transition time through the undefined TTL-level area is less than the time distancebetween the sample points (sampling at 1, 2, 3, and 4). WavefOrm b) can be the result ifthe sampling is perfOrmed mOre than once within the undefined area (sampling at 1, 2, 5,3, and 4).Sample points:1. Evaluation of the signal clearly results in a low level2. Either a low Or a high level can be sampled here. If low is sampled, no transition willbe detected. If the sample results in a high level, a transition is detected, and anappropriate action (e.g. capture) might take place.3. Evaluation here clearly results in a high level. If the previous sample 2) had alreadydetected a high, there is no change. If the previous sample 2) showed a low, atransition from low to high is detected now.

    标签: Signal Input Fall Rise

    上传时间: 2013-10-23

    上传用户:copu