Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

ESP8266 Datasheet(PDF) 32 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) 32 Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD.

Back Button ESP8266 Datasheet HTML 28Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. ESP8266 Datasheet HTML 29Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. ESP8266 Datasheet HTML 30Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. ESP8266 Datasheet HTML 31Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. ESP8266 Datasheet HTML 32Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. ESP8266 Datasheet HTML 33Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. ESP8266 Datasheet HTML 34Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. ESP8266 Datasheet HTML 35Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. ESP8266 Datasheet HTML 36Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. Next Button
Zoom Inzoom in Zoom Outzoom out
 32 / 117 page
background image
!
4. SPI Communication User Guide
5. void spi_byte_write_espslave(uint8 spi_no,uint8 data)
Function:
Write a Byte data for slave SPI.
As the slave is set at 7bits command+1bit address+8bits data, data sending requires 16
bits transmission and the first byte is 0b0000010+0 refer to 3.3
, i.e. 0x04. The second
byte is data sending. The actual transmitting waveform is illustrated in Figure 4-1.
!
Figure 4-1. The waveform of spi_byte_write_espslave written into slave ESP8266
6. void spi_byte_read_espslave(uint8 spi_no,uint8 *data)
Function:
Read one byte data from slave SPI and read other SPI slave devices. As the slave device is
set at 7bits command+1bit address+8bits data, data sending requires 16 bits transmission
and the first byte is 0b0000011+0 (refer to
Section 4.3.3), i.e. 0x06. The second Byte is
data sending. The actual operating waveform is illustrated in Figure 4-2.
Parameter
Description
uint8 spi_no
The number of SPI module. Only input SPI(0) and
HSPI(1). Any other inputs are invalid.
uint8 data
8 bit data sending.
Parameter
Description
uint8 spi_no
The number of SPI module. Only input SPI(0) and
HSPI(1). Any other inputs are invalid.
uint8 data
8 bit data sending.
! Note:
Yellow line: CS, blue line: CLK, red line: MOSI, green line: MISO.
Espressif
! /!
24 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