Interfacing Arduino Uno with ESP12E wifi module through SPI

Hi everyone,

  1. Presently am working with Arduino Uno to "ESP12E wifi" module and am

trying to interface

  1. Arduino Uno board to ESP12E module through HSPI, Why am using HSPI instead of SPI means

3)Here is the below for ESP12E module image

https://cloud.githubusercontent.com/assets/7262813/12355119/cefec386-bb9a-11e5-8c15-2c39c040a45c.png

4)Below connections (HSPI signals) am using to connect with Arduino Uno:-

ESP12e GPIO 14 = Clock
ESP12e GPIO 12 = MISO
ESP12e GPIO 13 = MOSI
ESP12e GPIO 15 = CS

  1. Below are SPI specifications
    CLK DIV=32
    CLK PHA=First
    CLK MODE=Mode0
    First Bit=MSB

  2. Here Arduino Uno is act as master and ESP12E is slave

  3. After all these things am trying to send "AT"(Attenuation command) command to ESP12E

  4. From master side CLK, CS and MOSI were checked by Oscilloscope, those are looking fine.

Issue:--

  1. If I send any command like "AT" , "AT+RST", "AT+GMR" etc. Every time ESP12E(slave) module sending response is "255" only

Why ESP12E module giving same kind of response ???

If any one know the reason, Please help me :confused: :confused: .

Thank you

Regards
Amarr.M

ESP-12E.pdf (1.15 MB)