SLAAEO3 September 2024 MSPM0L2227 , MSPM0L2228
As mentioned in Section 4.4.2, use a blink memory on LCD module as a secondary display memory when no blinking mode is selected. To select which memory (LCD memory or Blink memory) is currently being displayed simply set the LCDMEMCTL.LCDDISP bit to zero or one. The advantage of dual display memory feature performs an instant update of all LCD segments to display a new message or image on the screen. Over time, changes are made to the currently unused display memory without affecting the current display output. Once the full memory is populated with the desired data, change the display all at once by toggling the LCDMEMCTL.LCDDISP bit.
Using this methodology, use a slower MCLK (sometimes required to meet low peak current consumption), or the CPU is busy with other interrupts going on while populating this display buffer without any partial image showing up on the display.
A typical flow is:
Another feature that dual display memory provides is the ability for hardware to automatically toggle between the two display memories through setting the blinking mode LCDBLKCTL.LCDBLKMODx = 3. In blinking mode, the LCD toggles between the memories at the blinking frequency that are configured. Blinking mode is useful for displaying a long string of text or information that does not fit on the display – part of the string is loaded into each memory, and then blinking mode is set to automatically toggle between the two memories without software intervention.
For example, on a display that displays six alphanumeric characters, the message "Hello World" is displayed by loading the LCD memory registers to display "Hello" and loading the LCD Blink memory registers to display "World," and setting the LCDBLKCTL.LCDBLKMODx = 3, with the blink frequency configured to a slow frequency such as 1Hz to allow time for users to read the message. In this case, without any additional software intervention, the display continually shows "Hello" for 1 second and then "World" for 1 second.