The connection string is also divided into two parts: pass-through and cross. The connection is generally used to prolong the connection between the PC and the device. 2, 3, and 5 are connected to 2, 3, and 5 respectively, because the PC is generally a public head, most of the devices are headers, so they are common and can be used for extension or connection. Crossover is generally used for connection between PCs, set 2 to 3, 3 to 2, 5 to 5. Generally, both ends are mother-headed!
Before the co
The serial cable can be divided into straight chain and intersection. Generally for straight line extension PC equip, will 2, 3, 5 connect 2, 3, 5, because PC universal male. But the devices are mostly female, so they are just plain, and it can also be used to extend the connection; the crossover PC is connected to the PC with 2 pairs of 3, 3 pairs of 2, 5 to 5, and the general two are female at both ends!Before the computer appeared, the EIA established the
The serial line also points through and crosses, pass-through is generally used to extend the PC and equipment, will be 2, 3, 5 respectively connected 2, 3, 5, because the PC is generally male, and the device is mostly female, so just they are universal, can be used for extension can also be used for connection; crossover is generally used for PC docking with PC, 2 to 3, 3 to 2, 5 to 5, usually both ends are female!Before the computer appeared, the EIA established the
http://blog.csdn.net/chychc/article/details/8313458Ecos Interrupt Model (1) ISR and DSREnglish full name Interrupt Service RoutineInterrupt handling is an important part of the real-time operating system. It is important to deal with interrupt sources in a timely manner, but some actions that must be considered atomic operations (which cannot be interrupted) have a very serious effect on timeliness. Because these actions are performed, disable interrupts are required. To minimize this action, en
-connect PC and MCUSeven-wire cross-connect: applicable between PC and PC to connect the signal to: (TXD,RXD), (RXD,TXD), (SG,SG), (rts,cts), (Cts,rts), (DSR.DTR), (DTR,DSR)RTS for request send, CTS for permission to send, DSR ready for data device, DTR ready for Data terminalIf the microcontroller is a TTL type (>2.4v is 1, less than 0.5V means 0), then a level translation is required,
The serial port under the SECURECRT cannot be entered
ProblemWith SECURECRT built a serial port COM1, after connecting the development Board, you can correctly accept and display the output of the serial port, but the key input is not valid.WaySession Options-Connection-Serial, Flow Control, the original default selected Rts/cts canceled, and then reconnect to the Development Board, once again connected, you can enter from the keyboard at this time."PostScript 2011-04-03"The flow Con
sending and receiving dual-end processors with Low Speed. Therefore, hardware Throttling is required.
The other pins are related to the modem. The data set ready of the DSR data device is used to indicate that the modem is in usable state. Data Terminal ready indicates that the data terminal can be used. These two signals are used to check whether the modem is connected. This pin is set by the modem when the Dell pin has a phone dial. The DCD signal
In serial communication processing, we often see two options, namely, RTS/CTS and Xon/xoff. These are two traffic control options. Currently, traffic control is mainly used in modem data communication, however, it is advantageous to know more about General RS232 programming. So what is the role of Stream Control in serial communication and how to apply it in the preparation of serial communication programs? Here we will talk about this issue.
1. Role
In our computer, interfaces and some bus functions and functions are standardized through some specific standards and protocols. Here we mainly introduce the RS-232C protocol for you. This Protocol has been applied not only in the computer field, but also in some electrical and mechanical fields with the development of this industry. Let's take a closer look at this special protocol.
RS-232-C
The RS-232C protocol is the EIA-RS-232C protocol, in which EIA (Electronic Industry Association) represe
In some electrical industries, we can involve RS-232C protocols. As the network expands, all walks of life will apply it to different places. So now the RS-232C Protocol holds some network applications.
RS-232-C
The RS-232C protocol is the EIA-RS-232C protocol, in which EIA (Electronic Industry Association) represents the American Association of electronics Industry, RS (recommeded standard) represents the Recommendation standard, 232 is the identification number, C Represents the latest version
In the electrical industry, we should be familiar with RS-232C protocols. As the protocol standard for voltage signal control, it has been applied in many fields. Next, let's take a brief look at this protocol. First, let's explain the specific meaning of this Protocol.
RS-232-C
The RS-232C protocol is the EIA-RS-232C protocol, in which EIA (Electronic Industry Association) represents the American Association of electronics Industry, RS (recommeded standard) represents the Recommendation standar
Tag: Send data false Run program design RS485 file Application device nbspIntroduction of C # serial port and implementation of simple serial communication programWeekend, nothing to do, write a simple serial communication tool, also is this weekend has come, nonsense, direct to the themeIntroduction of Serial portSerial interface, also known as serial communication interface or serial communication interface (usually referred to as COM interface), is a serial communication mode extension interf
About javax. Comm
About javax. CommJavax. Comm is an extension API provided by Sun for developing independent communication applications on the platform. (PS: Here, javax's X accurately shows that it is an extension package, rather than a core package. But for historical reasons, not all of javax's extension packages are, for example, swing packages are already part of Java's core architecture. However, to be compatible with Java coding, javax is still used. swing .) Javax. Comm can access the
Using javax. Comm in Windows to read and write serial ports
About javax. Comm
Javax. Comm is an extension API provided by Sun for developing independent communication applications on the platform. (PS: Here, javax's X accurately shows that it is an extension package, rather than a core package. But for historical reasons, not all of javax's extension packages are, for example, swing packages are already part of Java's core architecture. However, to be compatible with Java coding, javax is still
.
Cat-free mode
Cables without Modem mode are simply crossover transmission and receiving lines. Similarly, DTR DSR and RTS CTS also need to be crossed.
RS232 pin chart
Here, we have three lines. Interconnect 2 and 3 (A 2-pin segment connects 3pin), and connect the 5pin at both ends.
[Sample program]
Main Program
If you want to use the default Property, press the Save Status button. If you want to chang
. The Toradex module also needs to be Uboot when updating the Linux BSP.
Apalis the remaining 4 serial ports of the I.MX6Q/D module, in addition to the use of TTL level directly control the corresponding peripherals, can also be extended to rs232/rs485/rs422 commonly used industrial control port. For more serial port requirements, there are many ways to implement serial port expansion, such as via USB, SPI, Memory Bus, i²c and PCIe bus. Memory bus and
= new SerialPort ();
By default, the value of databits is 8, stopbits is 1, and the communication port is com1. You can reset these settings in the following attributes.
:
Baudrate: the baud rate of the serial portStopbits: the number of Stop bits per byteReadtimeout: The stop time when the read operation is not completed. Unit: milliseconds
There are also many other public attributes. You can refer to msdn on your own.
Serial Port hardware knowledge
During data transmission, each byte of data
sending end. The receiving and sending end are connected to the BB through the balanced twisted pair. When there is more than 200mV power between the receiving end AB, positive logic level. If the value is less than-200mV, the negative logic level is output. The level range of the receiver receiving balancing line is usually between 200mV and 6 v. See figure 3.2. RS-422 electrical RegulationsThe RS-422 standard stands for the electrical characteristics of the balanced voltage digital interface
/rs232, i²c, CAN, Ethernet and other physical layer bearing characteristics, design lack of specific application of pertinence, leading to the emergence of potential problems;3. Lack of tolerance and efficiency considerations.The basic requirement is definitely the basic function of completing the system. However, because the definition of requirements is incomplete, the system Designer is not forward-looking; there is no version number defined in the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.