digitaldanny / AudioEffectsGlove

A hand tracking glove that controls parameters of various audio effects.
1 stars 0 forks source link

LCD Drivers #46

Closed digitaldanny closed 3 years ago

digitaldanny commented 3 years ago

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

digitaldanny commented 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.

digitaldanny commented 3 years ago

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?) Arduino - Top Level

High Level (Single LUT?) Arduino - High Level

RS Low (CMD Mode) Arduino - RS Low

RS High (Data Mode) Start Arduino - RS High Start

RS High (Data Mode) End Arduino - RS High End

digitaldanny commented 3 years ago

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) image

RS High (Data Mode) Start

RS High (Data Mode) End

digitaldanny commented 3 years ago

All issues fixed. Currently working on writing text to the LCD.

digitaldanny commented 3 years ago

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.