avr nokia 5110
I've been driving the 5110 lcd screen ('8544 chip-on-glass controller) with a 16f874 using the hardware mssp module. The setup for the mssp is:
clear sspcon
clear sspstat
sspstat,6 = 1 (cke)
sspcon,0 = 1 (xtal speed / 16 , 1.25 mhz with a 20 mhz xtal)
sspstat,5 = 1 ( turn on the mssp module)
Then simply write the data bytes into SSPBUF , and the MSSP module will send them to the display. - just make sure that the MSSP has finnished sending the byte before writing to SSPBUF again.
If it's going to be a command byte,set the D/C to 0 before writing to SSPBUF, if it's a display byte , set D/C to 1.
I also found that the display needed a pause of 1ms between instructions during display setup (Vop, bias etc.), but after it was setup, it would happily take instructions at up to 5mhz.
Cheers, fuzcub