Just got my 632 serial LCD, and trying to connect it
to the SPI port of my 8051 microcontroller. And really
stuck in it now.
For my microcontroller, it is Analog Device product,
ADuC812, it has own SPI port. And pins for SPI are
MISO(master in), MOSI(master out), SCLOCK, and
SS(slave selection). And I connect MOSI to DATAIN in
632, and SCLOCK to SPI_CLK. and when I write to SFR
register SPIDAT in microcontroller, which will send
byte to SPI port, I can not get any dispaly, just some
flashing cursor.
First, the LCD is ok, I used wintest to test it, and
it is perfect. And for my program, if I simulate it on
my computer, it is also ok, I can see the message from
SPI windows. But when I connect from my
microcontroller board to LCD, nothing happened. Must be some settings in the program and the connection problem. I am
fresh new for this kind of stuff, and really need your
any device. Any connection suggestion or some sample
code? Your help is really appreciated.
Thanks.
to the SPI port of my 8051 microcontroller. And really
stuck in it now.
For my microcontroller, it is Analog Device product,
ADuC812, it has own SPI port. And pins for SPI are
MISO(master in), MOSI(master out), SCLOCK, and
SS(slave selection). And I connect MOSI to DATAIN in
632, and SCLOCK to SPI_CLK. and when I write to SFR
register SPIDAT in microcontroller, which will send
byte to SPI port, I can not get any dispaly, just some
flashing cursor.
First, the LCD is ok, I used wintest to test it, and
it is perfect. And for my program, if I simulate it on
my computer, it is also ok, I can see the message from
SPI windows. But when I connect from my
microcontroller board to LCD, nothing happened. Must be some settings in the program and the connection problem. I am
fresh new for this kind of stuff, and really need your
any device. Any connection suggestion or some sample
code? Your help is really appreciated.
Thanks.
Looking for additional LCD resources? Check out our LCD blog for the latest developments in LCD technology.