Digilent Pmod ESP32 Manual de referência - Página 7
Procurar online ou descarregar pdf Manual de referência para Unidade de controlo Digilent Pmod ESP32. Digilent Pmod ESP32 8 páginas.
The user wishes to use components on the ESP32 such as PWM, ADC, DMA,
I2C, DAC, etc
The SDK provided by Espressif contains all the functionality of the AT command set in
slave mode, but with much more control of timing and operation, and with additional
control of peripherals that are not accessible in slave mode.
In order to write custom applications for the Pmod, a couple of tools are needed:
The Xtensa Toolchain
The Espressif ESP-IDF
Python
A USB-UART bridge device such as the Pmod USB UART
To get started with setting up the tools for building projects for the Pmod ESP32,
please reference the guide given by Espressif.
When connecting to the Pmod to flash a custom application to it, utilize the UART port
on top of the Pmod (J2), rather than the UART port broken out on the top row of pins.
Additionally, when flashing to the device, ensure that the device has been reset with
SW1.2 in the "on" position.
Quick Start
Prerequisites
A Pmod ESP32 with the out-of-box AT firmware
A serial terminal program such as minicom, screen, CoolTerm, or Putty
A UART controller for interfacing with the Pmod. This UART controller can be anything
like a Digilent FPGA board with a UART controller instantiated in the FPGA, or a
Raspberry Pi or BeagleBone Black.
The UART Controller TX line connected to pin 2
The UART Controller RX line connected to pin 3
A shared GND connection between the Pmod and your UART controller
3.3v Power connected to the Pmod
Step By Step
1. Make the hardware connections described above
2. Apply power to the Pmod ESP32
3. Note the port that the Pmod is connected to.
1. For Linux, this will be /dev/ttyUSB* or /dev/ttyS*
2. For MacOS, this will be /dev/tty.usbserial-***.
3. For Windows, this will be COM*