SLAAEO3 September   2024 MSPM0L2227 , MSPM0L2228

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction: MSPM0 and LCD End Applications
  5. 2MSPM0 LCD Portfolio
  6. 3Segmented LCD Operation
    1. 3.1 LCD Structure (Simplified)
    2. 3.2 LCD Drive Basics
  7. 4MSPM0 LCD Features
    1. 4.1 Muxing
      1. 4.1.1 Muxing Example
    2. 4.2 Voltage Generation
      1. 4.2.1 Charge Pump
      2. 4.2.2 Contrast Control
    3. 4.3 LCD Clocking
    4. 4.4 LCD Memory and Blinking Mode
      1. 4.4.1 LCD Memory Organization
      2. 4.4.2 Blinking
    5. 4.5 LCD Output Pin Configuration
    6. 4.6 Low Power Mode Feature
  8. 5LCD Layout and Software Considerations
    1. 5.1 LCD Layout Tips
      1. 5.1.1 Hardware-Driven Layout
      2. 5.1.2 Software-Driven Layout
      3. 5.1.3 General Layout Rules
    2. 5.2 LCD Software Tips
      1. 5.2.1 Create a Look-up Table
      2. 5.2.2 Use of #defines
      3. 5.2.3 Efficient Clearing of the LCD Memory
      4. 5.2.4 Double-buffering of the Display Buffer Using Dual Display Memory
  9. 6Additional Resources

Software-Driven Layout

Using a software-driven approach for pin selection allows the MSPM0 to set all required segments to display digits and characters using a single memory write of a byte or word. For example, for the 4-mux display shown previously in Figure 5-1, two pins control all the segments to display any digit 0-9, and four pins control all the segments to display any alphanumeric character. In 4-mux mode, the MSPM0 LCD memory has each byte controlling two Sx pins. Therefore, with careful connections between the MSPM0 and this LCD glass, set on a display is a full digit with a single byte access (writing two pins at once), or a full alphabet character is on the display with a half-word access (writing four pins at once). Figure 5-3 shows an example of choosing MSPM0 Sx pins within the same LCDMx memory register so that all segments for both Sx pins are set with a single byte access. It is also important to make sure that the same segments for each digit are assigned to the same ordering within the byte and are laid out in the same format in memory to confirm that the same function call is used, no matter the set digit of the display, saving greatly on software overhead.

However, depending on the application, the connections are more complex or require a multilayered board. On devices with LCD module, any pin is a COM pin or a segment pin helping to make layout easier which helps to mitigate the layout issue to an extent.

MSPM0L222x Software-Driven Layout Pin Selection
          Example Figure 5-3 Software-Driven Layout Pin Selection Example