Wifi modem(esp) with nrf52840dk. No comunication.

Hi Slight smile,

I am trying to add wifi to nrf board. I have esp8266 and esp32 (wroom devkitc). I programmed esp8266 to obtain AT command modem (with this link:
https://docs.zephyrproject.org/latest/boards/shields/esp_8266/doc/index.html). And in vs code extension I add esp8266 as shield "-DSHIELD=esp_8266". I want to test it with wifi sample (samples/net/wifi). I only changed  2 things:
1) Add overlay:

&uart1 {
	status = "okay";
    esp8266 {
      status = "okay";
      compatible = "espressif,esp";
      label = "esp8266";
    };
};

2) Add "

CONFIG_WIFI_ESP_AT=y

to prj.conf.

Suppoused that this will be enought. But no response, zephyr crash when I tried to execute "wifi scan" via uart shell.

I checked esp8266 (used both version: leagacy-no OS and newest with OS) on both I could connect via terminal and UART converter on 152000 baudrate and send AT with OK response.
I connect logic state analyzer and nothing occured at UART1 tx pin from nrf52840dk. (pin P1.02) - this pin should send sth to esp modem.

Also tried to extend shell stack size:

CONFIG_SHELL_STACK_SIZE=8192

with no result.

Now I am in dead point. I mean with no trials to follow, so I decided to put ticket here.

Thanks for help

Parents Reply Children
Related