nopnop2002 / esp-idf-st7789

ST7789 Driver for esp-idf
MIT License
234 stars 56 forks source link

This Project can not work on esp32C3 #27

Closed Supowang1989 closed 2 years ago

Supowang1989 commented 2 years ago

MOSI : GPIO10 SCLK :GPIO7 CS:-1 DC:GPIO1 RESET:GPIO3 BL: GPIO0

Can anyone help me check it,Thanks!

nopnop2002 commented 2 years ago

Why CS:-1?

You need to use CS gpio.

If you don't use CS gpio, you should always set CS of TFT to LOW.

Supowang1989 commented 2 years ago

Why CS:-1?

You need to use CS gpio.

If you don't use CS gpio, you should always set CS of TFT to LOW.

Thanks for your reply,CS GPIO has connect to GND on my board

nopnop2002 commented 2 years ago

For some reason, there are development boards that cannot use GPIO06, GPIO08, GPIO09, GPIO19 for SPI clock pins. According to the ESP32C3 specifications, these pins can also be used as SPI clocks. I used a raw ESP-C3-13 to verify that these pins could be used as SPI clocks.

Try to change SPI Clock pin.

Supowang1989 commented 2 years ago

Why CS:-1? You need to use CS gpio. If you don't use CS gpio, you should always set CS of TFT to LOW.

Thanks for your reply,CS GPIO has connect to GND on my board Schematic_ESP32-C3-13-EVB-V1_2022-02-16.pdf

this is my sch file

nopnop2002 commented 2 years ago

this is my sch file

I don't know reason even if I look at it.

I tested with this.

ESP-C3-13-5

Supowang1989 commented 2 years ago

this is my sch file

I don't know reason even if I look at it.

OK ,still very grateful