Silly question, but have you tied the unused inputs appropriately? You may be getting noise resetting things or sending garbage on the SPI port...
Silly question, but have you tied the unused inputs appropriately? You may be getting noise resetting things or sending garbage on the SPI port...
Unused inputs? You mean Rx? Are there more? The 16F887 is in the LabX1, all jumpers are in except the Tx, which I am using as an output.
I figured what Charlie meant was unused SPI inputs on the display (which can use SPI or serial in). I tied the 3 inputs to ground, no change, then out of frustration (I had already thrown the display in the garbage...)I started hitting each pin with ground. After touching the RST (which I assume is reset), the display started working. No changes in code, and when I took off extraneous wires to the display (ie the 3 SPI inputs) and hooked it up in very basic mode with only SI, Vcc, and ground, it continued to work, even through power cycling and numerous downloads to the host chip (16F887). I can now display anything I want, anywhere I want.
Bookmarks