Author Topic: Feedback on ESP32-C3?  (Read 4577 times)

0 Members and 2 Guests are viewing this topic.

Offline SiliconWizardTopic starter

  • Super Contributor
  • ***
  • Posts: 17806
  • Country: fr
Feedback on ESP32-C3?
« on: September 08, 2022, 07:30:35 pm »
I'm considering using an ESP32-C3 for one project which requires Bluetooth. Specs look fine, they are low-cost and based on a RISC-V core, which is uh, cool.

Now I'd like to have some feedback from people having used it in commercial projects. Is Espressif a reliable company? Is there some support? Are those chips themselves reliable? Have you encountered any issues? Are the docs adequate?

Now for the downside I've seen so far: they have an SDK that sounds OK(ish), but it looks almost impossible to do anything serious with this chip without this SDK. Apparently all the radio part of the chip is not documented (or poorly, dunno?) so you can't write code "baremetal" for Bluetooth or WiFi. I found a project for baremetal dev on those on github, and they clearly state this. They can access pretty much everything except the radio block. While having to use the SDK is not a big showstopper, I do not like a lot to invest dev time in a solution that isn't "open" enough to develop for it baremetal if required.

So, yeah. Any experience and thoughts welcome.
 

Offline lucazader

  • Regular Contributor
  • *
  • Posts: 221
  • Country: au
Re: Feedback on ESP32-C3?
« Reply #1 on: September 08, 2022, 11:09:41 pm »
We have used the original esp32 chip in our products reliably for the last almost 5 years.
Originally the SDK was a bit hit or miss. but it has seen a LOT of development over that time and is pretty good overall.
Support wise they have been quite good overall. They even provide services to look over schematics and module designs if your company is rolling its own module or direct on board solution.


As a company you can ask for support and report bugs on the github repo for the IDF. However you can also email them directly with bugs etc and they will look into them and prioritize fixing them for commercial customers. At least they have done that for a bug we found int he past.

In all honesty they seem much more receptive to finding and fixing bugs than ST ever has (though I think that says more about ST than it does about espressif).

TLDR: We have used them for 5 years. Have been happy with the support we received, and happy with the IDF and improvements made to it over that time.
 
The following users thanked this post: SiliconWizard

Offline westfw

  • Super Contributor
  • ***
  • Posts: 4660
  • Country: us
Re: Feedback on ESP32-C3?
« Reply #2 on: September 09, 2022, 08:49:18 pm »
Quote
Apparently all the radio part of the chip is not documented (or poorly, dunno?) so you can't write code "baremetal" for Bluetooth or WiFi.


That seems to be very common for chips or modules that support BT or WiFi.

 

Offline SiliconWizardTopic starter

  • Super Contributor
  • ***
  • Posts: 17806
  • Country: fr
Re: Feedback on ESP32-C3?
« Reply #3 on: September 09, 2022, 11:46:39 pm »
Quote
Apparently all the radio part of the chip is not documented (or poorly, dunno?) so you can't write code "baremetal" for Bluetooth or WiFi.


That seems to be very common for chips or modules that support BT or WiFi.

Yeah. Actually could be cool to access the radio even if just on a lower level - a bit like with the NRF24L01/+ (that are unfortunately abandoned and now looks like Nordic only has higher-level solutions?)
 

Offline Simon

  • Global Moderator
  • *****
  • Posts: 18901
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: Feedback on ESP32-C3?
« Reply #4 on: September 10, 2022, 05:07:14 pm »
My colleague found these and we will use them, well the S3 version not based on RISC-V. They seem to be aimed at being programmed higher level. They don't explain hardware in detail which annoyed me particularly with the ADC. Reading between the lines the reference voltage is 950mV and higher voltage ranges up to 3V are allowed by on chip voltage dividers however the possible error is not great at 0.95V input range (no "attenuation") and at 3V range is a whopping 50mV which just makes a mockery of the 12 bit. But you can't have everything, I doubt the silicon they are made of was meant for analogue and we will simply use an external ADC (another micro).
 

Offline SiliconWizardTopic starter

  • Super Contributor
  • ***
  • Posts: 17806
  • Country: fr
Re: Feedback on ESP32-C3?
« Reply #5 on: September 10, 2022, 06:53:39 pm »
That's all what I'm seeing. It's not well documented. You have to use the SDK and forget about the details. But it's very cheap for the specs. So that's what it is. Btw, this situation looks rather common for chinese MCUs in general.

Also, I downloaded the ESP-IDF SDK and uh. It's absolutely gigantic. Good lord. Takes 1.2 GB or so.
 

Offline tellurium

  • Frequent Contributor
  • **
  • Posts: 331
  • Country: ua
Re: Feedback on ESP32-C3?
« Reply #6 on: September 11, 2022, 09:47:19 pm »
The TRM for C3 (https://www.espressif.com/sites/default/files/documentation/esp32-c3_technical_reference_manual_en.pdf
) was underdeveloped in comparison with the TRM for original ESP32 (https://www.espressif.com/sites/default/files/documentation/esp32_technical_reference_manual_en.pdf). But they seem to improve the TRM over time, so things that are underdocumented now, could become documented.

Except the radio part. There were multiple attempts to reverse engineer radio registers, though no usable results are published. So apart of the radio, the rest of the peripherals are usabe. You might take a look at the rudimentary bare metal setup for C3 at https://github.com/cpq/mdk - it requires only make and RISCV GCC, nothing else.
« Last Edit: September 11, 2022, 09:49:49 pm by tellurium »
Open source embedded network library https://mongoose.ws
TCP/IP stack + TLS1.3 + HTTP/WebSocket/MQTT in a single file
 

Offline SiliconWizardTopic starter

  • Super Contributor
  • ***
  • Posts: 17806
  • Country: fr
Re: Feedback on ESP32-C3?
« Reply #7 on: September 11, 2022, 10:37:23 pm »
The TRM for C3 (https://www.espressif.com/sites/default/files/documentation/esp32-c3_technical_reference_manual_en.pdf
) was underdeveloped in comparison with the TRM for original ESP32 (https://www.espressif.com/sites/default/files/documentation/esp32_technical_reference_manual_en.pdf). But they seem to improve the TRM over time, so things that are underdocumented now, could become documented.

Yeah. Maybe. That's again a common issue with chinese MCUs. Those get released before any serious documentation is out there, so you're supposed to entirely rely on SDKs and too bad if you need detailed info. Sometimes even just how much current the thing draws in given conditions is not documented. Espressif it not the worth there for this. But yeah.

Except the radio part. There were multiple attempts to reverse engineer radio registers, though no usable results are published. So apart of the radio, the rest of the peripherals are usabe. You might take a look at the rudimentary bare metal setup for C3 at https://github.com/cpq/mdk - it requires only make and RISCV GCC, nothing else.

Yep, that's what I mentioned earlier.
Unfortunately, I think using ESP32 MCUs if you don't use the radio doesn't make sense. There's better and not overly expensive stuff out there for that. Just my opinion here though.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

-->