This application note demonstrates how to write an Inter Integrated Circuit bus driver (I2C) for the XA-S3 16-bitMicrocontroller from Philips Semiconductors.Not only the driver software is given. This note also contains a set of (example) interface routines and a smalldemo application program. All together it offers the user a quick start in writing a complete I2C system applicationwith the PXAS3x.The driver routines support interrupt driven single master transfers. Furthermore, the routines are suitable foruse in conjunction with real time operating systems.
標(biāo)簽: software driver XA-S I2C
上傳時(shí)間: 2013-11-02
上傳用戶:zw380105939
摘要: 串行傳輸技術(shù)具有更高的傳輸速率和更低的設(shè)計(jì)成本, 已成為業(yè)界首選, 被廣泛應(yīng)用于高速通信領(lǐng)域。提出了一種新的高速串行傳輸接口的設(shè)計(jì)方案, 改進(jìn)了Aurora 協(xié)議數(shù)據(jù)幀格式定義的弊端, 并采用高速串行收發(fā)器Rocket I/O, 實(shí)現(xiàn)數(shù)據(jù)率為2.5 Gbps的高速串行傳輸。關(guān)鍵詞: 高速串行傳輸; Rocket I/O; Aurora 協(xié)議 為促使FPGA 芯片與串行傳輸技術(shù)更好地結(jié)合以滿足市場需求, Xilinx 公司適時(shí)推出了內(nèi)嵌高速串行收發(fā)器RocketI/O 的Virtex II Pro 系列FPGA 和可升級(jí)的小型鏈路層協(xié)議———Aurora 協(xié)議。Rocket I/O支持從622 Mbps 至3.125 Gbps的全雙工傳輸速率, 還具有8 B/10 B 編解碼、時(shí)鐘生成及恢復(fù)等功能, 可以理想地適用于芯片之間或背板的高速串行數(shù)據(jù)傳輸。Aurora 協(xié)議是為專有上層協(xié)議或行業(yè)標(biāo)準(zhǔn)的上層協(xié)議提供透明接口的第一款串行互連協(xié)議, 可用于高速線性通路之間的點(diǎn)到點(diǎn)串行數(shù)據(jù)傳輸, 同時(shí)其可擴(kuò)展的帶寬, 為系統(tǒng)設(shè)計(jì)人員提供了所需要的靈活性[4]。但該協(xié)議幀格式的定義存在弊端,會(huì)導(dǎo)致系統(tǒng)資源的浪費(fèi)。本文提出的設(shè)計(jì)方案可以改進(jìn)Aurora 協(xié)議的固有缺陷,提高系統(tǒng)性能, 實(shí)現(xiàn)數(shù)據(jù)率為2.5 Gbps 的高速串行傳輸, 具有良好的可行性和廣闊的應(yīng)用前景。
標(biāo)簽: Rocket 2.5 高速串行 收發(fā)器
上傳時(shí)間: 2013-11-06
上傳用戶:smallfish
在車載自組網(wǎng)中,路由協(xié)議很大程度上決定了整個(gè)網(wǎng)絡(luò)的性能。如何有效的利用車流信息提高傳輸質(zhì)量是改善路由性能的一個(gè)關(guān)鍵問題。本文基于速度-密度線性模型,提出了一種實(shí)時(shí)車流密度的路由協(xié)議RVDR(Real-time Vehicle Density Routing)。該協(xié)議通過與鄰居節(jié)點(diǎn)交換的速度信息,對相關(guān)道路車流密度進(jìn)行預(yù)測,并給出基于車流密度信息的路徑選擇方法。仿真結(jié)果表明,與現(xiàn)有協(xié)議相比,RVDR協(xié)議在實(shí)時(shí)性和高效性等性能方面得到改進(jìn)。
上傳時(shí)間: 2014-07-10
上傳用戶:ZJX5201314
為提升虛擬儀器傳輸速率與實(shí)時(shí)性能,擴(kuò)展監(jiān)測范圍,在VC的軟件平臺(tái)上設(shè)計(jì)了一種全功能虛擬示波器。與傳統(tǒng)虛擬示波器相比,該系統(tǒng)采用嵌入式系統(tǒng)完成信號(hào)采集,采用工業(yè)以太網(wǎng)為傳輸介質(zhì),通過線性插值算法和多線程編程思想,實(shí)現(xiàn)波形顯示、參數(shù)計(jì)算、頻譜分析以及波形存儲(chǔ)及回放功能。實(shí)驗(yàn)結(jié)果表明,該虛擬示波器可以實(shí)現(xiàn)20 kHz采樣頻率下的波形精確顯示,達(dá)到預(yù)期的各項(xiàng)指標(biāo)。 Abstract: o enhance the transfer rate and real-time of virtual instrument performance, expand scope of monitoring, this paper uses the VCs software platform to design a fully functional virtual oscilloscope. Compared with traditional virtual oscilloscope, this system adopts the embedded system to complete the data acquisition, industrial Ethernet as the transmission medium used by the linear interpolation algorithm and multi-threaded programming ideas, namely to achieve waveform display, parameter calculation, spectrum analysis and waveform storage and playback. Experimental results show that the virtual oscilloscope can accurately display the waveform with 20kHz sampling frequency, and achieve the desired targets.
標(biāo)簽: 以太網(wǎng) 虛擬 波器設(shè)計(jì)
上傳時(shí)間: 2013-11-25
上傳用戶:wbwyl
The use of the Wind River VxWorks Real-Time Operating System (RTOS) on Virtex™-4embedded PowerPC™ processors continues to be a popular choice for high performanceFPGA designs. The introduction of the Wind River Workbench design environment has enableda new and easier way for designers to control the configuration of the VxWorks kernel. Thisguide shows the steps required to build and configure a ML403 Embedded DevelopmentPlatform to boot and run the VxWorks RTOS. A VxWorks bootloader is created, programmedinto Flash, and used to boot the design. The concepts presented here can be scaled to anyPowerPC enabled development platform.
上傳時(shí)間: 2013-10-26
上傳用戶:agent
摘要: 串行傳輸技術(shù)具有更高的傳輸速率和更低的設(shè)計(jì)成本, 已成為業(yè)界首選, 被廣泛應(yīng)用于高速通信領(lǐng)域。提出了一種新的高速串行傳輸接口的設(shè)計(jì)方案, 改進(jìn)了Aurora 協(xié)議數(shù)據(jù)幀格式定義的弊端, 并采用高速串行收發(fā)器Rocket I/O, 實(shí)現(xiàn)數(shù)據(jù)率為2.5 Gbps的高速串行傳輸。關(guān)鍵詞: 高速串行傳輸; Rocket I/O; Aurora 協(xié)議 為促使FPGA 芯片與串行傳輸技術(shù)更好地結(jié)合以滿足市場需求, Xilinx 公司適時(shí)推出了內(nèi)嵌高速串行收發(fā)器RocketI/O 的Virtex II Pro 系列FPGA 和可升級(jí)的小型鏈路層協(xié)議———Aurora 協(xié)議。Rocket I/O支持從622 Mbps 至3.125 Gbps的全雙工傳輸速率, 還具有8 B/10 B 編解碼、時(shí)鐘生成及恢復(fù)等功能, 可以理想地適用于芯片之間或背板的高速串行數(shù)據(jù)傳輸。Aurora 協(xié)議是為專有上層協(xié)議或行業(yè)標(biāo)準(zhǔn)的上層協(xié)議提供透明接口的第一款串行互連協(xié)議, 可用于高速線性通路之間的點(diǎn)到點(diǎn)串行數(shù)據(jù)傳輸, 同時(shí)其可擴(kuò)展的帶寬, 為系統(tǒng)設(shè)計(jì)人員提供了所需要的靈活性[4]。但該協(xié)議幀格式的定義存在弊端,會(huì)導(dǎo)致系統(tǒng)資源的浪費(fèi)。本文提出的設(shè)計(jì)方案可以改進(jìn)Aurora 協(xié)議的固有缺陷,提高系統(tǒng)性能, 實(shí)現(xiàn)數(shù)據(jù)率為2.5 Gbps 的高速串行傳輸, 具有良好的可行性和廣闊的應(yīng)用前景。
標(biāo)簽: Rocket 2.5 高速串行 收發(fā)器
上傳時(shí)間: 2013-10-13
上傳用戶:lml1234lml
介紹了基于Matlab/RTW(Real-time Workshop)和RTX(Real-time extension)構(gòu)建實(shí)時(shí)仿真系統(tǒng)的方法;針對基于RTX的實(shí)時(shí)仿真系統(tǒng)不能直接進(jìn)行在線調(diào)參的不足,提出了一種利用C API(C文件應(yīng)用程序接口)實(shí)現(xiàn)在線調(diào)參的方法。經(jīng)過實(shí)驗(yàn)證明,此仿真系統(tǒng)不僅具有很強(qiáng)的實(shí)時(shí)性,并且擁有良好的人機(jī)交互能力;另外,在線調(diào)參功能的實(shí)現(xiàn)使仿真試驗(yàn)的效率得到了大大的提高,而且還可以作為一種故障注入方法來考察模型的容錯(cuò)能力,是基于RTX實(shí)時(shí)仿真系統(tǒng)的一大改良。
標(biāo)簽: API RTX 實(shí)時(shí)仿真系統(tǒng)
上傳時(shí)間: 2014-03-20
上傳用戶:lizhizheng88
Ebase實(shí)時(shí)數(shù)據(jù)庫系統(tǒng)(Ebase Real-time Database Management System,簡稱EBase實(shí)時(shí)數(shù)據(jù)庫)是上海谷益科技有限公司推出的具有自主知識(shí)產(chǎn)權(quán)的實(shí)時(shí)數(shù)據(jù)庫管理系統(tǒng)及套件產(chǎn)品。 實(shí)時(shí)數(shù)據(jù)庫系統(tǒng)理論在新領(lǐng)域的擴(kuò)展,在電力、鋼鐵、化工、造紙領(lǐng)域有著廣闊的應(yīng)用前景,可以為企業(yè)提供高速、實(shí)時(shí)數(shù)據(jù)服務(wù),能夠?qū)焖僮兓臄?shù)據(jù)進(jìn)行長期保存,是工廠控制層與生產(chǎn)管理系統(tǒng)之間連接橋梁,同時(shí)也是先進(jìn)控制,在線優(yōu)化、故障診斷的數(shù)據(jù)平臺(tái)
標(biāo)簽: Ebase 實(shí)時(shí)數(shù)據(jù)庫
上傳時(shí)間: 2013-10-08
上傳用戶:muhongqing
題目:利用條件運(yùn)算符的嵌套來完成此題:學(xué)習(xí)成績>=90分的同學(xué)用A表示,60-89分之間的用B表示,60分以下的用C表示。 1.程序分析:(a>b)?a:b這是條件運(yùn)算符的基本例子。
上傳時(shí)間: 2015-01-08
上傳用戶:lifangyuan12
FreeRTOS,這個(gè)比 Real Time Linux 和 eCos 更小的實(shí)時(shí)操作系統(tǒng),并且你也不用為這兩個(gè)大的操作系統(tǒng)弄得頭大了。FreeRTOS是一個(gè)非常小的實(shí)時(shí)操作系統(tǒng),它包含有一個(gè)實(shí)時(shí)的內(nèi)核及一個(gè)內(nèi)核調(diào)制程序。它支持的單片機(jī)有 Philips ARM7, TI MSP430, Renesas (Hitachi) H8/S, Atmel AVR, Motorola/Freescale HCS12, Motorola/Freescale ColdFire, 及其他8051的單片機(jī)
標(biāo)簽: FreeRTOS
上傳時(shí)間: 2014-05-28
上傳用戶:253189838
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1