LPC812MAX with ESP8266 using UART

Showing results for 
Search instead for 
Did you mean: 

LPC812MAX with ESP8266 using UART

Contributor I

Hi There!

I'm looking for some help with interfacing my LPC812MAX board with the ESP8266 wifi module using UART. I've tested as much as I could but now I am stumped why the devices are acting the way they are. Here were my findings:

  1. I confirmed that the ESP8266 module is working and responding correctly. I confirmed this by connecting it directly to my computer using a TTL UART cable. With this, I was able to open up a serial communication channel and broadcast the command "AT" to the wifi module. It responded "OK" at a baud rate of 115200. Confirming both the baud rate as well as the functionality of the module.
  2. Using the output of serial session, I have confirmed the exact message (including line endings) that the ESP8266 module received in order to reply with "OK". "AT<CR><LF><CR><LF>.

  3. Next, I confirmed that my LPC812MAX board is sending that exact same message by connecting it to my laptop using the TTL UART cable. With this, I confirmed that the LPC812MAX board is communicating at a 115200 baud rate and sends exactly "AT<CR><LF><CR>LF>.

The problem now is when I directly connect the ESP8266 to the LPC812MAX. Despite confirming the buad rate and the correct messages being sent, the ESP8266 does not respond. It only echoes back whatever I send to it.

Another interesting thing I noticed was that the ESP8266 might not initialize properly upon startup when connected directly to the LPC812MAX board. The reasoning behind this thought is because on startup, the ESP8266 sends over UART some gibberish followed by "READY". I can confirm this when connecting the ESP8266 to my computer. But this "READY" message is not received by the LPC812MAX board when I output everything it receives over it's UART bus. Am I missing some hardware necessary for the UART communication?

Any help would be appreciated! Thanks!


0 Kudos
1 Reply

NXP TechSupport
NXP TechSupport

Hello Donald Ngai,

   I am not familiar with ESP8266 because it is not the NXP product, I am the LPC engineer.

   I think you use the oscilloscope or the logic analysis to test the UART wave, when it works OK independently and when it work with LPC812 chip, just to compare the wave, what the root problem.

  You can send out the two data wave to me, I will help you to check it. oscilloscope can see the baudrate and the voltage.

   You said there some some gibberish which is sent from the ESP8266 , please also send out that gibberish, just to check whether it is the real UART data or just the interference.


Have a great day,

Note: If this post answers your question, please click the Correct Answer button. Thank you!

0 Kudos