Page 1 of 1

ESP32 General Configuration

Posted: Fri Jan 21, 2022 2:39 pm
by oi18ct
I'm a little confused on how it's intended to set gpio internal pull-up/down settings via FC. In Build--->Project Options--->Configuration there is chip/module selection and clock cfg but not much else. Should there be more to the configuration?

I'm a bit new to both FC & ESP32. Feel like I might be missing some magic wiki page or manual...

Re: ESP32 General Configuration

Posted: Fri Jan 21, 2022 4:39 pm
by LeighM
Hi,
There's currently no general config in Flowcode for GPIO pull up or down.
But you can achieve this with some C code in a C icon.
For example to set pull-up on GPIO4 ...

Code: Select all

gpio_set_pull_mode(GPIO_NUM_4, GPIO_PULLUP_ONLY);

Re: ESP32 General Configuration

Posted: Fri Jan 21, 2022 5:16 pm
by kersing
But you can achieve this with some C code in a C icon.
Time for a component to add this for all controllers where this can’t be configured elsewhere?

Re: ESP32 General Configuration

Posted: Fri Jan 21, 2022 5:53 pm
by oi18ct
Ok, that makes sense- Thank you.

To understand this better, generically speaking, is it the intention of FC9 to configure all gpio in a C-Block at initialization? Or does FC9 do some of the configuration based on the component selected (for example, i2c or ws2812)?

all commands from this link are available for the purpose of configuring gpio?
https://docs.espressif.com/projects/esp ... /gpio.html

One last question for clarification... in fc9 cfg, selecting ESP32-S would compile and execute on basically any module in the Espressif ESP32-S2 or S3 family? As an example, would a project compile & run successfully on both esp32-s3-mini-1 and also esp32-s3-wroom-2?

Prbly rudimentary, but your input will be quite helpful for where I'm at with this. Thank you!

Lee

Re: ESP32 General Configuration

Posted: Fri Jan 28, 2022 4:23 am
by oi18ct
ok, simplify the question- is ESP32-S2-Mini usable in FC9? Specifically ESP32-S2-DevKitM

Re: ESP32 General Configuration

Posted: Thu Aug 11, 2022 12:00 pm
by oi18ct
Is it safe to assume that ESP32-S3-Mini is generically included as part of the ESP32S in the target selector?

I inquired about the -S2-Mini about a year ago in the forum but it didn't get a response. -S3 is now out since my original post. It is bluetooth v5 which is desirable. I thought I'd try the forum again for any input before investing time in lab to test fully. Our product design would benefit from this module... and it's available in world of unavailable IC's!

https://www.digikey.com/en/products/det ... 8/15295890

thank you