Hi I am hoping I can get a little hand here. I need to understand why I am having such a hard time interfacing this LCD screen to the PIC12F629.
I am trying to use a pre existing set of ASM code that has been written for a PIC16F84..
HERE IS THE LINK. TO KEEP MY POST SHORT
http://sandiding.tripod.com/n7110.html
I have a few things that I don't understand.
Firstly, is there a particular reason why the DTA and CLK pins need to be connected to the RB6 and RB7 pins? I dont see anything with regards to going into some sort of a serial mode inorder to program the LCD it seems the original coder simply send all Zeros to the PORTA and PORTB of the TRISAB registers. Do these pins do somthing special by default? Does the Pic12f629 have this feature? The code from where I can understand is simply bitbangging the data into the LCD controller.
From this.. When I connected my LCD to my PIC12F629 I simply used the 5 IO pins that are available on the chip. GPIO 3 is an input pin only..
The other difference between my design and the link is that I used the CHIPS built in clock at 4mhz. I also don't see this being a problem..
When I power Up the LCD goes all pixels on. and nothing else.
Any help here? THAT WOULD BE AWSOME!
I am trying to use a pre existing set of ASM code that has been written for a PIC16F84..
HERE IS THE LINK. TO KEEP MY POST SHORT
http://sandiding.tripod.com/n7110.html
I have a few things that I don't understand.
Firstly, is there a particular reason why the DTA and CLK pins need to be connected to the RB6 and RB7 pins? I dont see anything with regards to going into some sort of a serial mode inorder to program the LCD it seems the original coder simply send all Zeros to the PORTA and PORTB of the TRISAB registers. Do these pins do somthing special by default? Does the Pic12f629 have this feature? The code from where I can understand is simply bitbangging the data into the LCD controller.
From this.. When I connected my LCD to my PIC12F629 I simply used the 5 IO pins that are available on the chip. GPIO 3 is an input pin only..
The other difference between my design and the link is that I used the CHIPS built in clock at 4mhz. I also don't see this being a problem..
When I power Up the LCD goes all pixels on. and nothing else.
Any help here? THAT WOULD BE AWSOME!