| Electronic Components Datasheet Search |
|
ESP8266 Datasheet(PDF) 32 Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. |
|
|
|||||||||||||||||||||||||||||
ESP8266 Datasheet(HTML) 32 Page - ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD. |
|
32 / 117 page ![]() ! 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 |
|
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 |
| 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 |