#wiring of ssd1322

52 messages · Page 1 of 1 (latest)

wary cobalt
marsh schooner
#

if you want 4-wire

#

and the answer for i2c is you don't this chip can only be used for parrallel or SPI communication

#

if you look at the options for the BS0 and BS1 pins, no configuration there allows for I2C

wary cobalt
marsh schooner
#

do you have E and R/W tied low?

#

IIRC, for it to work properly, D3-D7 must be tied to ground, as well as E and R/W#

wary cobalt
#

but they all need to be on ground. does it also require the on board mosi and clk pins from the esp?

marsh schooner
#

no just the ones going to the COG of the OLED

#

notice D2 is not connected

#

i think that is because it could be used for MISO... but who needs to read data from a screen

wary cobalt
#

whats the reason behind all of those going to ground?

marsh schooner
#

well, the RD# and the WR# are probably because otherwise the read/write functionality doesn't work

#

the d3-7 are probably so spurious noise doesn't mess anything else up in the circuit

wary cobalt
# marsh schooner

wait here it says hardware spi, so i will need to pay attention which pin it goes to

marsh schooner
#

you are using an ESP32?,... you can remap the hardware spi pins if you are

wary cobalt
#

wut

marsh schooner
#

but it is just as easy to wire them up to the default location

#

ESP32s have a switch matrix for their digital IO, most Digital IO that go to subsystems, like SPI, can be remapped in code to different pins

wary cobalt
#

this one to be exact

marsh schooner
#

but it isn't trivial so using the default location is just as good

wary cobalt
# marsh schooner

where do you find such wiring guides btw? im dying to find such stuff

marsh schooner
#

the one further up?

wary cobalt
#

yeah

marsh schooner
#
wary cobalt
#

should i go with 3 or 4 pin spi btw? ive soldered it to 4 now

marsh schooner
#

if you have the pins, do the 4, it just allows for faster communication

wary cobalt
#

Nvm it does work but this is apparently full screen lit

marsh schooner
#

You will need to play with the initialization setting to find what way to have it work through the memory

wary cobalt
#

What do I adjust here

U8G2_SSD1322_256x64_F_4W_HW_SPI

marsh schooner
#

I had to play with all the settings and make sure to set the memory pages correctly

wary cobalt
marsh schooner
#

When I am not on my phone I'll put together some notes

marsh schooner
marsh schooner
#

also try U8G2_SSD1322_ZJY_256X64_1_4W_HW_SPI

#

https://forum.arduino.cc/t/arduino-nano-and-ssd1322-3-12/948891 this post is claiming it is the NHD Version

#

U8G2_SSD1322_NHD_256X64_F_4W_HW_SPI

wary cobalt
wary cobalt
#

and i also dont need to connect a bigilion of ground pins

marsh schooner
#

Cool glad you got it working

wary cobalt
marsh schooner
#

Try grounding the Rd and write pins they could be floating and causing errors

wary cobalt
#

no it doesnt make a difference then it shouldve worked on the other chip aswell its just dead again and i have no clue as to why

marsh schooner
#

do you have a logic analyzer, or scope or something?

#

I would be interested to see if the pins are burned out due to something

wary cobalt