Browse > Article
http://dx.doi.org/10.9723/jksiis.2015.20.6.021

Diagnosis and Improvement of mode transition delay in Linux 9bit serial communications  

Jeong, Seungho ((주)LS산전)
Kim, Sangmin ((주)몽태랑)
Ahn, Heejune (서울과학기술대학교 전기정보공학과)
Publication Information
Journal of Korea Society of Industrial Information Systems / v.20, no.6, 2015 , pp. 21-27 More about this Journal
Abstract
We analyze the problem that is occurring when using parity mode transformation required for 9 bit serial communication under Linux environment and propose the solution. The parity mode change is used for 9 bit serial communication in the Linux that by nature supports only 8 bit serial communication. delay (around OS tick) arises. Our analysis shows that the cause is minimum length of waiting time to transmit data remained in Tx FIFO buffers. A modified Linux serial driver proposed in this paper decreases the delay less than 1ms by using accurate time delaying. Despite various system communication interfaces, enormous existing standards and system have adopted RS-232 serial communication, and the part of them have communicated by 9bit serial.
Keywords
Linux; 9 bit serial communication; parity mode; inter-byte delay; protocol specification; real-time;
Citations & Related Records
Times Cited By KSCI : 2  (Citation Analysis)
연도 인용수 순위
1 EIA standard RS-232-C: Interface between Data Terminal Equipment and Data Communication Equipment Employing Serial Binary Data Interchange. Washington: Electronic Industries Association. Engineering Dept. 1969.
2 RS-232, Wikipedia, https://en.wikipedia.org/wiki/RS-232
3 SealLevel, "What Is 9-Bit Data Framing?", Aug. 2010 (available at http://www.sealevel.com/support/article/AA-00146/0/What-Is-9-Bit-Data-Framing.html)
4 James F. Kurose, Keith W. Ross, "Computer Networking: A Top-Down Approach (6th Edition)." (book)
5 IGT, Slot Accounting System, version 6.01 June, 2003
6 H. Ahn, and SM Kim, "Design and Implementation of Casino Slot machine Accounting Protocol Analysis System," Journal of Korean Society for Computer Game, Vol. 26, No.2 pp. 35-41, 2013. (journal)
7 Kerrisk, Michael. The Linux programming interface. No Starch Press, 2010. (book)
8 RS232 Sniffer, EX-TAP http://www.stratusengineering.com/EZTap.html (retrived 2010. 10. 10)
9 CrossRef, Linux Kernel source, http://lxr.free-electrons.com/source/drivers/tty/serial/serial_core.c
10 Love, Robert. Linux kernel development. Pearson Education, 2010. (book)
11 S.-Y. Heo, W.-J. Lee, B.-J. Shin, K.-J. Han, "Design and implementation of packet fitlering mechanism for secure TeredoService)", Journal of the Korea Industrial Information System Society, Vol. 12, No. 3, pp. 47-59, 2007. (journal)
12 D. Y. Kim, J. B. Kim, S. Y. Rhew, "Performnace verification process for introduction of Open Source Software - centered on introduction of Linux into the NEIS," Journal of the Korea Industrial Information System Society, Vol. 11, No. 3, pp. 59-68, 2006. (journal)
13 J. Lee, S. Oh, K. Chung, T Yun, K Ahn, "I/O performance analysis about memory allocation of the UBIFS," Journal of the Korea Industrial Information System Society, Vol. 18, No. 4, pp. 9-18, 2013/ (journal)