ESP32C3N4 HARDWARE DESIGN

zekolii
Posts: 5
Joined: Wed Apr 27, 2022 7:43 am

ESP32C3N4 HARDWARE DESIGN

Postby zekolii » Wed Apr 27, 2022 8:20 am

Hello, you have been working with ESP32C3N4 for a while. I'm drawing, but there are things in the datasheet that I can't understand.
1-Will the program be thrown with GPIO9? Are things running like the ESP32-S? There I was able to program when I pulled down GPIO0 and reset it. How do I put it here?


2- I want to do SPI Communication. But it doesn't say which pins I can use. Can I choose the pins I want? SPID, SPIQ, SPICLK etc. The use of pins such as is not recommended. Should I leave them blank?


3- I want to do I2C Communication. But it doesn't say which pins I can use. Any GPIO pin writes. Can I choose the pins I want?
Attachments
Screenshot_20.png
Screenshot_20.png (69.16 KiB) Viewed 1722 times
Screenshot_19.png
Screenshot_19.png (159.57 KiB) Viewed 1722 times
Screenshot_18.png
Screenshot_18.png (125.87 KiB) Viewed 1722 times

ESP_Sprite
Posts: 9591
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32C3N4 HARDWARE DESIGN

Postby ESP_Sprite » Thu Apr 28, 2022 2:06 am

- For bootstrap behaviour, GPIO9 on the C3 is the same as GPIO0 on other ESP32 chips.
- For SPI, you can use any GPIO. SPID, SPIQ etc are reserved for the internal flash, as the datasheet says, so do not use those.
- You can indeed use any pin for I2C.

zekolii
Posts: 5
Joined: Wed Apr 27, 2022 7:43 am

Re: ESP32C3N4 HARDWARE DESIGN

Postby zekolii » Fri Apr 29, 2022 6:33 am

Thank you so much. I want to ask you a question again. My model is ESP32C3N4;
1-Can we debug with USB and program with USB?
2-Can I use GPIO9 pin and CHIP_En pin as output? If I can, how should the wiring diagram be?
3- If we can't use the SPIQ, SPID, SPICLK, SPICS0, SPIWP, SPIHD terminals, why does it say 22 pin GPIO in the specifications? Is there no way we can use it?

ESP_Sprite
Posts: 9591
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32C3N4 HARDWARE DESIGN

Postby ESP_Sprite » Sat Apr 30, 2022 8:06 am

You already asked that and I already answered.

Who is online

Users browsing this forum: Bing [Bot], chegewara and 67 guests