当前位置:网站首页>Hezhou esp32c3 hardware configuration information serial port printout
Hezhou esp32c3 hardware configuration information serial port printout
2022-07-23 21:12:00 【perseverance52】
Hezhou ESP32C3 Hardware configuration information serial port printout
ESP32C3 Hardware introduction
ESP32-C3 carrying RISC-V 32 position
Single coreprocessor , The clock frequency is as high as160MHz. have22Programmable GPIO Pin 、 built-in400KB SRAM, Integrate 2.4 GHz Wi-Fi And support long-distance Bluetooth 5 (LE), Support bluetooth Mesh (Bluetooth Mesh) Agreement and Lexin Wi-Fi Mesh.
- ESP32C3 Documentation
- https://www.espressif.com.cn/sites/default/files/documentation/esp32-c3_datasheet_cn.pdf
- Tested , adopt
Arduino IDECompile the uploaded code and print it externally spi flash Capacity , And by VSCode PIO Compile the uploaded code, and you can't find the relevant flash Capacity information .
The sample program
/* Blink This example code is in the public domain. https://www.arduino.cc/en/Tutorial/BuiltInExamples/Blink */
void setup() {
Serial.begin(115200);
// initialize digital pin LED_BUILTIN as an output.
pinMode(12, OUTPUT);
pinMode(13, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(12, HIGH); // turn the LED on (HIGH is the voltage level)
digitalWrite(13, LOW); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(12, LOW); // turn the LED off by making the voltage LOW
digitalWrite(13, HIGH);
delay(1000);
Serial.printf("getHeapSize= %d \n",ESP.getHeapSize());
delay(10);
Serial.printf("getFreeHeap= %d \n",ESP.getFreeHeap());
delay(10);
Serial.printf("getChipRevision= %d \n",ESP.getChipRevision()); // 3
delay(10);
Serial.printf("getChipRevision= %s \n",ESP.getChipModel()); //ESP32-C3
delay(10);
Serial.printf("getChipCores= %d Core\n",ESP.getChipCores()); // 1
delay(10);
Serial.printf("getCpuFreqMHz= %d MHz\n",ESP.getCpuFreqMHz()); //160
delay(10);
// Serial.printf("getSdkVersion= %s \n",ESP.getSdkVersion());
// Serial.printf("getFlashChipSize= %s \n",ESP.getFlashChipSize());
// Serial.printf("getFlashChipSpeed= %s \n",ESP.getFlashChipSpeed());
Serial.printf("getSketchSize= %d bytes\n",ESP.getSketchSize()); //250128
delay(10);
Serial.printf("getFreeSketchSpace= %d bytes\n",ESP.getFreeSketchSpace()); //13631488 bytes
delay(10);
Serial.printf("getSketchMD5= %s \n",ESP.getSketchMD5().c_str());//acaaaa867e2263c1f83c0daef8474855
delay(10);
uint32_t flash_Size = ESP.getFlashChipSize();
Serial.printf("getFlashChipSize= %d \n",flash_Size); //16777216
delay(10);
Serial.printf("getFlashChipSpeed= %d \n",ESP.getFlashChipSpeed()); //80000000
delay(10);
FlashMode_t flash_Mode = ESP.getFlashChipMode();
Serial.printf("Flash mode: %s\n", (flash_Mode == FM_QIO ? "QIO" : flash_Mode == FM_QOUT ? "QOUT" : flash_Mode == FM_DIO ? "DIO" : flash_Mode == FM_DOUT ? "DOUT" : "UNKNOWN"));
delay(1000);
}
- be based on VSCode PIO Compile the same code
Program code compilation only takes 1.7% Conform to the configuration of user-defined partition table . But in
VSCode PIOThere is a problem with compiling the uploaded code , That is, the function cannot read the external SPI flash Capacity .


- be based on
Arduino IDECompiled serial port print information
- be based on
VSCode PIOCompile the uploaded code , Then the serial port prints information
- be based on

边栏推荐
- High numbers | calculation of triple integral 1 | high numbers | handwritten notes
- Green-Tao 定理的证明 (2): Von Neumann 定理的推广
- [shader realizes roundwave circular ripple effect _shader effect Chapter 6]
- Protocol buffers 的问题和滥用
- Proof of green Tao theorem (2): generalization of von Neumann theorem
- Edge cloud | 1. overview
- HDU - 2586 How far away ? (multiply LCA)
- Chapter1 data cleaning
- Major optimization of openim - Message loading on demand, consistent cache, uniapp Publishing
- From which dimensions can we judge the quality of code? How to have the ability to write high-quality code?
猜你喜欢

【着色器实现RoundWave圆形波纹效果_Shader效果第六篇】

Protocol buffers 的问题和滥用

LeetCode_376_摆动序列

OpenCV图像处理——拉普拉斯金字塔

Junior intern, ByteDance, after sharing, has been offered

221. Largest square ● &1277. Square submatrix with statistics all 1 ● ●

Car rental vehicle management system based on jsp+ssm+mysql car rental

LeetCode热题 HOT52-100

Oom mechanism

Himawari-8 data introduction and download method
随机推荐
Green-Tao 定理的证明 (1): 准备, 记号和 Gowers 范数
初识js(适合新手的编程)
SQLite database
Green Tao theorem (3): anti uniform functions and their generated sigma Algebras
Connect with Hunan Ca and use U_ Key login
(note) learning rate setting of optimizer Adam
Install under win7-vs2012 Net framework work
TCP half connection queue and full connection queue (the most complete in History)
第3章业务功能开发(创建线索)
scala編程(初級)
LU_ Asr01 voice module usage
Stm32c8t6 driving lidar actual combat (II)
视觉slam学习|基础篇01
Trial record of ModelBox end cloud collaborative AI development kit (rk3568) (II)
【持续更新】树莓派启动与故障系列集锦
告诉我十大证券公司?请问网上开户安全么?
1309_STM32F103上增加GPIO的翻转并用FreeRTOS调度测试
First acquaintance with JS (programming suitable for beginners)
深入浅出边缘云 | 1. 概述
1062 Talent and Virtue