da6ed3171c5e82257478932d1322b483823b6ed1
Board-dat/NWI/NWI1086-dat/NWI1086-dat.md
| ... | ... | @@ -22,18 +22,7 @@ Price will automatically update in cart when the order quantity is changed. |
| 22 | 22 | |
| 23 | 23 | |
| 24 | 24 | |
| 25 | -- [[ESP-12S]] |
|
| 26 | 25 | |
| 27 | -- 信泰微 300 = 2370 = 7.9 |
|
| 28 | - |
|
| 29 | - |
|
| 30 | -## 发货 |
|
| 31 | - |
|
| 32 | -一盘 1200 个 3盘 3600 个 |
|
| 33 | - |
|
| 34 | -三箱需要纸箱 40 x 40 x 30 cm |
|
| 35 | - |
|
| 36 | -- [[纸箱]] |
|
| 37 | 26 | |
| 38 | 27 | ## ref |
| 39 | 28 |
Board-dat/STH/STH1040-dat/STH1040-dat.md
| ... | ... | @@ -53,4 +53,6 @@ For customized version please contact [email protected], MOQ for this one i |
| 53 | 53 | |
| 54 | 54 | ## ref |
| 55 | 55 | |
| 56 | +- [[DS18B20-dat]] |
|
| 57 | + |
|
| 56 | 58 | - [[STH1040]] |
| ... | ... | \ No newline at end of file |
Chip-cn-dat/Espressif-dat/ESP32-dat/ESP32-HDK-dat/ESP32-HDK-dat.md
| ... | ... | @@ -33,15 +33,29 @@ GPIO34–39: input-only (not usable as output like SCL) |
| 33 | 33 | |
| 34 | 34 | - [[ESP32-DAC-dat]] - [[ESP32-I2C-dat]] - [[esp32-serial-dat]] - [[esp32-gpios-dat]] - [[esp32-usb-dat]] - [[ESP32-SPI-dat]] - [[ESP32-I2S-dat]] - [[sd-dat]] |
| 35 | 35 | |
| 36 | +## RAM |
|
| 36 | 37 | |
| 38 | +### ESP32 DRAM Configuration |
|
| 37 | 39 | |
| 38 | -ref |
|
| 40 | +ESP32 has **520 KB SRAM** split into multiple regions: |
|
| 39 | 41 | |
| 40 | -- https://electropeak.com/learn/full-guide-to-esp32-pinout-reference-what-gpio-pins-should-we-use/ |
|
| 41 | -- https://randomnerdtutorials.com/esp32-pinout-reference-gpios/ |
|
| 42 | +- **DRAM0**: 192 KB - Main data RAM for variables and heap |
|
| 43 | +- **DRAM1**: 128 KB - Instruction RAM cache (can be used as data RAM) |
|
| 44 | +- **DRAM2**: 200 KB - Used by WiFi/Bluetooth stack and DMA buffers |
|
| 45 | + |
|
| 46 | +**Key Points:** |
|
| 47 | +- **Internal DRAM**: Fast access, used for critical data and stack |
|
| 48 | +- **External PSRAM**: Optional 4-8MB external RAM (via SPI) |
|
| 49 | +- **DMA Capable**: Some regions support DMA operations |
|
| 50 | +- **Shared Memory**: WiFi/BT libraries consume significant DRAM |
|
| 42 | 51 | |
| 52 | +**Memory Management:** |
|
| 53 | +- Heap allocation uses internal DRAM first |
|
| 54 | +- Large buffers should use PSRAM when available |
|
| 55 | +- Use `esp_get_free_heap_size()` to monitor usage |
|
| 43 | 56 | |
| 44 | 57 | |
| 58 | +- [[memory-dat]] |
|
| 45 | 59 | |
| 46 | 60 | ## Module Compare |
| 47 | 61 | |
| ... | ... | @@ -90,4 +104,13 @@ ref |
| 90 | 104 | |
| 91 | 105 | - [[ESP32-HDK]] |
| 92 | 106 | |
| 93 | -EMAC = Ethernet |
|
| ... | ... | \ No newline at end of file |
| 0 | +EMAC = Ethernet |
|
| 1 | + |
|
| 2 | + |
|
| 3 | +ref |
|
| 4 | + |
|
| 5 | +- https://electropeak.com/learn/full-guide-to-esp32-pinout-reference-what-gpio-pins-should-we-use/ |
|
| 6 | +- https://randomnerdtutorials.com/esp32-pinout-reference-gpios/ |
|
| 7 | + |
|
| 8 | + |
|
| 9 | + |
Chip-cn-dat/Espressif-dat/ESP32-dat/ESP32-dat.md
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | |
| 5 | 5 | ## software |
| 6 | 6 | |
| 7 | -- [[ESP-SDK-dat]] - [[ESP32-SDK-dat]] - [[ESP8266-SDK-dat]] - [[arduino-ESP32-dat]] |
|
| 7 | +- [[ESP-SDK-dat]] - [[ESP32-SDK-dat]] - [[ESP8266-SDK-dat]] |
|
| 8 | 8 | |
| 9 | 9 | - [[ESP32-FAQ]] |
| 10 | 10 | |
| ... | ... | @@ -117,9 +117,6 @@ DEV Baords |
| 117 | 117 | |
| 118 | 118 | |
| 119 | 119 | |
| 120 | -## coding |
|
| 121 | - |
|
| 122 | -- [[micropython-dat]] - [[arduino-ide-dat]] - [[c-dat]] |
|
| 123 | 120 | |
| 124 | 121 | ## ref |
| 125 | 122 |
Chip-dat/dallas-dat/07-31-13-05-07-2023.png
| ... | ... | Binary files /dev/null and b/Chip-dat/dallas-dat/07-31-13-05-07-2023.png differ |
Chip-dat/dallas-dat/DS18B20-dat/DS18B20-dat.md
| ... | ... | @@ -0,0 +1,3 @@ |
| 1 | + |
|
| 2 | + |
|
| 3 | +# DS18B20-dat |
|
| ... | ... | \ No newline at end of file |
Chip-dat/dallas-dat/dallas-dat.md
| ... | ... | @@ -0,0 +1,6 @@ |
| 1 | + |
|
| 2 | +# dallas-dat |
|
| 3 | + |
|
| 4 | +- [[DS18B20-dat]] |
|
| 5 | + |
|
| 6 | +- [[DS1302-dat]] - [[DS1307-dat]] - [[DS3231-dat]] - [[DS3232-dat]] |
|
| ... | ... | \ No newline at end of file |
Chip-dat/dallas-dat/ds1302-dat.md
| ... | ... | @@ -0,0 +1,15 @@ |
| 1 | + |
|
| 2 | +# ds1302 dat |
|
| 3 | + |
|
| 4 | +## Features: |
|
| 5 | +- Real-time clock can calculate the year 2100 second, minute, hour, day, week, month, year capacity, as well as the ability to leap year adjustment |
|
| 6 | +- 31 * 8 temporary data storage RAM |
|
| 7 | +- Serial I / O port such a way that the minimum number of pins |
|
| 8 | +- Wide operating voltage range 2.0 5.5 |
|
| 9 | +- 2.0V operating current of less than 300nA |
|
| 10 | +- Read / write clock or RAM data transmission and multi-byte transfer of single-byte characters burst mode of transmission in two ways |
|
| 11 | +- 8-pin DIP or optional 8-pin SOIC package surface mount |
|
| 12 | +- Simple 3-wire interface |
|
| 13 | +- Vcc = 5V TTL-compatible |
|
| 14 | +- Optional industrial temperature range -40 85 |
|
| 15 | +- Dual-supply pipe for the main power supply and backup power supply |
|
| ... | ... | \ No newline at end of file |
Chip-dat/dallas-dat/ds1307-dat.md
| ... | ... | @@ -0,0 +1,19 @@ |
| 1 | + |
|
| 2 | +# ds1307 dat |
|
| 3 | + |
|
| 4 | + |
|
| 5 | + |
|
| 6 | + |
|
| 7 | + |
|
| 8 | + |
|
| 9 | + |
|
| 10 | + |
|
| 11 | +## ref |
|
| 12 | + |
|
| 13 | +- [[RPI-dat]] |
|
| 14 | + |
|
| 15 | +ref demo code |
|
| 16 | +- https://microdigisoft.com/interfacing-rtc-ds1307-module-with-raspberry-pi-using-python/ |
|
| 17 | +- https://pypi.org/project/adafruit-circuitpython-ds1307/ |
|
| 18 | + |
|
| 19 | + |
Chip-dat/dallas/07-31-13-05-07-2023.png
| ... | ... | Binary files a/Chip-dat/dallas/07-31-13-05-07-2023.png and /dev/null differ |
Chip-dat/dallas/ds1302-dat.md
| ... | ... | @@ -1,15 +0,0 @@ |
| 1 | - |
|
| 2 | -# ds1302 dat |
|
| 3 | - |
|
| 4 | -## Features: |
|
| 5 | -- Real-time clock can calculate the year 2100 second, minute, hour, day, week, month, year capacity, as well as the ability to leap year adjustment |
|
| 6 | -- 31 * 8 temporary data storage RAM |
|
| 7 | -- Serial I / O port such a way that the minimum number of pins |
|
| 8 | -- Wide operating voltage range 2.0 5.5 |
|
| 9 | -- 2.0V operating current of less than 300nA |
|
| 10 | -- Read / write clock or RAM data transmission and multi-byte transfer of single-byte characters burst mode of transmission in two ways |
|
| 11 | -- 8-pin DIP or optional 8-pin SOIC package surface mount |
|
| 12 | -- Simple 3-wire interface |
|
| 13 | -- Vcc = 5V TTL-compatible |
|
| 14 | -- Optional industrial temperature range -40 85 |
|
| 15 | -- Dual-supply pipe for the main power supply and backup power supply |
|
| ... | ... | \ No newline at end of file |
Chip-dat/dallas/ds1307-dat.md
| ... | ... | @@ -1,19 +0,0 @@ |
| 1 | - |
|
| 2 | -# ds1307 dat |
|
| 3 | - |
|
| 4 | - |
|
| 5 | - |
|
| 6 | - |
|
| 7 | - |
|
| 8 | - |
|
| 9 | - |
|
| 10 | - |
|
| 11 | -## ref |
|
| 12 | - |
|
| 13 | -- [[RPI-dat]] |
|
| 14 | - |
|
| 15 | -ref demo code |
|
| 16 | -- https://microdigisoft.com/interfacing-rtc-ds1307-module-with-raspberry-pi-using-python/ |
|
| 17 | -- https://pypi.org/project/adafruit-circuitpython-ds1307/ |
|
| 18 | - |
|
| 19 | - |
SDK-dat/ESP-SDK-dat/ESP-SDK-dat.md
| ... | ... | @@ -24,7 +24,9 @@ |
| 24 | 24 | |
| 25 | 25 | - [[DMA-dat]] |
| 26 | 26 | |
| 27 | -- [[memory-dat]] |
|
| 27 | +- [[memory-dat]] - [[DRAM-dat]] |
|
| 28 | + |
|
| 29 | +- [[stack-trace-decoder-dat]] |
|
| 28 | 30 | |
| 29 | 31 | ## Official SDK |
| 30 | 32 |
SDK-dat/ESP-SDK-dat/ESP32-SDK-dat/ESP32-SDK-dat.md
| ... | ... | @@ -8,6 +8,11 @@ |
| 8 | 8 | - [[esp32-compiler-error-dat]] |
| 9 | 9 | |
| 10 | 10 | |
| 11 | +## coding |
|
| 12 | + |
|
| 13 | +- [[micropython-dat]] - [[c-dat]] |
|
| 14 | + |
|
| 15 | +- [[arduino-ide-dat]] - [[arduino-ESP32-dat]] |
|
| 11 | 16 | |
| 12 | 17 | ## other reference |
| 13 | 18 |
SDK-dat/ESP-SDK-dat/ESP32-compiler-error-dat/ESP32-compiler-error-dat.md
| ... | ... | @@ -4,8 +4,26 @@ |
| 4 | 4 | |
| 5 | 5 | ## common errors |
| 6 | 6 | |
| 7 | + |
|
| 7 | 8 | better store file in [[sd-dat]] - [[memory-dat]] |
| 8 | 9 | |
| 10 | +This error E (1183) intr_alloc: No free interrupt inputs indicates a hardware interrupt conflict between the I2S audio driver and the camera driver on your ESP32. Both peripherals are competing for the same system resources. |
|
| 11 | + |
|
| 12 | +To resolve this, you need to modify the interrupt allocation flags when initializing the I2S driver. This ensures it doesn't conflict with the interrupt required by the camera. |
|
| 13 | + |
|
| 14 | +Locate the i2s_config_t structure in your setup() function. |
|
| 15 | +Change the value of .intr_alloc_flags from 0 to ESP_INTR_FLAG_LEVEL1. |
|
| 16 | + |
|
| 17 | + |
|
| 18 | + E (1183) intr_alloc: No free interrupt inputs for I2S0 interrupt (flags 0x40E) |
|
| 19 | + E (1183) cam_hal: cam_config(407): cam intr alloc failed |
|
| 20 | + E (1184) camera: Camera config failed with error 0xffffffff |
|
| 21 | + Camera init failed with error 0xffffffff |
|
| 22 | + |
|
| 23 | + |
|
| 24 | + |
|
| 25 | + |
|
| 26 | + |
|
| 9 | 27 | ## watchdog |
| 10 | 28 | |
| 11 | 29 | rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) |
SDK-dat/ESP-SDK-dat/esp-idf-dat/esp-idf-dat.md
| ... | ... | @@ -2,6 +2,8 @@ |
| 2 | 2 | |
| 3 | 3 | # ESP IDF |
| 4 | 4 | |
| 5 | +- [[esp-idf-vscode-dat]] |
|
| 6 | + |
|
| 5 | 7 | * [esp-idf github](https://github.com/espressif/esp-idf) |
| 6 | 8 | |
| 7 | 9 | - https://docs.espressif.com/projects/esp-idf/en/latest/esp32c2/index.html |
SDK-dat/ESP-SDK-dat/esp-idf-dat/esp-idf-vscode-dat/2025-07-29-17-50-56.png
| ... | ... | Binary files /dev/null and b/SDK-dat/ESP-SDK-dat/esp-idf-dat/esp-idf-vscode-dat/2025-07-29-17-50-56.png differ |
SDK-dat/ESP-SDK-dat/esp-idf-dat/esp-idf-vscode-dat/esp-idf-vscode-dat.md
| ... | ... | @@ -2,6 +2,11 @@ |
| 2 | 2 | |
| 3 | 3 | # esp-idf-vscode-dat |
| 4 | 4 | |
| 5 | +e:\work-data\IDF |
|
| 6 | +e:\work-data\IDF_tools |
|
| 7 | + |
|
| 8 | + |
|
| 9 | + |
|
| 5 | 10 | ### vs-code extension |
| 6 | 11 | |
| 7 | 12 |
SDK-dat/ESP-SDK-dat/stack-trace-decoder-dat/stack-trace-decoder-dat.md
| ... | ... | @@ -0,0 +1,27 @@ |
| 1 | + |
|
| 2 | +# stack-trace-decoder-dat |
|
| 3 | + |
|
| 4 | +https://github.com/me-no-dev/EspExceptionDecoder |
|
| 5 | + |
|
| 6 | +Unpack the tool into tools directory (the path will look like <home_dir>/Arduino/tools/EspExceptionDecoder/tool/EspExceptionDecoder.jar). |
|
| 7 | + |
|
| 8 | + |
|
| 9 | + Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled. |
|
| 10 | + |
|
| 11 | + Core 1 register dump: |
|
| 12 | + PC : 0x400ec72f PS : 0x00060530 A0 : 0x800d3ba1 A1 : 0x3ffb2160 |
|
| 13 | + A2 : 0x00000000 A3 : 0x3ffb21a4 A4 : 0x00000000 A5 : 0x3ffc5c04 |
|
| 14 | + A6 : 0x00000002 A7 : 0x00000000 A8 : 0x3ffc5c04 A9 : 0x3ffb2150 |
|
| 15 | + A10 : 0x03fc3bff A11 : 0x00000000 A12 : 0x00000000 A13 : 0x3ffb922c |
|
| 16 | + A14 : 0x000000a8 A15 : 0x3ffc4d38 SAR : 0x0000000e EXCCAUSE: 0x0000001c |
|
| 17 | + EXCVADDR: 0x0000003c LBEG : 0x4008a845 LEND : 0x4008a855 LCOUNT : 0xffffffff |
|
| 18 | + |
|
| 19 | + |
|
| 20 | + Backtrace: 0x400ec72c:0x3ffb2160 0x400d3b9e:0x3ffb2190 0x400dea07:0x3ffb2270 0x4008d956:0x3ffb2290 |
|
| 21 | + |
|
| 22 | + |
|
| 23 | + |
|
| 24 | +PC: 0x400ec72f |
|
| 25 | +EXCVADDR: 0x0000003c |
|
| 26 | + |
|
| 27 | +Decoding stack results |
Tech-dat/memory-dat/memory-dat.md
| ... | ... | @@ -5,8 +5,50 @@ |
| 5 | 5 | |
| 6 | 6 | - [[SDIO-dat]] |
| 7 | 7 | |
| 8 | +## DRAM |
|
| 8 | 9 | |
| 10 | +- [[ESP32-HDK-dat]] |
|
| 9 | 11 | |
| 12 | +**Dynamic Random Access Memory (DRAM)** is a type of volatile memory that stores data in capacitors within integrated circuits. |
|
| 13 | + |
|
| 14 | +### Key Characteristics: |
|
| 15 | + |
|
| 16 | +- **Dynamic**: Requires periodic refreshing (every few milliseconds) because capacitors leak charge over time |
|
| 17 | +- **Volatile**: Data is lost when power is removed |
|
| 18 | +- **Random Access**: Any memory location can be accessed directly in any order |
|
| 19 | +- **High Density**: Can store more data per chip compared to SRAM |
|
| 20 | +- **Lower Cost**: Cheaper per bit than SRAM due to simpler cell structure |
|
| 21 | + |
|
| 22 | +### How DRAM Works: |
|
| 23 | + |
|
| 24 | +1. **Storage Cell**: Each bit is stored as charge in a tiny capacitor |
|
| 25 | +2. **Transistor Switch**: Controls access to the capacitor |
|
| 26 | +3. **Refresh Cycle**: Memory controller periodically reads and rewrites data to maintain charge |
|
| 27 | +4. **Row/Column Addressing**: Uses multiplexed addressing to reduce pin count |
|
| 28 | + |
|
| 29 | +### Types of DRAM: |
|
| 30 | + |
|
| 31 | +- **SDRAM**: Synchronous DRAM - synchronized with system clock |
|
| 32 | +- **DDR SDRAM**: Double Data Rate - transfers data on both clock edges |
|
| 33 | +- **DDR2/DDR3/DDR4/DDR5**: Successive generations with higher speeds and lower power |
|
| 34 | +- **LPDDR**: Low Power DDR for mobile devices |
|
| 35 | +- **GDDR**: Graphics DDR for video cards |
|
| 36 | + |
|
| 37 | +### Common Applications: |
|
| 38 | + |
|
| 39 | +- System RAM in computers and smartphones |
|
| 40 | +- Frame buffers in graphics cards |
|
| 41 | +- Buffer memory in networking equipment |
|
| 42 | +- Temporary storage in embedded systems |
|
| 43 | + |
|
| 44 | +### DRAM vs Other Memory Types: |
|
| 45 | + |
|
| 46 | +| Type | Speed | Cost | Density | Volatility | Refresh | |
|
| 47 | +| ------ | -------- | ------ | ------- | ------------ | ------------ | |
|
| 48 | +| DRAM | Medium | Low | High | Volatile | Required | |
|
| 49 | +| SRAM | High | High | Low | Volatile | Not Required | |
|
| 50 | +| Flash | Low | Medium | High | Non-volatile | Not Required | |
|
| 51 | +| EEPROM | Very Low | High | Low | Non-volatile | Not Required | |
|
| 10 | 52 | |
| 11 | 53 | |
| 12 | 54 | ## use a tools instead of fat fingers |