I want to program the cypress kit CY8CKIT-043 to communicate with ESP8266 wifi module to get wifi connection.
I have tested with Arduino UNO board using AT commands to communicate with ESP8266 module.
I have configured the UART pins P6.0 and P6.1 pins as UART comm for this module.
I want write program for communicating with ESP8266 module on UART.
Can anyone suggest how to approach or give me some example programs.docs.
I haven't get any info from doc you have shared.
I want to configure any one of UART tx and rx lines of CY8CKIT-043 to esp8266 module to communicate for wifi.
hola estuve viendo el proyecto que monta un web server con esp8266 modo estacion PSOC4 , mi duda es si se puede hacer el mismo en psoc5lp ? ya que no veo por el ejemplo el bloque UART SCB de PSOC4.
O si alguien pudiera compartir algo parecido pero hecho con PSOCLP
Thank you for info.
You have some LCD i think to see the data, but how can see the debug messages?
I have connected the FTD1232 on 3.0 and 3.1 rx and tx pins, but unable to get data on the serial port.
Can you please provide comments in english, if possible
esp8266 often freezes.
So I used the SysTick, WDT and uint16 recon
isr_Reconn - reset WDT counter (otherwise restart)
if recon ++> 300 - preventive restart ESP
you can disable it until.
For debugging I used this program: ESP8266 Config.exe (https://github.com/AppStackCC/ESP8266-Config)
Perhaps you are interested in TCP2UART or MODBUS RS-485 bridge for ESP8266
ullflash_tcp2uart.bin - TCP2UART
fullflash_modbusrs485.bin - MODBUS RS-485
I am writing AT commands to ESP module, but I am not getting how to get the response from ESP module.
I am using UART_PutString for writing data, and tried the UART_ReadRxData, UART_GetChar for reading data and sending this received data to other debug port, I am getting always 0 value while receiving.
Can you please check the code and I need debug statements instead of LCD for CY8CKIT-043 kit.
Actually my idea is I want to create 1 website and push data to the website from cypress using ESP module.
You do not give the device time to answer!
Rxbyte = UART_ReadRxData(); // Here will not be a char ready.
The answer to your AT command is afaik an ASCII string terminated by /n, /r or both. I would suggest you to
Check with UART_GetRxBufferSize() for any characters ready, put them into your string buffer until you get a terminating char, pad with a null char. Then print the string.
Change UART_1 to byte mode and buffers to 16 or more.
What the wait function will do.
There is no fun definition for #define Wait(x)
May I know what is the use of it?
Look at the comment: the Wait() is for readability only (and avoids a warning) in statements like
while(!something); // Wait until something happens
which reads now
while(!something) Wait(); // No comment needed here
Okay, I got it after posting the question to you.
But I am not able to get any data from ESP still.
I was tried to debug it's not going to that CY_ISR(GetChar) function, So the condition always failing.
Did you tested on the board this code?
I found out that issue with the ESP module.
After doing doing number of trails on cypress, may be the ESP got corrupted.
I tried with Arduino example for cross verifying the ESP8266-01 module, Its unable to send or receive any AT commands.
How to solve this issue, Please suggest..
I need to thank you for your time for this fantastic read!! I most certainly savored every bit of it and I have you book-marked to look at brand new things in your website also to share this on Professional Essay Writers Online.