|
|||||||||||
| 技術(shù)交流 | 電路欣賞 | 工控天地 | 數(shù)字廣電 | 通信技術(shù) | 電源技術(shù) | 測控之家 | EMC技術(shù) | ARM技術(shù) | EDA技術(shù) | PCB技術(shù) | 嵌入式系統(tǒng) 驅(qū)動編程 | 集成電路 | 器件替換 | 模擬技術(shù) | 新手園地 | 單 片 機 | DSP技術(shù) | MCU技術(shù) | IC 設(shè)計 | IC 產(chǎn)業(yè) | CAN-bus/DeviceNe |
關(guān)于RS232的一些問題,請求大蝦們幫忙 |
| 作者:acctonmike 欄目:通信技術(shù) |
Q1: page 3 In most cases, any DEVICE you connect to the serial PORT will need the serial transmission converted BACK to parallel so that it can be used. 如何理解這句話。 Q2: page 3 serial transmission: 3 core calbe(Null MODEM Configuration) parallel transmission: 19 or 25 core CABLE 為什么串口和并口core CABLE數(shù)量是這樣的 Q3: page 3 IrDA-1 (The first infra red specificatins) was capable of 115.2K baud and was interfaced into a UART. The PULSE length however was cut down to 3/16th of a RS232 bit length to conserve POWER considering these DEVICEs are mainly used on diaries, laptops and palmtops. RS232 was capable of ? baud. 通過the PULSE length可以算出? baud/s Q4: page 3 ONLY two pins are commonly used, Transmit Data(TXD) and Receive Data(RXD) compared with at least 8 pins if you use a 8 bit Parallel method(You may also require a Strobe). 為何并口通訊要strobe Q5: 6 無法理解Null MODEM傳送和接受的原理 Q6: page 8 SOFTWARE flow CONTROL 1. Xon indicated by the ASCII 17 character 2. Xoff indicated by the ASCII 19 character Advantage: It doesn't require any more wires as the characters are sent via the TD/RD lines. Disadvantage: Each character requires 10 bits which can slow communication down. ASCII 17 & ASCII 19 character如何編碼 Hareware flow CONTROL by RST & CTS |
| 2樓: | >>參與討論 |
| 作者: hq_y 于 2006/11/27 16:01:00 發(fā)布:
Q1: Q1: page 3 In most cases, any DEVICE you connect to the serial PORT will need the serial transmission converted BACK to parallel so that it can be used. 直譯:在大多數(shù)的情況下,連接到串口的設(shè)備需要把串行的數(shù)據(jù)轉(zhuǎn)換成并行的數(shù)據(jù)以便能被使用; 意譯:一般來說,mcu需要把串行數(shù)據(jù)轉(zhuǎn)換成并行數(shù)據(jù),串行的數(shù)據(jù)才能被mcu處理; 解讀:我看這句話基本上就是廢話了;這個串并轉(zhuǎn)換的過程是mcu內(nèi)部自動完成的,放到了串行數(shù)據(jù)的緩沖區(qū)內(nèi); |
|
| 3樓: | >>參與討論 |
| 作者: hq_y 于 2006/11/27 16:14:00 發(fā)布:
為何并口通訊要strobe? 因為并口數(shù)據(jù)和地址等都是瞬間的;對于外設(shè)來說,需要把從并口的數(shù)據(jù)鎖存下來; 那么,什么時候數(shù)據(jù)是有效的?這就需要并口告訴你; 這個信號就是strobe; 可以直接使用這個信號strobe把數(shù)據(jù)鎖存到D寄存器上; 當然,如果并口的外設(shè)是一個mcu,握手信號和數(shù)據(jù)等時序配合的好的話,可以直接把數(shù)據(jù)讀進mcu而不需要鎖存到D寄存器; |
|
| 4樓: | >>參與討論 |
| 作者: hq_y 于 2006/11/27 18:32:00 發(fā)布:
Q2: Q2: page 3 serial transmission: 3 core calbe(Null MODEM Configuration) parallel transmission: 19 or 25 core CABLE 為什么串口和并口core CABLE數(shù)量是這樣的 串口在(Null MODEM Configuration)的確只有3根線: DB9的定義: 2---TXD 3---RXD 5---GND 串行通訊嘛,所有的握手信號都是可以使用軟件協(xié)議來完成; 并口的定義是DB25(female) 至少需要: D0~D7 strobe busy ack ... 加起來至少要20來根信號 自己看圖吧; ![]() |
|
|
|
| 免費注冊為維庫電子開發(fā)網(wǎng)會員,參與電子工程師社區(qū)討論,點此進入 |
Copyright © 1998-2006 m.58mhw.cn 浙ICP證030469號 |