background image

2

Get Started on ESP32-WROOM-DA

7. After download, remove the jumper on IO0 and GND.

8. Power up the RF testing board again. ESP32-WROOM-DA will switch to working mode. The chip will read

programs from flash upon initialization.

Note:

IO0 is internally logic high. If IO0 is set to pull-up, the Boot mode is selected. If this pin is pull-down or left floating,

the Download mode is selected. For more information on ESP32-WROOM-DA, please refer to ESP32-WROOM-DA

Datasheet.

2.3 Set up Development Environment

The Espressif IoT Development Framework (ESP-IDF for short) is a framework for developing applications based on

the Espressif ESP32. Users can develop applications with ESP32 in Windows/Linux/macOS based on ESP-IDF.

Here we take Linux operating system as an example.

2.3.1 Install Prerequisites

To compile with ESP-IDF you need to get the following packages:

• CentOS 7:

sudo yum install git wget flex bison gperf python cmake ninja-build ccache dfu-util

• Ubuntu and Debian (one command breaks into two lines):

sudo apt-get install git wget flex bison gperf python python-pip python-setuptools cmake

ninja-build ccache libffi-dev libssl-dev dfu-util

• Arch:

sudo pacman -S --needed gcc git make flex bison gperf python-pip cmake ninja ccache dfu-util

Note:

• This guide uses the directory

~

/esp on Linux as an installation folder for ESP-IDF.

• Keep in mind that ESP-IDF does not support spaces in paths.

2.3.2 Get ESP­IDF

To build applications for ESP32-WROOM-DA module, you need the software libraries provided by Espressif in

ESP-IDF repository

.

To get ESP-IDF, create an installation directory (

~

/esp) to download ESP-IDF to and clone the repository with ‘git

clone’:

mkdir -p ~/esp

cd ~/esp

git clone --recursive https://github.com/espressif/esp-idf.git

ESP-IDF will be downloaded into

~

/esp/esp-idf. Consult

ESP-IDF Versions

for information about which ESP-IDF

version to use in a given situation.

Espressif Systems

9

ESP32-WROOM-DA User Manual v0.5

Summary of Contents for ESP32-WROOM-DA

Page 1: ...al Stand Alone Module with Dual Antennas Containing Ultra Low Power SoC with DualCore CPU Supporting 2 4 GHz Wi Fi Bluetooth and Bluetooth LE ESP32 WROOM DA Pre release v0 5 Espressif Systems Copyrigh...

Page 2: ...rt download documents Revision History For revision history of this document please refer to the last page Documentation Change Notification Espressif provides email notifications to keep you updated...

Page 3: ...requisites 9 2 3 2 Get ESP IDF 9 2 3 3 Set up Tools 10 2 3 4 Set up Environment Variables 10 2 4 Create Your First Project 10 2 4 1 Start a Project 10 2 4 2 Connect Your Device 10 2 4 3 Configure 10 2...

Page 4: ...electronics etc Table 1 ESP32 WROOM DA Specifications Categories Items Specifications Wi Fi Protocols 802 11 b g n 802 11n up to 150 Mbps A MPDU and A MSDU aggregation and 0 4 s guard interval suppor...

Page 5: ...16 IO4 IO0 GND GND GND GND 43 GND GND GND GND GND 42 41 IO2 IO25 Top View A n t e n n a 1 A n t e n n a 2 Figure 1 Pin Layout Top View The module has 41 pins and two test points See pin definitions in...

Page 6: ...ATA3 SD_DATA3 EMAC_RX_ER NC 18 NC 19 NC 20 NC 21 NC 22 NC 23 IO15 24 I O GPIO15 ADC2_CH3 TOUCH3 MTDO HSPICS0 RTC_GPIO13 HS2_CMD SD_CMD EMAC_RXD3 NC 25 NC 26 IO0 27 I O GPIO0 ADC2_CH1 TOUCH1 RTC_GPIO11...

Page 7: ...GPIO25 on the ESP32 D0WD V3 chip are designed as test points to control RF Switch The two pins are not led out to the module To select the working antenna Antenna 1 or Antenna 2 configure GPIO2 and G...

Page 8: ...o ESP IDF Programming Guide 2 2 Hardware Connection 1 Solder the ESP32 WROOM DA module to the RF testing board as shown in Figure 2 Figure 2 Hardware Connection 2 Connect the RF testing board to the U...

Page 9: ...ntOS 7 sudo yum install git wget flex bison gperf python cmake ninja build ccache dfu util Ubuntu and Debian one command breaks into two lines sudo apt get install git wget flex bison gperf python pyt...

Page 10: ...project from examples directory in ESP IDF Copy get started hello_world to esp directory cd esp cp r IDF_PATH examples get started hello_world There is a range of example projects in the examples dir...

Page 11: ...he option style Please run idf py menuconfig help for further information 2 4 4 Build the Project Build the project by running idf py build This command will compile the application and all ESP IDF co...

Page 12: ...utomatically builds and flashes the project so running idf py build is not necessary Running esptool py in directory esp hello_world Executing python esp idf components esptool_py esptool esptool py b...

Page 13: ...T Help Ctrl T followed by Ctrl H ets Jun 8 2016 00 22 57 rst 0x1 POWERON_RESET boot 0x13 SPI_FAST_FLASH_BOOT ets Jun 8 2016 00 22 57 After startup and diagnostic logs scroll up you should see Hello w...

Page 14: ...dio TV technician for help Caution Any changes or modifications not expressly approved by the party responsible for compliance could void the user s authority to operate the equipment This equipment c...

Page 15: ...quired However the OEM integrator is still responsible for testing their end product for any additional compliance requirement with this module installed for example digital device emission PC periphe...

Page 16: ...GitHub http github com espressif ESP32 BBS Forum Engineer to Engineer E2E Community for Espressif products where you can post questions share knowledge explore ideas and help solve problems with fell...

Page 17: ...Revision History Revision History Date Version Release notes 2021 12 10 v0 5 For certification only Espressif Systems 17 ESP32 WROOM DA User Manual v0 5...

Page 18: ...OPOSAL SPECIFICATION OR SAMPLE All liability including liability for infringement of any proprietary rights relating to use of information in this document is disclaimed No licenses express or implied...

Reviews: