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:
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>.
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!
Donald
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,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------