在开放式数控系统结构模型的基础上,研究了基于ISA总线的DSP通信控制原理。采用中断方式完成了PC机和DSP之间的通信。介绍了以DRIVErWorks为工具开发ISA设备WDM驱动程序的方法,探讨了中断处理、驱动程序与应用程序之间的通信,简要说明了驱动程序的安装与调试。通过调试,系统设计运行稳定。 Abstract: The ISA bus and DSP correspondence control principle is investigated in the basis of the existing open architecture numerical control system.The interrupt method is used to realize the communication between PC and DSP based on the ISA bus.The methods of WDM DRIVEr exploitation for ISA device using DRIVEr Works are introduced.The main process of DRIVEr program and the keys such as handle interrupt and the communication between the DRIVErs and application are presented.And how to debug and install the DRIVE is explained.
上传时间: 2013-11-04
上传用户:kang1923
MMC/SD卡以其优越的性能,在单片机嵌入式设备中得到广泛应用。将MMC/SD卡作为外部掉电存储介质应用于音频信号发生器中,通过8051F330单片机上的SPI接口,实现单片机—MMC/SD卡的存储扩展,设计了此硬件平台上的MMC/SD卡的单片机驱动程序,并给出了相应的程序代码,满足音频信号发生器的大容量存储要求。 Abstract: MMC/SD card is more and more widely used in the single chip embedded devices for their excellent performances.This article introduces the application of MMC/SD card as the external power down storage medium in audio signal generator. The extension technology especially for storage of single chip-MMC/SD card via SPI interfaces in 8051F330 single chip, including designs single chip DRIVE program of MMC/SD card based on hardware platform,and also gives the key coding of the program. The implementation of big capacity storage is meaningful in audio signal generator.
上传时间: 2014-12-27
上传用户:黄华强
为了解决磁放大器性能测试过程中,需要对其供给不同数值恒定电流的问题,设计了一种基于DAC7512和单片机的数控恒流源系统。该系统采用AT89C51作为主控器件,将计算机发送的电流控制字命令转换为D/A转换器控制字,通过模拟SPI通信接口,写D/A控制字到DAC7512,从而控制其输出相应数字电压值,经差动缩放电路、电压/电路变换电路和功率驱动电路,最后输出恒定电流。实验结果表明,恒流源输出电流调节范围为-45~+45 mA、精度为±0.1 mA,分辨率达0.024 4 mA,具有应用灵活,外围电路简单,可靠性高的特点。该数控直流恒流源也可为相关产品的测试系统研发提供参考。 Abstract: In order to solve the need to supply different values constant current for the magnetic amplifier in testing process, numerical control constant current source system was designed based on DAC7512 chip and microcontroller technology. The system used the AT89C51 as the main chip, which can convert the current control word from computer into to D/A control words. And the system wrote D/A control word into the DAC7512 chip to control the output voltage value by the SPI communication interface, which can output corresponding constant current figures by scaling circuit, the V/I converter and power DRIVE circuit. Experimental results show that the current source output current adjustment range is -45~+45mA, accuracy is ± 0.1mA, and resolution ratio is 0.024 4mA
上传时间: 2014-12-27
上传用户:invtnewer
The PCF8578 is a low power CMOS1 LCD row and column DRIVEr, designed to DRIVE dotmatrix graphic displays at multiplex rates of 1:8, 1:16, 1:24 or 1:32. The device has40 outputs, of which 24 are programmable and configurable for the following ratios ofrows/columns: 32¤8, 24¤16, 16¤24 or 8¤32. The PCF8578 can function as a stand-alone LCDcontroller and DRIVEr for use in small systems. For larger systems it can be used inconjunction with up to 32 PCF8579s for which it has been optimized. Together these twodevices form a general purpose LCD dot matrix DRIVEr chip set, capable of driving displaysof up to 40960 dots. The PCF8578 is compatible with most microcontrollers andcommunicates via a two-line bidirectional bus (I2C-bus). Communication overhead isminimized by a display RAM with auto-incremented addressing and display bankswitching.
上传时间: 2013-10-23
上传用户:顶得柱
The PCA9534 is a 16-pin CMOS device that provide 8 bits of General Purpose parallel Input/Output (GPIO) expansion for I2C-bus/SMBus applications and was developed to enhance the NXP Semiconductors family of I2C-bus I/O expanders. The improvements include higher DRIVE capability, 5 V I/O tolerance, lower supply current, individual I/O configuration, 400 kHz clock frequency, and smaller packaging. I/O expanders provide a simple solution when additional I/O is needed for ACPI power switches, sensors, push buttons, LEDs, fans, etc.
上传时间: 2013-11-17
上传用户:vodssv
The XL6003 regulator is fixed frequency PWM Boost (step-up) DC/DC converter, capable ofdriving 1050mA load current with excellent line and load regulation. The regulator is simple to use because it includes internal frequency compensation and a fixed-frequency oscillator so that it requires a minimum number of external components to work. The XL6003 could directly DRIVE 5~10 3W LED units at VIN=12V.
上传时间: 2013-11-07
上传用户:xy@1314
The PCA9534 is a 16-pin CMOS device that provide 8 bits of General Purpose parallel Input/Output (GPIO) expansion for I2C-bus/SMBus applications and was developed to enhance the NXP Semiconductors family of I2C-bus I/O expanders. The improvements include higher DRIVE capability, 5 V I/O tolerance, lower supply current, individual I/O configuration, 400 kHz clock frequency, and smaller packaging. I/O expanders provide a simple solution when additional I/O is needed for ACPI power switches, sensors, push buttons, LEDs, fans, etc.
上传时间: 2013-10-10
上传用户:inwins
The PCA9535 and PCA9535C are 24-pin CMOS devices that provide 16 bits of GeneralPurpose parallel Input/Output (GPIO) expansion for I2C-bus/SMBus applications and wasdeveloped to enhance the NXP Semiconductors family of I2C-bus I/O expanders. Theimprovements include higher DRIVE capability, 5 V I/O tolerance, lower supply current,individual I/O configuration, and smaller packaging. I/O expanders provide a simplesolution when additional I/O is needed for ACPI power switches, sensors, push buttons,LEDs, fans, etc.
上传时间: 2013-10-21
上传用户:爱死爱死
The PCA9555 is a 24-pin CMOS device that provides 16 bits of General Purpose parallelInput/Output (GPIO) expansion for I2C-bus/SMBus applications and was developed toenhance the NXP Semiconductors family of I2C-bus I/O expanders. The improvementsinclude higher DRIVE capability, 5 V I/O tolerance, lower supply current, individual I/Oconfiguration, and smaller packaging. I/O expanders provide a simple solution whenadditional I/O is needed for ACPI power switches, sensors, push buttons, LEDs, fans, etc.The PCA9555 consists of two 8-bit Configuration (Input or Output selection); Input, Outputand Polarity Inversion (active HIGH or active LOW operation) registers. The systemmaster can enable the I/Os as either inputs or outputs by writing to the I/O configurationbits. The data for each Input or Output is kept in the corresponding Input or Outputregister. The polarity of the read register can be inverted with the Polarity Inversionregister. All registers can be read by the system master. Although pin-to-pin and I2C-busaddress compatible with the PCF8575, software changes are required due to theenhancements, and are discussed in Application Note AN469.
上传时间: 2013-11-13
上传用户:fredguo
The PCA9670 provides general purpose remote I/O expansion for most microcontrollerfamilies via the two-line bidirectional bus (I2C-bus) and is a part of the Fast-mode Plusfamily.The PCA9670 is a drop-in upgrade for the PCF8574 providing higher Fast-mode Plus(Fm+) I2C-bus speeds (1 MHz versus 400 kHz) so that the output can support PWMdimming of LEDs, higher I2C-bus DRIVE (30 mA versus 3 mA) so that many more devicescan be on the bus without the need for bus buffers, higher total package sink capacity(200 mA versus 100 mA) that supports having all 25 mA LEDs on at the same time andmore device addresses (64 versus 8) are available to allow many more devices on the buswithout address conflicts.
上传时间: 2013-10-15
上传用户:stella2015