LCD Module Initialization and Panel Display for the Virtual Screen of LN2440SBC Embedded Systems

LN2440SBC 임베디드 시스템의 가상 스크린을 위한 LCD 모듈 초기화 및 패널 디스플레이

  • 오삼권 (호서대학교 컴퓨터공학과) ;
  • 박근덕 (호서대학교 컴퓨터공학과) ;
  • 김병국 (호서대학교 컴퓨터공학과)
  • Received : 2010.05.06
  • Accepted : 2010.06.30
  • Published : 2010.06.30

Abstract

In case of an embedded system with computing resource restrictions such as system power and cpu, the overhead due to displaying data on the computer screen may have a significant influence on the system performance. This paper describes an initialization method for LCD-driving components such as an ARM Core, an LCD controller, and an SPI(serial peripheral interface). It also introduces a pixel display function and a panel display method using virtual screen for reducing the display overhead for an LN2440SBC system with an ARM9-based S3C2440A microprocessor. A virtual screen is a large space of computer memories allocated much larger than those needed for one-time display of an image. Displaying a specific region of a virtual screen is done by assigning it as a view-port region. Such a display is useful in an embedded system when concurrently running tasks produce and display their respective results on the screen; it is especially so when the execution result of each task is partially modified, instead of being totally modified, on its turn and displayed. If the tasks running on such a system divide and make efficient use of the region of the virtual screen, the display overhead can be minimized. For the performance comparison with and without using the virtual screen, two different images are displayed in turn and the amount of time consumed for their display is measured. The result shows that the display time of the former is about 5 times faster than that of the latter.

전원이나 CPU 같은 컴퓨팅 자원의 제약을 받는 임베디드 시스템의 경우, 데이터의 컴퓨터 화면 디스플레이로 인한 오버헤드는 시스템의 성능에 지대한 영향을 줄 수 있다. 본 논문은 ARM9 방식의 S3C2440A 마이크로프로세서가 내장된 LN2440SBC 시스템에서, LCD(liquid crystal display)의 구동을 위해 필요한 ARM 코어, LCD 컨트롤러, SPI(serial peripheral interface) 같은 LCD-구동 요소들의 초기화 방법을 설명한다. 또한 픽셀 디스플레이 함수와 디스플레이로 인한 오버헤드를 줄이기 위한 가상스크린을 이용한 디스플레이 방법을 소개한다. 가상스크린은 한 LCD 화면 디스플레이에 필요한 메모리 용량보다 매우 큰 용량의 메모리 공간으로서, 가상스크린 내의 특정 영역 디스플레이는 그 영역을 뷰포트(view port) 영역으로 지정함으로서 행해진다. 이 같은 가상스크린을 이용한 디스플레이는 임베디드 시스템에서 동시에 수행되는 여러 태스크들이 자신의 수행 결과를 생성하고 그 결과를 각기 화면에 출력하는 경우에 유용하며, 특히 각 태스크의 수행 결과 데이터가 모두 변경되지 않고 일부분만 변경되어 디스플레이 되는 경우에 더욱 그러하다. 이런 임베디드 시스템의 경우, 각 태스크들이 가상스크린의 메모리 영역을 효율적으로 나누어 사용할 경우 디스플레이 오버헤드를 최소화 할 수 있다. 가상스크린을 사용하는 경우와 아닌 경우의 성능 비교를 위해 두 개의 다른 이미지를 번갈아 가며 디스플레이하고 소요 시간을 측정했다. 그 결과 가상 스크린을 사용할 경우가 그렇지 않은 경우에 비해 약 5배의 빠른 출력 속도를 보인다.

Keywords

References

  1. 이희문, PIC를 이용한 LCD 모듈 활용. 성인당 pp 295-315, 2006.
  2. 홍건표, 하동호, ARMP20T S3C24101, S3C2440A를 이용한 개발자들을 위한 ARM 프로세서, CHM, pp 116-489, 2006.
  3. 오삼권, "uC/OS-II를 탑재한 S3C2440A 싱글보드 컴퓨터를 위한 모니터링 시스템의 구현", 호서대학교 논문집, 제26권, pp. 63-69, 2007.
  4. Samsung Electronics, S3C2440A 32-BIT CMOS Microcontroller User's Manual Revision 1, Samsung Electronics, pp. 30-509, 2004.
  5. Samsung Electronics, Product Information LTV350QV-P04, Samsung Electronics, pp. 1-30, 2005.
  6. John Catsoulis, Designing Embedded Hardware, 2nd. ED의 역서, 한빛미디어, pp. 97-212, 2007.
  7. 오삼권, 박근덕, 김병국, "임베디드 시스템을 위한 한글 포팅 및 출력 성능 비교", 한국 디지털 콘텐츠학회 논문지, 제10권 제4호, pp 493-499, 2009. 12.
  8. Dornald Hearn, M. Pauline Baker, Computer Graphics의 역서, 아진, pp. 85-159, 2002.