C55XX CSL EXAMPLE
LCD EXAMPLE DOCUMENTATION

LCD EXAMPLE1 - DIAGRAM DISPLAY TEST

TEST DESCRIPTION:

This test code demonstrates following functionalities of the CSL LCDC module on the C5505/C5515 LCD panel.

   Position of the images drawn on the LCD screen will be as shown below, when
   the LCD is viewed with JTAG port on the left hand side and Power port on the
   right hand side.

     ================
     =  RRRR  CCCC  =
     =  RRRR  CCCC  =
     =  RRRR  CCCC  =
     =              =
     = LLLLLLLLLLLL =
     =              =
     = IM        IC =
     ================

     'R'  - Position of the Rectangle
     'C'  - Position of the Circle
     'L'  - Position of the Line
     'IM' - Position of moved icon from circle
     'IC' - Position of copied icon from rectangle

   

Manual inspection is required to determine the success/failure of the test. Execution status of each API will be displayed on the CCS stdout window.

NOTE: THIS TEST HAS BEEN DEVELOPED TO WORK WITH CHIP VERSIONS C5505 AND C5515. MAKE SURE THAT PROPER CHIP VERSION MACRO IS DEFINED IN THE FILE c55xx_csl\inc\csl_general.h.

TEST PROCEDURE:

TEST RESULT:

============================================================================

LCD EXAMPLE2 - DMA POLL TEST

TEST DESCRIPTION:

This test code demonstrates DMA mode of operation of the CSL LCD module. DMA module of LCD operates with out using the interrupts. During this test LCD panel will be filled with two colors; Blue and Red. Upper half of the LCD will be colored Blue and lower half of the LCD will be colored Red. Filling the colors will be done in two steps. In the first step test code configures CSL LCD module and DMA to fill upper half of the LCD with Blue color. In the second step test code configures CSL LCD module and DMA to fill lower half of the LCD with Red color. DMA used for LCD data transfer is internal to the LCD controller and is not the DMA of C5505/C5515 DSP. This example uses 256 color mode.

NOTE: Data buffer used by the LCD in DMA mode should be allocated in the SARAM. This test code places the 'gLcdBuf' in SARAM using pragma macro.

   LCD display after running the test will be as shown below, when
   the LCD is viewed with JTAG port on the left hand side and Power port on the
   right hand side.

     ====================
     ====================
     == BBBBBBBBBBBBBB ==
     == BBBBBBBBBBBBBB ==
     == BBBBBBBBBBBBBB ==
     == RRRRRRRRRRRRRR ==
     == RRRRRRRRRRRRRR ==
     == RRRRRRRRRRRRRR ==
     ====================
     ====================

     'B' - Part of LCD colored in Blue
     'R' - Part of LCD colored in Red

   

Manual inspection is required to determine the success/failure of the test. Execution status of each API will be displayed on the CCS stdout window.

TEST PROCEDURE:

TEST RESULT:

============================================================================

LCD EXAMPLE3 - DMA INTERRUPT TEST

TEST DESCRIPTION:

This test code demonstrates DMA mode of operation of the CSL LCD module. DMA module of LCD operates using the interrupts.During this test LCD panel will be filled with two colors; Blue and Green. Left half of the LCD will be colored Blue and right half of the LCD will be colored Green. Filling the colors will be done in two steps. In the first step test code configures CSL LCD module and DMA to fill left half of the LCD with Blue color. In the second step test code configures CSL LCD module and DMA to fill right half of the LCD with Green color. DMA used for LCD data transfer is internal to the LCD controller and is not the DMA of C5505/C5515 DSP. This example uses 256 color mode.

NOTE: Data buffer used by the LCD in DMA mode should be allocated in the SARAM. This test code places the 'gLcdBuf' in SARAM using pragma macro.

   LCD display after running the test will be as shown below, when
   the LCD is viewed with JTAG port on the left hand side and Power port on the
   right hand side.

     ====================
     ====================
     == BBBBBBBGGGGGGG ==
     == BBBBBBBGGGGGGG ==
     == BBBBBBBGGGGGGG ==
     == BBBBBBBGGGGGGG ==
     == BBBBBBBGGGGGGG ==
     == BBBBBBBGGGGGGG ==
     ====================
     ====================

     'B' - Part of LCD colored in Blue
     'G' - Part of LCD colored in Green

   

Manual inspection is required to determine the success/failure of the test. Execution status of each API will be displayed on the CCS stdout window.

TEST PROCEDURE:

TEST RESULT:

============================================================================

LCD EXAMPLE4 - TEXT DISPLAY TEST

TEST DESCRIPTION:

This test code demonstrates displaying a string of characters on the LCD panel. Different text is displayed on the LCD panel in two steps.

In the first step two character strings are displayed on the LCD panel using DMA mode with text in White color. LCD panel is divided into two vertical parts to display the strings in separate planes. String "IMAGINATION IS BEGINNING OF CREATION.YOU IMAGINE WHAT YOU DESIRE" will be displayed on the left half of the LCD. String "YOU WILL WHAT YOU IMAGINE AND AT LAST YOU CREATE WHAT YOU WILL" will be displayed on the right half of the LCD. This two strings will be displayed for few seconds and then text will be cleared line by line. During this step text displayed will be smaller in size as the LCD panel is divided into two parts.

In the second step one character string will be displayed on the LCD panel using polled mode with text in Red color. String "CSL FOR TEXAS INSTRUMENTS C5505(C5515) LCD MODULE" will be displayed on complete plane of the LCD. During this step text displayed will be bigger in size and more clear.

NOTE: THIS TEST HAS BEEN DEVELOPED TO WORK WITH CHIP VERSIONS C5505 AND C5515. MAKE SURE THAT PROPER CHIP VERSION MACRO IS DEFINED IN THE FILE c55xx_csl\inc\csl_general.h.

TEST PROCEDURE:

TEST RESULT:

=============================================================================

LCD EXAMPLE5 - 65K COLOR MODE TEST

TEST DESCRIPTION:

This test code demonstrates 65k color mode operation of CSL LCD module. LCD controller on the EVM supports three color modes; 256, 65k and 262k. In 65k color mode each color is represented using two 8 bit data. LCD controller on the EVM is interfaced to LCD panel using 8-bit data interface. Each pixel data will be sent to the LCD in two 16 bit words, each word carrying one 8-bit information of the color. Color information is transferred to LCDC registers using internal DMA module.

DMA module of LCD operates using the interrupts.During this test LCD panel will be filled with two colors; Red and Green. Upper half of the LCD will be filled Red color and lower half of the LCD will be filled with green color. Filling the colors will be done in two steps. In the first step test code configures CSL LCD module and DMA to fill upper half of the LCD with Red color. In the second step test code configures CSL LCD module and DMA to fill lower half of the LCD with Green color. DMA used for LCD data transfer is internal to the LCD controller and is not the DMA of C5505/C5515 DSP.

NOTE: Data buffer used by the LCD in DMA mode should be allocated in the SARAM. This test code places the 'gLcdBuf' in SARAM using pragma macro.

NOTE: Macro 'LCD_65K_COLOR_MODE' should be defined to enable the color value and other configurations for 65k color mode. This macro was defined in project build options.

   LCD display after running the test will be as shown below, when
   the LCD is viewed with JTAG port on the left hand side and Power port on the
   right hand side.

     ====================
     ====================
     == RRRRRRRRRRRRRR ==
     == RRRRRRRRRRRRRR ==
     == RRRRRRRRRRRRRR ==
     == GGGGGGGGGGGGGG ==
     == GGGGGGGGGGGGGG ==
     == GGGGGGGGGGGGGG ==
     ====================
     ====================

     'R' - Part of LCD colored in Red
     'G' - Part of LCD colored in Green

   

Manual inspection is required to determine the success/failure of the test. Execution status of each API will be displayed on the CCS stdout window.

NOTE: THIS TEST HAS BEEN DEVELOPED TO WORK WITH CHIP VERSIONS C5505 AND C5515. MAKE SURE THAT PROPER CHIP VERSION MACRO IS DEFINED IN THE FILE c55xx_csl\inc\csl_general.h.

TEST PROCEDURE:

TEST RESULT:

============================================================================

LCD EXAMPLE5 - 262K COLOR MODE TEST

TEST DESCRIPTION:

This test code demonstrates 262k color mode operation of CSL LCD module. LCD controller on the EVM supports three color modes; 256, 65k and 262k. In 262k color mode each color is represented using three 6 bit data. LCD controller on the EVM is interfaced to LCD panel using 8-bit data interface. Each pixel data will be sent to the LCD in three 16 bit words, each word carrying one 6-bit information of the color. Color information is transferred to LCDC registers using internal DMA module.

DMA module of LCD operates using the interrupts.During this test LCD panel will be filled with two colors; White and Blue. Upper half of the LCD will be filled White color and lower half of the LCD will be filled with Blue color. Filling the colors will be done in two steps. In the first step test code configures CSL LCD module and DMA to fill upper half of the LCD with White color. In the second step test code configures CSL LCD module and DMA to fill lower half of the LCD with Blue color. DMA used for LCD data transfer is internal to the LCD controller and is not the DMA of C5505/C5515 DSP.

NOTE: Data buffer used by the LCD in DMA mode should be allocated in the SARAM. This test code places the 'gLcdBuf' in SARAM using pragma macro.

NOTE: Macro 'LCD_262K_COLOR_MODE' should be defined to enable the color value and other configurations for 262k color mode. This macro was defined in project build options.

   LCD display after running the test will be as shown below, when
   the LCD is viewed with JTAG port on the left hand side and Power port on the
   right hand side.

     ====================
     ====================
     == WWWWWWWWWWWWWW ==
     == WWWWWWWWWWWWWW ==
     == WWWWWWWWWWWWWW ==
     == BBBBBBBBBBBBBB ==
     == BBBBBBBBBBBBBB ==
     == BBBBBBBBBBBBBB ==
     ====================
     ====================

     'W' - Part of LCD colored in White
     'B' - Part of LCD colored Blue

   

Manual inspection is required to determine the success/failure of the test. Execution status of each API will be displayed on the CCS stdout window.

NOTE: THIS TEST HAS BEEN DEVELOPED TO WORK WITH CHIP VERSIONS C5505 AND C5515. MAKE SURE THAT PROPER CHIP VERSION MACRO IS DEFINED IN THE FILE c55xx_csl\inc\csl_general.h.

TEST PROCEDURE:

TEST RESULT: