Is this I2C or SPI?

Hello, I brought this tiny monitor from Amazon https://www.amazon.com/gp/product/B07555ZHC9/ref=oh_aui_detailpage_o05_s00?ie=UTF8&psc=1

But I am a bit confused if it is I2C or SPI. It has 7 pins, GND, VCC, SCL, SDA, RES, DC and CS.
Because of the SCL and SDA pin, I assumed that it is I2C, but when I run i2cdetect, it shows not i2c address. However, if it is SPI shouldn't it has MOSI MISO pins? Thanks

(deleted)

The data and clock on the two standards can often have similar names. That device however is an SPI device.

Quite a few devices support both SPI and I2C, and require you to pull high or low a pin to select the protocol you want to use. Indeed the manual will spell it out clearly for you - protocol, pin connections, etc.

The datasheet for the SSD1331 controller says that there are 4 pins used to select bus interface. Most of the choices are 8, 9 or 16-bit parallel interfaces for (Motorola) 6800 or (Intel) 8080 microcontrollers. The only other choice (the default) is SPI.

CS (CS#) -> SS
SCL (SCLK,D0) -> SCLK (clock data on rising edge, MSB first)
SDA (SDIN,D1) -> MOSI
DC (D/C#) -> ??? (select between Data and Control writes)
RS (RES#) -> ???

The library must have inputs for what pins are used for CS and DC (and possibly for RS).

Hello, I got this https://www.amazon.com/gp/product/B0755 ... UTF8&psc=1
But I am a bit confused if it is I2C or SPI. It has 7 pins, GND, VCC, SCL, SDA, RES, DC and CS.
I has has the typical i2c SCL, SDA pins. So I assume it it is i2C, but I ran a i2cdetect on the pi, it gave not i2c address. but then the CS pin indicate it may be an SPI, however it doesn't has MOSI MISO pins that it associated with SPI. So is it i2c or spi? how to connect it? Thanks.

Your link does not work. Some displays can be either I2C or SPI depending on the setting of a pin. You will need the data sheet for the display controller to see how to set it for the mode that you want.

how to connect it?

Until we know what controller you have on the display, there is not way to answer that.

Connection info is very likely on the page you tried to link to, or in the datasheet of your specific module (which a proper seller would link to from their product page, but which otherwise is just a Google query on part nr + "data sheet" away).

There are indeed OLED displays with such confusing labels: https://www.amazon.com/dp/B078B7VHV5.

When you google for those pins in combination with oled and Arduino, it is easy to find what is going on.
For example: SSD1306 based OLED connected to Arduino · jandelgado/arduino Wiki · GitHub.

The trick is to ignore that SDA and SCL are for I2C and see them as data and clock.
SDA = data = MOSI = D1
SCL = clock = SCK = D0

@af1812, do not cross-post. Threads merged.