serial-portmicrocontrolleresp32at-commandnrf52

AT-Commands from ESP32 to Fanstel BC805M (nRF52805M) not working


I want to send a simple AT-Command like: AT\r\n from the ESP32 to the Fanstel BC805M (nRF52805M) breakout board. My goal is to get an answer.

Problem: The Esp32 does not get an answer from the BC805M.

Setup

Hardware

Software

#include <HardwareSerial.h>

#define RXD2 16
#define TXD2 17
#define CMD_MODE 32

void setup() {
  Serial.begin(115200);
  Serial2.begin(115200, SERIAL_8N1, RXD2, TXD2);
  pinMode(CMD_MODE, OUTPUT);
  digitalWrite(CMD_MODE, HIGH);
  delay(1000);
  Serial.println("start");
}
void loop() {
  Serial2.write("AT\r\n");
  delay(500);
  if(Serial2.available()){
    Serial.write(Serial2.read());  
  }
}

On Monitor, I received nothing: Terminal Output

What I tested

BlueNor 200622 started

on my monitor. This means I read the values of the Rx pin of the BC805M and wrote them to my monitor. Shouldn't this message be sent on on the Tx pin of the BC805M?


Solution

  • The Fanstel support just wrote me that the BC805M Evaluation Board is NOT preloaded with the AT-Command firmware.

    Only the BC805M module has it preloaded.

    That explains why the AT-Commands did not work.