Closed digitaldanny closed 3 years ago
I was able to confirm that the LCD works correctly by testing the Arduino drivers on an Arduino Nano. This means that something is off about my MSP432 SPI configurations. I will take a snapshot of the SPI/GPIO lines in the logic analyzer to compare with the MSP432 waveforms.
Below are snapshots of the logic analyzer when the Arduino demo runs. These will be compared to the logic analyzer when the MSP432 demo runs.
Top Level (Many frames?)
High Level (Single LUT?)
RS Low (CMD Mode)
RS High (Data Mode) Start
RS High (Data Mode) End
I have noticed some differences comparing the waveforms.
Topic | MSP432 | Arduino | Notes |
---|---|---|---|
Clock | Resting high | Resting low | None |
Select during CMD mode (RS low) | Very short amount of time high | Long time high | May be due to using higher clock speed on Arduino |
Data transfer before entering CMD mode | Error on transfer | Clean | Logic analyzer cannot decode the last transfer, which should be 0xFF |
Top Level (Many frames?)
High Level (Single LUT?)
RS Low (CMD Mode)
RS High (Data Mode) Start
RS High (Data Mode) End
All issues fixed. Currently working on writing text to the LCD.
Able to fill/clear screen and write text to the LCD. This is enough for the final demo. I will use something like this [#####] to show battery percentage instead of drawing a nice battery graphic.
Describe the solution you'd like Complete the LCD drivers to draw text/images. Currently, the drivers draw to the LCD, but outputs random "noise" to the screen.
Extra Context
34 - LCD selection & hardware connections