LCD ASCII Interface

Every position on the LCD corresponds to an address. See below for the relation.

Please make sure the CT Board is in the correct mode.
Supported modes: 1, 2, 3, 4


The registers are write only.







Base address: 0x6000'0300

The code snippets below shows how to use the ASCII interface of the LCD.

#include "reg_ctboard.h"
const char text[] = "hello";
 
CT_LCD->ASCII[13u] = 'c';         /* Write character 'c' at position 13 on the LCD. */
CT_LCD->ASCII[18u] = text[0u];    /* Write character 'h' from string "hello" at position 18 on the LCD. */


.equ ADDR_LCD_ASCII, 0x60000300
 
        ldr     r0,  =ADDR_LCD_ASCII
        ldr     r1,  ="E"                 // load value of ASCII char 'E' into r1.                
        strb    r1,  [r0, #12]            // write 'E' at position 13 on the LCD.


  • ctboard/peripherals/lcd_ascii.txt
  • Last modified: 2026/06/25 15:14
  • by scbj