Adaptive Splitting Protocols for RFID tag Collision Arbitration 防碰撞算法的程序
標簽: Arbitration Splitting Protocols Collision
上傳時間: 2014-01-25
上傳用戶:hongmo
The 87LPC76X Microcontroller combines in a small package thebenefits of a high-performance microcontroller with on-boardhardware supporting the Inter-Integrated Circuit (I2C) bus interface.The 87LPC76X can be programmed both as an I2C bus master, aslave, or both. An overview of the I2C bus and description of the bussupport hardware in the 87LPC76X microcontrollers appears inapplication note AN464, Using the 87LPC76X Microcontroller as anI2C Bus Master. That application note includes a programmingexample, demonstrating a bus-master code. Here we show anexample of programming the microcontroller as an I2C slave.The code listing demonstrates communications routines for the87LPC76X as a slave on the I2C bus. It compliments the program inAN464 which demonstrates the 87LPC76X as an I2C bus master.One may demonstrate two 87LPC76X devices communicating witheach other on the I2C bus, using the AN464 code in one, and theprogram presented here in the other. The examples presented hereand in AN464 allow the 87LPC76X to be either a master or a slave,but not both. Switching between master and slave roles in amultimaster environment is described in application note AN435.The software for a slave on the bus is relatively simple, as theprocessor plays a relatively passive role. It does not initiate bustransfers on its own, but responds to a master initiating thecommunications. This is true whether the slave receives or transmitsdata—transmission takes place only as a response to a busmaster’s request. The slave does not have to worry about Arbitrationor about devices which do not acknowledge their address. As theslave is not supposed to take control of the bus, we do not demandit to resolve bus exceptions or “hangups”. If the bus becomesinactive the processor simply withdraws, not interfering with themaster (or masters) on the bus which should (hopefully) try toresolve the situation.
上傳時間: 2013-11-19
上傳用戶:shirleyYim
This example demonstrates how the C8051F06x SMBus interface can communicate // with a 256 byte I2C Serial EEPROM (Microchip 24LC02B). // - Interrupt-driven SMBus implementation // - Only master states defined (no slave or Arbitration) // - Timer4 used by SMBus for SCL low timeout detection // - SCL frequency defined by <SMB_FREQUENCY> constant
標簽: demonstrates communicate C8051F06x interface
上傳時間: 2016-04-12
上傳用戶:hanli8870
The Inter IC bus or I2C bus is a simple bidirectional two wire bus designed primarily for general control and data transfer communication between ICs. Some of the features of the I2C bus are: • Two signal lines, a serial data line (SDA) and a serial clock line (SCL), and ground are required. A 12V supply line (500mA max.) for powering the peripherals often may be present. • Each device connected to the bus is software addressable by a unique address and simple master/ slave relationships exist at all times masters can operate as master-transmitters or as master-receivers. • The I2C bus is a true multi-master bus including collision detection and Arbitration to prevent data corruption if two or more masters simultaneously initiate data transfer systems. • Serial, 8-bit oriented, bidirectional data transfers can be made at up to 100 KBit/s in the standard mode or up to 400 KBit/s in the fast mode.
標簽: bus bidirectional primarily designed
上傳時間: 2013-12-11
上傳用戶:jeffery
移動通信網絡由于帶寬和技術的限制,遠遠不能滿足人們不斷高漲的無線上網需求。Wi-Fi作為無線接入技術MLAN的主流標準口益成熟,它能夠隨時隨地高速連接到Internet,極大地滿足了用戶對無線上網需求,受到消費者的青睞。因而越來越多的移動終端都集成了Wi-Fi功能,Wi-Fi和藍牙樣成為移動終端的標配。隨之而來的是wi-Fi和藍牙都工作在2.4CHZz ISM頻段而引發的互相 擾問題,導致數據吞吐量下降,語音質量惡化失真,極端狀況下甚至導致鏈路斷開而不能正常工作。因此,必須尋求有效的措施和方法,實現兩種技術在近距離的和諧共存,這已成為非常迫切的技術需要,也成為人們研究的一個熱點和難點。近距離WiFi和藍牙互相1擾的問題,目前已經形成了非常多的有效解決機制,包括基于Wi-Fi的PTA(Packet Traffic Arbitration)、AWMA(Alternating Wireless Medium Access)和DSE(Deterministic Spectral Excision),其中PTA和AWMA機制在Wi-Fi側MAC層實現,通過協調Wi-Fi和藍牙的幀發射時間來避免相互干擾:而DSE是在Wi-Fi側物理層PHY實現,通過一個可編程帶阻濾波器(Notch Filter)來阻止來白藍牙的窄帶干擾。還有基于藍牙側的AFH(Adaptive Frequency Hopping),它通過跳頻,自動避開被干擾的頻點,從而大大提高了藍牙傳輸性能。
上傳時間: 2022-06-20
上傳用戶:zhanglei193