Board Support Package For NodeMCU-ESP32S Boards
Introduction
This board support package (BSP) supports NodeMCU-ESP32S boards. ESP32S boards with 30, 36 and 38 Pins are supported. The BSP is based on ESP32 Xtensa libraries and tool chain. It supports both single core and dual cores available on the board.
Getting Started
§ Install Silicon Labs CP210x USB drivers for host PC. These drivers are available on manufacturer web site
§ Create model and build to generate required binary.
§ Refer below for programming and debugging support.
Board Configuration
· General Configuration
Configuration Parameter |
Parameter Value |
Board Title |
ESP32 NodeMCU |
Tool Chain Type |
Local Build |
Board Preprocessor Symbol |
_BUILD_BRD_ESP32_NODEMCU |
Platform Preprocessor Symbol |
_BUILD_PLT_ESP32 |
Compiler Preprocessor Symbol |
_BUILD_CMP_XTENSA_GCC |
C++11 Standard Support |
No |
File System Support |
No |
OpenMP/OpenCL/CUDA Support |
No/No/No |
Simulation Panel Support |
No |
· Hardware Configuration
Configuration Parameter |
Parameter Values |
Number of CPU cores |
ESP32 NodeMCU |
Dynamic Memory Support |
Yes |
Prefer Fixed/Floating Point |
Floating Point |
DI/DO Pins |
0 (A11)[0], 1 (TX)[1], 2 (A12) (LED)[2], 3 (RX)[3], 4 (A10)[4], 5[5], 6[6], 7[7], 8[8], 9 (RX1)[9], 10 (TX1)[10], 11[11], 12 (A15)[12], 13 (A14)[13], 14 (A16)[14], 15 (A13)[15], 16 (RX2)[16], 17 (TX2)[17], 18[18], 19[19], 20[20], 21[21], 22[22], 23[23], 24[24], 25 (A18) (DAC1)[25], 26 (A19) (DAC2)[26], 27 (A17)[27], 28[28], 29[29], 30[30], 31[31], 32 (A4)[32], 33 (A5)[33], 34 (A6) (ONLY DI)[34], 35 (A7) (ONLY DI)[35], 36 (A0) (ONLY DI)[36], 37 (ONLY DI)[37], 38 (ONLY DI)[38], 39 (A3) (ONLY DI)[39] |
ADC Default Resolution |
12 |
ADC Pins |
36 (A0)[36], 39 (A3)[39], 32 (A4)[32], 33 (A5)[33], 34 (A6)[34], 35 (A7)[35], 4 (A10)[4], 0 (A11)[0], 2 (A12) (LED)[2], 15 (A13)[15], 13 (A14)[13], 12 (A15)[12], 14 (A16)[14], 27 (A17)[27], 25 (A18) (DAC1)[25], 26 (A19) (DAC2)[26] |
PWM Default Resolution |
12 |
PWM Pins |
0 (A11)[0], 1 (TX)[1], 2 (A12) (LED)[2], 3 (RX)[3], 4 (A10)[4], 5[5], 6[6], 7[7], 8[8], 9 (RX1)[9], 10 (TX1)[10], 11[11], 12 (A15)[12], 13 (A14)[13], 14 (A16)[14], 15 (A13)[15], 16[16], 17[17], 18[18], 19[19], 20[20], 21[21], 22[22], 23[23], 24[24], 25 (A18) (DAC1)[25], 26 (A19) (DAC2)[26], 27 (A17)[27], 28[28], 29[29], 30[30], 31[31], 32 (A4)[32], 33 (A5)[33] |
DAC Default Resolution |
10 |
DAC Pins |
25 (A18) (DAC1)[25], 26 (A19) (DAC2)[26] |
UART0 Pins |
via USB programmer port |
UART1 Pins |
3(TX), 1(RX) |
UART2 Pins |
10(TX1), 9(RX1) |
UART3 Pins |
17(TX2), 16(RX2) |
SPI Pins |
13(MOSI), 12(MISO), 14(CLK), 15(SS) |
I2C Pins |
21(SDA), 22(SCL) |
Onboard WiFi |
Implemented through TargetHw_Wifi101 block |
Programmer
CASP supports Programmer0 (using esptool.exe) for uploading generated binary file to the board.
Debugging
Debugging is supported over USB serial.
Known Issues & Limitations
-
Related Documents
Please go through this link for configuring ESP32 CAM for using it as a WiFi camera.