Question

  • Creator
    Topic
  • #2341680

    Cannot send data from MCU to ESP on STM32F401 and ESP8266-01

    Locked

    by aiyu ·

    Tags: 

    I am working on an STM32f401 Nucleo board(datasheet for reference: http://www.kynix.com/uploadfiles/pdf65976/STM32F401CCU6.pdf) and ESP8266-01 wifi module.
    I am using Eclipse gcc-arm tool chain and cubeMx to generate code. I can transfer and receive data perfectly with USART/UART DMA.

    Now I am stuck with ESP8266-01. I cannot send data from MCU to ESP and I’m not getting response from ESP to MCU. I already tested the ESP module communication, I can concnect TO THE wifi with AT commands through USB and can also receive data in web via socket connection.

    BTW,I configured USART1_TX/USART1_RX with PA9/PA10

All Answers

  • Author
    Replies
    • #2448082

      Open Serial Monitor

      by coradias ·

      In reply to Cannot send data from MCU to ESP on STM32F401 and ESP8266-01

      Hi…as per my knowledge you can Open the serial monitor change the boud rate to 115200 and coose NL and CR .Type AT on the serial monitor you will see an OK response .If you see garbage value on the screen, try resetting the module, or checking your baud rate. Make sure the NL and CR option is set.

      https://www.7pcb.com/

Viewing 0 reply threads