Question

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

By Aiyu ·
Tags: Hardware
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
1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

Open Serial Monitor

by CoraDias In reply to Cannot send data from MCU ...

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/

Back to Hardware Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums