Implementation of RS232C Serial Communication by CSMA protocol

충돌검지 다중접속(CSMA) 프로토콜에 의한 RS232C 직렬통신의 구현

  • Kwak, Hee-Soo (Dept. of Electrical Engineering, Dankook University) ;
  • Han, Kyong-Ho (Dept. of Electrical Engineering, Dankook University)
  • 곽희수 (단국대학교 전기공학과) ;
  • 한경호 (단국대학교 전기공학과)
  • Published : 1998.07.20

Abstract

In this paper, we implemented RS232C serial communication by the 2 wires(Data,GND), and multiple access, by the applying Collision Sensing Multiple Access(CSMA) Protocol. Multiple access is implemented by assigning a unique ID to each controller. The multiple access control operation starts by sending a command packet from a host to another host and the command packet is composed of ID bytes of source and target host computer, data bytes and the check sum, byte. In host computer, after sending command packet, the collision from loop back data. If collision is detected, it means a command packet was collided with another command packet for another host. The packet communication of the controller enables the multiple acces of the controller through the common serial data link. The application of this serial communication through CSMA protocol and the usage of two wires, have an effect on saving the wires and convenient of layout work.

Keywords