This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

SPI: Cannot write to full LCD screen

Hi,

I have a code programming the nRF51422 development board to write to a Sharp Memory 96x96 pixel LCD screen using SPI.

Currently the code writes two numbers and a bar graph to the screen. The graphics have been coded correctly.

The problem is that I cannot update the entire screen in one SPI transaction, only around 64 lines of the screen update, which corresponds to approximately (64*14) + 2 = 898 bytes.

I have tried adjusting my code so that I can write to specific lines, i.e. from line 0 to line 45, so that I could update multiple sections of the screen separately. Unfortunately, this is not working as updating each new section of the screen seems to cause all other parts of the screen to be cleared.

Please help me try to write contents to the entire screen.

IAR Workspace Code: spi_master.eww

Programming manual for Sharp Memory LCD: programming_memory_lcd_app_note.pdf

Related