Yeahh, it's a damn nice feeling when the display shines up! :)
I needed to set the CSAAT-bit to keep the CS low when writing 3 8-bit RGB
values..
Thanks for your help Dan..
Reply by Dan Lyke●June 7, 20092009-06-07
On Sat, 06 Jun 2009 16:44:25 -0000
"yeayeah85" wrote: > I can't start it and I'm not 100% sure I
implemented the spi correct,
> could you please see any errors?
I'm just grabbing a few minutes to check my email this morning, but the
thing I've found most useful when trying to debug this sort of stuff is
to set up the device to just be sending the SPI stuff over and over and
hook an oscilloscope up. If you use another pin as the trigger you
should be able to read the bits on the wire, and this will tell you if
you've got the port initialized correctly, at least for output, because
you'll be able to see what speed you're sending the data at and
(with
the external pin) what the bits are.
Dan
Reply by yeayeah85●June 6, 20092009-06-06
Hi all!
I have been trying to get this display to work whole week and I'm near
insanity :(
I have an OLED, dd-160128fc-2a. It is controlled via SPI. Its minimum clock
cycle is 60nS (= 16.66MHz). The display is all black and nothing seems to get
threw..