Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

ESP8266 Datasheet(PDF) 97 Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD.

Part # ESP8266
Description  General Purpose Input/Output Interface (GPIO)
PDF  117 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ESPRESSIF [ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD.]
Direct Link  https://www.espressif.com/
Logo ESPRESSIF - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD.

ESP8266 Datasheet(HTML) 97 Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD.

Back Button ESP8266 Datasheet HTML 93Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. ESP8266 Datasheet HTML 94Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. ESP8266 Datasheet HTML 95Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. ESP8266 Datasheet HTML 96Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. ESP8266 Datasheet HTML 97Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. ESP8266 Datasheet HTML 98Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. ESP8266 Datasheet HTML 99Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. ESP8266 Datasheet HTML 100Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. ESP8266 Datasheet HTML 101Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. Next Button
Zoom Inzoom in Zoom Outzoom out
 97 / 117 page
background image
!
12. PWM Interface
12.
PWM Interface
12.1. Functional Overview
12.1.1. Features
PWM (Pulse Width Modulation) can be implemented on Frame Rate Control 1 (FRC1) via
software programming, achieving multi-channelled PWM with the same frequency but
different duty ratio. It can be used to control devices such as color lights, buzzer, and
electric machines, etc.
Features of PWM are listed below:
• Apply NMI (Non Maskable Interrupt) to interrupt, more precise.
• Can be extended to 8 channels of PWM signal.
• Resolution ratio higher than 14 bit, the minimum resolution can reach 45 ns.
• Configuration can be completed by call interface functions, without set the register.
12.1.2. Implementation
An optimized software algorithm provided by ESP8266 system enable the transmission of
multi-channel PWM signals via GPIO (General Purpose Input Output) interface by way of
mounting NMI on FRC1 timer.
The clock of PWM is provided by high-speed system clock, the frequency speed of which
can reach as high as 80MHz. Through pre-frequency divider, the clock source can be
divided into 16 separated frequencies, the input clock frequency of which is 5MHz. PWM
can issue coarse tuning timing via FRC1, which combined with fine tuning issued by the
high-speed system clock, can improve the resolution to as much as 45 ns.
! Note:
FRC1 is a 23-bit hardware timer.
⚠ Notice:
•
PWM can not be used when APIs in hw_timer.c are in use, because they all use the same hardware
timer.
•
Do not set the system to be Light Sleep mode (Do not call
wifi_set_sleep_type(LIGT_SLEEP);, because that Light Sleep will stop the CPU, it can not
be interrupted by NMI during light sleep.
•
To enter Deep Sleep mode, PWM needs to be stopped first.
! Note:
The highest priority level of interrupt owned by NMI ensures the precision of PWM output waveform.
Espressif
! /!
89 104
2017.05



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com