Jump to content

Recommended Posts

Posted

i'm trying to connect a newhaven nhd-2.8-2.5664ucb2 display (datasheet).

to get my 2.5v, i'm using a 10r/33r resistor voltage divider. after voltage loss on the ribbon cable to the breadboard, i have 3.27v from the core. so taking voltage off the 33r resistor (i think later i'll use a resistor/zener combination for efficiency) gives me 2.51v. perfect. that also leaves me with 76mA of current available, so there should be enough to power the display.

for wiring, i used the ssd1306 wiring diagram at ucapps. i think the pins match up enough to be fairly obvious, but my connections may be wrong.

here is how i have the display connected:

(edit: except for vdd/vss, i replaced all resistor dividers with 1k/330r)

1 VSS - lpc17 ground

2 VDD - lpc17 VDD (2.5v from 33r resistor)

3 NC - not connected

4 D/C - RS on lpc17 (2.5v from 33r resistor)

5-6 VSS - lpc17 ground

7 SCLK - E on lpc17 (2.5v from 33r resistor)

8 SDIN - RW on lpc17 (2.5v from 33r resistor)

9 NC - not connected

10-14 - lpc17 ground

15 NC - not connected

16 /RES - to VDD/2.5v via a 1K (this pin is active low)

17 /CS - D0 on lpc17 (2.5v from 33r resistor)

18 NC - not connected

19 BS1 - lpc17 ground

20 BS0 - lpc17 ground

i compiled and uploaded the sd1322 demonstration app from the repository. without the display connected, the core functions normally (led blinks a few times and i can still upload). with the display connected, the lpc17's led blinks endlessly and i can't upload anything. the core is locked up.

any ideas would be appreciated!

ultra

Posted

issue was resolved in the chat with nils. i'd give the answer but i actually dont' know it... it suddenly decided to start working on its own.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...