Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

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

Back Button 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. ESP8266 Datasheet HTML 37Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. Next Button
Zoom Inzoom in Zoom Outzoom out
 33 / 117 page
background image
!
4. SPI Communication User Guide
For other full duplex slave devices, 16 bits slave communication should be set. The
effective data should be put to the second byte of slave sending caching which will be
received by master ESP8266.
!
Figure 4-2. The slave waveform of spi_byte_read_espslave read from ESP8266
4.4.2. Master SPI API Function Description
1. void spi_slave_init(uint8 spi_no)
Function:
Initialization of slave SPI mode. Configure IO interface to SPI mode, enable SPI
transmission interruption and register the function spi_slave_isr_handler.
Communication format is set at 7bits command +1bit address+8bits read/write data.
Command and address combines to be high 8 bits and the address must be 0. According
to descriptions in 3.3, it supports the three master commands, i.e. 0x04 master write and
slave read, 0x06master write and slave read, 0x0c master and slave read/write. The
communication waveform is illustrated in Figure 4-1, 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 memory address data receiving.
! Note:
Yellow line: CS, blue line: CLK, red line: MOSI, green line: MISO.
Parameter
Description
spi_no
The number of SPI module. ESP8266 processor has two SPI
modules with the same function, i.e. SPI and HSPI.
Optional values: SPI or HSPI.
Espressif
! /!
25 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