在线观看www成人影院-在线观看www日本免费网站-在线观看www视频-在线观看操-欧美18在线-欧美1级

0
  • 聊天消息
  • 系統(tǒng)消息
  • 評(píng)論與回復(fù)
登錄后你可以
  • 下載海量資料
  • 學(xué)習(xí)在線課程
  • 觀看技術(shù)視頻
  • 寫文章/發(fā)帖/加入社區(qū)
會(huì)員中心
創(chuàng)作中心

完善資料讓更多小伙伴認(rèn)識(shí)你,還能領(lǐng)取20積分哦,立即完善>

3天內(nèi)不再提示

英創(chuàng)信息技術(shù)Emtronix Intern Report介紹

英創(chuàng)信息技術(shù) ? 來源:英創(chuàng)信息技術(shù) ? 作者:英創(chuàng)信息技術(shù) ? 2020-01-15 14:12 ? 次閱讀
加入交流群
微信小助手二維碼

掃碼添加小助手

加入工程師交流群

Authors and Contributors: Chun-kan Leung & Kevin Sivieng
Date: 9th January 2012

Foreword

This is an account of the time two second-year electrical engineering students of the University of New South Wales, Chun-kan Leung and Kevin Sivieng, spent working as interns at the company Emtronix.

Departing from Sydney, Australia, in November 2011, following the conclusion of end-of-semester exams, we arrived to find the city of Chengdu a buzzing metropolis of seemingly-haphazard traffic, which we encountered at every turn.The people seemed brash in an industrious we-will-brook-no-nonsense sort of way, but were polite and courteous upon further inspection.

The next day, arriving at what was to be 'the workplace' for the next two-and-a-half months, we were kindly welcomed by our supervisor, Dr. Cheng Shi (Director of Emtronix) as well as the people who would be our work colleagues. Although the day did not conclude without a few awkward and not altogether comical instances in which the ever-present language barrier was felt most keenly, our overriding anticipation of what was to come and our silent-approval of what we beheld there for the first time ensured that the day passed swiftly. As we toured each department of the company, little did we know that our appreciation of how efficient and concerted the efforts of each person, in their well-deserved roles, would only grow immeasurably in the ensuing weeks. The confidence of each person in performing the tasks allocated to them was palpable and the concept of a 'well-oiled machine' inexorably came to the fore.

Our first few days of work were spent becoming familiar with the products that we would become intimated with by the end of our short stay: the microprocessors, microcontrollers, evaluation/development boards and equipment we would use to assemble and test each of these items. In addition, we also learnt how to use the various software-based packages that would be our indispensable day-to-day tools, including, but not limited to: Sourcery G++, Tera Term, SSCOM32 and TCPUDPDbg. We were also required to develop an understanding of several widely-used communication standards/interfaces that almost all embedded systems utilise, including: RS-232, RS-485 and TCP/IP.

Each kernel of knowledge that we gained there felt like a milestone, and at each step of the way, Dr. Cheng and our work colleagues were there to give us direction, albeit in a subtle manner at times, and imbue us with a sense of purpose.

What follows is a summary of the tasks we performed and what we learnt:

Interfacing

The devices used to interface with the EM9160 evaluation board were primarily LCD screens. We used the LCD screens to familiarise ourselves with the board's peripherals and to display relevant information when necessary.

Specific Language Training

The language training we went through was primarily aimed at familiarising us with C and C++, two languages which are not altogether dissimilar.

Our training acted as a foundation on which to establish the concept of a thread of execution, or put simply, a thread. Since the utilisation of threads would be an integral part of our work, it was paramount that we understand their use in communications.

RS-232:

RS-232 is one standard of serial communication commonly used in industry due to its reliability in transmitting data packets over lengthy distances. In this case, reliability is the concept of software and hardware functioning in such a way as to reject noise interference and other impedences, in order to transmit information without intermediate corruption. This section will look at the development of a dependable serial comm. interface implemented using Soucery G++. Furthermore, an overview of one method of sending and receiving data will be incorporated.

The usefulness of RS-232 as a communication standard revolves about the idea of using computer threads to receive and transmit data packets. A thread is a unit of execution that is traceable (sequential order of execution) and part of a process.

In the application of a thread for RS-232, a receiving thread is constantly 'listening' for data packets. This is done by constant polling (for input) the serial port. Upon receiving input the data packet is stored in a buffer that can be accessed by a 'Package Processor' function in order to execute the associated command. A few of the commands defined in software were:

state: Sets the state of the General Purpose Input/Output (GPIO) pins on the EM9160 evaluation board.

monitor: Reads the state of the GPIO pins and prints it to the terminal at defined time intervals.

respond: Reads the state of the GPIO pins when prompted.

After the data packet has been processed the EM9160 returns to its receiving state to listen for more data packets.

The reliability of RS-232 rests on a certain number of parameters, in particular the method of transmission. It should be noted that the RS-232 standard is capable of sending and receiving data at various baud rates (bits/sec). Using the correct baud rate helps to deter noise interference and accumulated impedances due to varying distances in transmission. RS-232 ultimately relies on the use of start, stop and parity bits to ensure the successful transmission of data. The various bits are defined as follows:

Start bit: Marks the start of transmission to ready the receiver thread

Parity bit: Counts the number of binary 1s being sent and distinguishes between whether or not an odd or an even number of 1s is received

Stop bit: Marks the end of transmission

By familiarising one's self with the RS-232 standard, users of communication technologies can develop a foundation on which to base an understanding of alternative standards of communication. RS-232 paves the way for understanding the use of threads and other basic communication principles in other comm. technologies.

RS-485:

Electronic data communication/s between two or more nodes generally falls into two broad categories: single-ended and differential. When communicating at high data rates, or over long distances in real world environments, single-ended methods (RS-232) are often inadequate. In most applications, differential data transmission offers superior performance as differential signals help to nullify the effects of ground shifts and induced noise signals that can appear as common mode voltages on a network.

As a versatile communication standard, RS-485 is widely-used in data acquisition and control applications. Compared to the RS-232 standard, RS-485 allows for the direct connection of data terminal equipment without the need for modems as well as the connection of several nodes in a network structure. An RS-485 communication interface also enables elements, or nodes, to communicate with each other over longer distances and at faster connection rates.

Furthermore, RS-485 is able to meet the requirements for a truly multi-point communications network, with the standard specifying up to 32 drivers and 32 receivers on a single two-wire bus. With the introduction of ‘a(chǎn)utomatic’ repeaters and high-impedance drivers/receivers this ‘limitation’ can even be extended to hundreds or even thousands of nodes on a network.

By default, all the senders on the RS-485 bus are in tri-state with high impedance. In most higher level protocols, one of the nodes is defined as a master which sends queries or commands over the RS-485 bus. All other nodes receive this data and depending on the information contained in the data packet, one or more nodes on the line (if any) respond to the master.

In this ‘task’, one microcontroller was defined as the ‘master’, while a number of other microcontrollers were defined as ‘slaves’ and assigned reference numbers, i.e. Slave 0, Slave 1, etc. A communications network which utilised the RS-485 standard was then assembled. At its most basic level, upon being prompted by the user, the ‘master’ microcontroller was used to monitor, as well as set, the state of the GPIO pins of each evaluation board. Data packets sent and received by each microcontroller were also recorded in the flash memory of each microcontroller.

Circuit Analysis:

The following circuit used to send and receive messages by RS-485 has certain features that are critical to its design. Although other components of the circuit are relevant, this section of the report will focus on the following critical components.

Figure 1: The pull up and pull down resistors transmit HI when idle

The purpose of R30 and R29 are to transmit a constant high during idle periods. It can be observed from Figure 1 that R30 maintains DATA+ at a constant high voltage so as to stop noise interference being interpreted as data. However, R29 does the opposite, maintaining DATA- at a constant low whilst also minimising the effects of noise interference.

Figure 2: The function of components D12, R32 and C20 is to allow the transmission of both high and low voltage states along DATA+ and DATA-.

Figure 3: RS-485 dataframe .

According to Figure 3 the idle state is defined by both U+ and U- (DATA+ and DATA-, respectively) in an undefined state, but for the sake of simplicity, assume that DATA+ and DATA- are high and low respectively, when in idle* mode.

The idle mode is transmitted due to the pull up resistor (R34) that delivers a high voltage to pin D (Drive) at U6 depicted in Figure 2. It should be noted that the HEX inverters U1E and U1D are in place to enhance the signal. Since pin D is in a high state, DATA+ and DATA- will transmit a logical high as mentioned in Figure 1‘'s caption. However, observe that in Figure 2 pin DE (Driver Enable) is in a low state and pin ~RE/(NOT RE) (Receive Enable) is at an active low. Thus, the RS-485 is emitting a high voltage state, but is actually in receive mode.

For the RS-485 to transmit a low voltage state, DE must be in a high pin state whilst D is in low pin state. When the OUT pin at U7 in Figure 2 initiates a low voltage state, D also receives the low voltage state and trasmits to DATA+ and DATA-. However, the OUT pin is connected to both pins D and DE so it is impossible to transmit a low voltage state whilst DE is also low.

Hence, components D12, R32 and C20 are introduced to counter this problem. When OUT transmits a low voltage, U1B reciprocates this and acts as a GND level potential. But C20, having being charged during idle periods, is discharged via the diode D12 due to its forward bias properties. Furthemore, C20 is fully discharged by R77 when it drops below the 0.7V threshold. This allows U1C to transmit a high voltage although a time delay is apparent. Thus, the DE is high and D is allowed to transmit low voltages as the driver is enabled.

To transmit high voltage states along DATA+ and DATA- the RS-485 returns to idle mode for brief durations. For high voltage transmissions, R79 returns U6 to idle mode and DATA+ and DATA- being connected to pull up and pull down resistors automatically sends a high voltage state. In essence, RS-485 is in receive mode during periods of transmitting high voltages.

*NB: idle mode is equivalent to receiving mode as shown in Figure 2 because pin ~RE is active low.

Acknowledgements

Kevin and I would like to express deep gratitude to Dr. Cheng for offering us work experience at Emtronix. We would also like to extend this gratitude to Dr. Cheng’s family, for having supported us throughout our stay in Chengdu. Last, but not least, we would also like to give a heartfelt thanks to our short-term work colleagues for always being patient, understanding and helpful.

1:Elphinstone, K., Ryzhyk, L., 2011. Processes and Threads, COMP3231 Operating Systems, University of New South Wales, Available at: [Accessed Date 9 January 2012]

2:Wikipedia, 2012. RS-485. [online] Available at: [Accessed 9 January 2012]

聲明:本文內(nèi)容及配圖由入駐作者撰寫或者入駐合作網(wǎng)站授權(quán)轉(zhuǎn)載。文章觀點(diǎn)僅代表作者本人,不代表電子發(fā)燒友網(wǎng)立場(chǎng)。文章及其配圖僅供工程師學(xué)習(xí)之用,如有內(nèi)容侵權(quán)或者其他違規(guī)問題,請(qǐng)聯(lián)系本站處理。 舉報(bào)投訴
  • 嵌入式主板
    +關(guān)注

    關(guān)注

    7

    文章

    6100

    瀏覽量

    36273
收藏 人收藏
加入交流群
微信小助手二維碼

掃碼添加小助手

加入工程師交流群

    評(píng)論

    相關(guān)推薦
    熱點(diǎn)推薦

    中星微技術(shù)斬獲2025金???b class='flag-5'>創(chuàng)企業(yè)獎(jiǎng)

    6月14日,由中國(guó)證券報(bào)主辦的2025科創(chuàng)金牛獎(jiǎng)?lì)C獎(jiǎng)典禮在上海市舉行,2025科創(chuàng)金牛獎(jiǎng)獲獎(jiǎng)名單現(xiàn)場(chǎng)揭曉。其中中星微技術(shù)獲得新一代信息技術(shù)金???b class='flag-5'>創(chuàng)
    的頭像 發(fā)表于 06-16 14:16 ?732次閱讀

    科普|信創(chuàng)是什么?一文讀懂“信息技術(shù)應(yīng)用創(chuàng)新”戰(zhàn)略

    什么是信創(chuàng)?信創(chuàng),即“信息技術(shù)應(yīng)用創(chuàng)新”,是國(guó)家推動(dòng)IT系統(tǒng)自主可控、安全可控的重要戰(zhàn)略工程。它不僅是技術(shù)層面的創(chuàng)新,更承載著保障國(guó)家網(wǎng)絡(luò)安全、推動(dòng)產(chǎn)業(yè)升級(jí)和實(shí)現(xiàn)數(shù)字主權(quán)的重任。簡(jiǎn)單來
    的頭像 發(fā)表于 06-13 10:06 ?1852次閱讀
    科普|信<b class='flag-5'>創(chuàng)</b>是什么?一文讀懂“<b class='flag-5'>信息技術(shù)</b>應(yīng)用創(chuàng)新”戰(zhàn)略

    2025第二屆教育信息技術(shù)應(yīng)用創(chuàng)新大賽正式開賽

    為進(jìn)一步落實(shí)建設(shè)網(wǎng)絡(luò)強(qiáng)國(guó)和教育強(qiáng)國(guó)的戰(zhàn)略部署,推動(dòng)各級(jí)教育行政部門及高校信息技術(shù)應(yīng)用創(chuàng)新能力提升,培養(yǎng)實(shí)戰(zhàn)型創(chuàng)新人才。龍芯中科聯(lián)合太初元碁、誠(chéng)邁科技在2025第二屆教育信息技術(shù)應(yīng)用創(chuàng)新大賽共同發(fā)布信息技術(shù)應(yīng)用創(chuàng)新人工智能方向(賽
    的頭像 發(fā)表于 05-13 16:21 ?504次閱讀

    創(chuàng)浪潮下,國(guó)產(chǎn)主板有什么新的發(fā)展機(jī)遇?

    信息技術(shù)應(yīng)用創(chuàng)新浪潮的推動(dòng)下,國(guó)產(chǎn)主板迎來了諸多新的發(fā)展機(jī)遇。信創(chuàng)產(chǎn)業(yè)旨在實(shí)現(xiàn)信息技術(shù)領(lǐng)域的自主可控,這一戰(zhàn)略目標(biāo)為國(guó)產(chǎn)主板的發(fā)展提供了廣闊的空間。信創(chuàng)浪潮下國(guó)產(chǎn)主板的發(fā)展機(jī)遇多元且
    的頭像 發(fā)表于 05-09 09:24 ?206次閱讀
    信<b class='flag-5'>創(chuàng)</b>浪潮下,國(guó)產(chǎn)主板有什么新的發(fā)展機(jī)遇?

    龍芯中科榮獲2024年度信息技術(shù)應(yīng)用創(chuàng)新工作委員會(huì)卓越貢獻(xiàn)成員單位

    近日,中國(guó)電子工業(yè)標(biāo)準(zhǔn)化技術(shù)協(xié)會(huì)信息技術(shù)應(yīng)用創(chuàng)新工作委員會(huì)(以下簡(jiǎn)稱“信創(chuàng)工委會(huì)”)在北京召開2024年度工作總結(jié)座談會(huì)暨信創(chuàng)“大比武”總結(jié)大會(huì)。中國(guó)工程院院士、信
    的頭像 發(fā)表于 01-23 10:50 ?689次閱讀

    芯盛智能榮獲2024年信息技術(shù)應(yīng)用創(chuàng)新工作委員會(huì)卓越貢獻(xiàn)成員單位

    日前,中國(guó)電子工業(yè)標(biāo)準(zhǔn)化技術(shù)協(xié)會(huì)信息技術(shù)應(yīng)用創(chuàng)新工作委員會(huì)(以下簡(jiǎn)稱 “信創(chuàng)工委會(huì)”)2024 年度總結(jié)座談會(huì)于北京隆重舉行。此次會(huì)議對(duì)在信創(chuàng)工作中作出突出貢獻(xiàn)的成員單位予以表彰。江蘇
    的頭像 發(fā)表于 01-20 09:56 ?625次閱讀

    飛騰助力首屆教育信息技術(shù)應(yīng)用創(chuàng)新大賽圓滿落幕

    近日,由中國(guó)教育技術(shù)協(xié)會(huì)主辦,教育部教育管理信息中心教育信創(chuàng)實(shí)驗(yàn)室、公安部第三研究所、中國(guó)電子工業(yè)標(biāo)準(zhǔn)化技術(shù)協(xié)會(huì)信創(chuàng)工委會(huì)支持,北京航空航天
    的頭像 發(fā)表于 12-24 09:57 ?510次閱讀

    有方科技參編的信息技術(shù)團(tuán)體標(biāo)準(zhǔn)發(fā)布

    近日,有方科技參編的《信息技術(shù)產(chǎn)品供應(yīng)鏈成熟度 共性指標(biāo) 第1部分:企業(yè)背景評(píng)價(jià)》《信息技術(shù)產(chǎn)品供應(yīng)鏈成熟度 共性指標(biāo) 第2部分:技術(shù)掌控評(píng)價(jià)》《信息技術(shù)產(chǎn)品供應(yīng)鏈成熟度 共性指標(biāo) 第
    的頭像 發(fā)表于 12-23 10:44 ?594次閱讀

    龍芯中科助力2024首屆教育信息技術(shù)應(yīng)用創(chuàng)新大賽成功舉辦

    近日,2024首屆教育信息技術(shù)應(yīng)用創(chuàng)新大賽在北京航空航天大學(xué)成功舉辦。本次大賽由中國(guó)教育技術(shù)協(xié)會(huì)主辦,教育信創(chuàng)實(shí)驗(yàn)室、公安部第三研究所、中國(guó)電子工業(yè)標(biāo)準(zhǔn)化技術(shù)協(xié)會(huì)信
    的頭像 發(fā)表于 12-19 17:02 ?563次閱讀

    拓維信息參與牽頭組建!長(zhǎng)沙新一代信息技術(shù)產(chǎn)教聯(lián)合體正式獲批

    的長(zhǎng)沙新一代信息技術(shù)產(chǎn)教聯(lián)合體成功獲批,為長(zhǎng)沙市信息技術(shù)產(chǎn)業(yè)發(fā)展注入了新的活力。圖/《2024年長(zhǎng)沙市市級(jí)市域產(chǎn)教聯(lián)合體名單》長(zhǎng)沙新一代信息技術(shù)產(chǎn)教聯(lián)合體將依托龍頭企
    的頭像 發(fā)表于 12-07 01:06 ?889次閱讀
    拓維<b class='flag-5'>信息</b>參與牽頭組建!長(zhǎng)沙新一代<b class='flag-5'>信息技術(shù)</b>產(chǎn)教聯(lián)合體正式獲批

    中科創(chuàng)達(dá)榮獲2024年軟件和信息技術(shù)服務(wù)優(yōu)秀企業(yè)

    及前百家企業(yè)”名單。中科創(chuàng)達(dá)憑借非凡的技術(shù)實(shí)力與持續(xù)的創(chuàng)新能力,成功入選“2024年度軟件和信息技術(shù)服務(wù)競(jìng)爭(zhēng)力百?gòu)?qiáng)企業(yè)”以及“2024年軟件和信息技術(shù)服務(wù)優(yōu)秀企業(yè)”。
    的頭像 發(fā)表于 10-30 11:44 ?948次閱讀

    創(chuàng)國(guó)產(chǎn)化背景下的工控主板發(fā)展現(xiàn)狀

    創(chuàng),是信息技術(shù)應(yīng)用創(chuàng)新產(chǎn)業(yè)的簡(jiǎn)稱,于2016年“信創(chuàng)工委會(huì)”(信息技術(shù)應(yīng)用創(chuàng)新工作委員會(huì))提出,目的就是要推動(dòng)我們國(guó)內(nèi)軟硬件關(guān)鍵技術(shù)的研發(fā)
    的頭像 發(fā)表于 09-21 16:15 ?871次閱讀

    加速鯤鵬落地!拓維信息創(chuàng)遷移工具榮獲鯤鵬原生開發(fā)技術(shù)認(rèn)證

    認(rèn)證。圖/拓維·數(shù)據(jù)庫適配中間件取得鯤鵬原生開發(fā)N認(rèn)證在數(shù)字化時(shí)代的大潮中,信創(chuàng)戰(zhàn)略作為國(guó)家推動(dòng)信息技術(shù)應(yīng)用創(chuàng)新、保障信息安全與自主可控的關(guān)鍵舉措,其重要性日益凸顯
    的頭像 發(fā)表于 09-10 08:03 ?782次閱讀
    加速鯤鵬落地!拓維<b class='flag-5'>信息</b>信<b class='flag-5'>創(chuàng)</b>遷移工具榮獲鯤鵬原生開發(fā)<b class='flag-5'>技術(shù)</b>認(rèn)證

    梯度科技入選2023年信息技術(shù)應(yīng)用創(chuàng)新解決方案名單

    日前,工業(yè)和信息化部網(wǎng)絡(luò)安全產(chǎn)業(yè)發(fā)展中心(工業(yè)和信息化部信息中心)在天津舉辦2024信息技術(shù)應(yīng)用創(chuàng)新發(fā)展大會(huì)暨解決方案應(yīng)用推廣大會(huì)。會(huì)上正式公布了2023年
    的頭像 發(fā)表于 09-09 16:29 ?754次閱讀

    中軟國(guó)際信創(chuàng)服務(wù)助力大連信創(chuàng)產(chǎn)業(yè)發(fā)展

    為進(jìn)一步激發(fā)大連本地信創(chuàng)產(chǎn)業(yè)生態(tài)的活力與潛力,搭建一個(gè)高效、開放的交流平臺(tái)。由大連軟件行業(yè)協(xié)會(huì)攜手大連市信息技術(shù)應(yīng)用創(chuàng)新綜合服務(wù)中心主辦,中軟國(guó)際協(xié)辦的,2024年大連市信息技術(shù)應(yīng)用創(chuàng)新產(chǎn)業(yè)發(fā)展大會(huì)
    的頭像 發(fā)表于 08-27 16:49 ?1293次閱讀
    主站蜘蛛池模板: 免费操人视频 | 一级片影院 | 亚洲韩国日本欧美一区二区三区 | 视频一区亚洲 | 日本三级成人午夜视频网 | 中国一级特黄剌激爽毛片 | 亚洲吊丝网| 亚色图| 四虎久久精品国产 | 国产特黄一级一片免费 | 亚州 色 图 综合 | 亚洲乱码一二三四区 | www在线小视频免费 www资源 | 日韩成a人片在线观看日本 日韩成人黄色 | 四虎美女| 国产成人一区二区在线不卡 | 抽搐一进一出gif免费男男 | 久久综合免费 | 狠狠干激情 | 91精品国产色综合久久不卡蜜 | 农村苗族一级特黄a大片 | 网站在线观看你懂的 | 国产精品特黄毛片 | 成年女人免费看一级人体片 | 久久久久国产精品免费看 | 久久毛片视频 | 日韩色区| 午夜毛片不卡高清免费 | 宅宅午夜亚洲精品 | 在线观看免费黄视频 | 伊人久久大香线蕉观看 | 日本三级香港三级人妇 m | 色日本在线 | 天堂网址 | 国内自拍2021 | 中文字幕一区二区视频 | 俄罗斯一级特黄黄大片 | 久久精品免费观看 | 一级毛片a| 国产盗摄女子私密保健视频 | 国产精品三级在线 |