Jump to content
  • 0

PMOD ESP32 IP for use with ZedBoard.


StefanOR

Question

Hey All,

I am trying to make a simple IP block design in Vivado 2018.3 to test the ESP32 PMOD out using AT commands for data transmission. I will attach a picture of my current block diagram to this post. I am getting a critical error (reference below) that says the IP has a packaged board value of "digilentinc.com:cora-z7-10:part0:1.0" which is for the Zybo z7 board. My questions are:

Q1)Will this design work regardless of this error, as the Zybo and Zed boards are similar and both run off the zynq-7 architecture?

 Q2)If the answer to Q1 is "no", is there a method of adapting this IP for the Zedboard? (I should be using the latest IP library from Digilent)

 

[IP_Flow 19-4965] IP PmodESP32_axi_gpio_0_0 was packaged with board value 'digilentinc.com:cora-z7-10:part0:1.0'. Current project's board value is 'digilentinc.com:zedboard:part0:1.0'. Please update the project settings to match the packaged IP.
 

DigilentForumnESP32BD.PNG

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

Hi @jpeyron,

I added the Pmode ESP32 IP with zynq and it compile and open SDK but when i execute ESP32 example demo to work with AT command from zedboard usb-uart then i receive "AT" in response to "AT". Whatever i type and send i receive same text back. I can not receive ok response from ESP32. I have done the same block diagram as StefanOR did and i did not receive any error or warning. I have tried two functions (1)void ESP32_HardwareEnable(PmodESP32 *InstancePtr); (2)void ESP32_HardwareDisable(PmodESP32 *InstancePtr); to check wether my esp32 working or not but it is working and i can see esp32 disappear from my mobile wifi scan and when enable it appear back, also i can connect with it but i want to apply AT command to it for further configuration. Please reply as soon as possible. 

Link to comment
Share on other sites

Hi @satvik,

My guess is that you haven't set up your serial terminal correctly. I recommend you use teraterm and I'll show you how to set it up correctly using screenshots.

First, make sure you select Serial and from the drop down list select the COM Port associated to your Zedboard.

image.png.de9f7c2222dd5d027974679c2b0d2acf.png

Next, go to Setup and choose Serial port...

image.png.7ffc224182daeb62c3d29752d2f8065c.png

Set Speed to 115200 and then press New setting.

image.png.71c832e399b7d2281ad2de4c87558b9d.png

Then go to Setup again and select General...

image.png.cf5559dfb9c0f6dae124a089b016b016.png

In the General setup make sure to change the Language to English.

image.png.1c149d6c3da6c0b3ef03cafbecd6e053.png

Now go to Setup->Terminal... and for the New-line setting make sure you have selected CR+LF for both Receive and Transmit and then press OK.

image.png.fc8d5d6f0d257fed4273a0cd54d965c8.png

You should now go to Setup->Font->Font... and select Courier as the primary font (apparently you have to do this so you don't get japanese kanji characters when you type "\" aka backslash or other such keys).

image.png.b20bbdf0bbc57b6fecdcb9e194942590.png

Upon startup, the ESP32 is configured to echo serial commands sent to it. The AT command "ATE0" can be used to prevent the demo from printing each character received from the host PC's serial terminal twice.

So just type ATE0 and then press Enter but don't worry if it comes out as AATTEE00.

image.png.340849ff13319c0a567e21ea61c6ad17.png

Now you should be able to get it working yourself but if you have any other questions we'll be happy to help.

 

 

Link to comment
Share on other sites

12 hours ago, thinkthinkthink said:

Hi @satvik,

My guess is that you haven't set up your serial terminal correctly. I recommend you use teraterm and I'll show you how to set it up correctly using screenshots.

First, make sure you select Serial and from the drop down list select the COM Port associated to your Zedboard.

image.png.de9f7c2222dd5d027974679c2b0d2acf.png

Next, go to Setup and choose Serial port...

image.png.7ffc224182daeb62c3d29752d2f8065c.png

Set Speed to 115200 and then press New setting.

image.png.71c832e399b7d2281ad2de4c87558b9d.png

Then go to Setup again and select General...

image.png.cf5559dfb9c0f6dae124a089b016b016.png

In the General setup make sure to change the Language to English.

image.png.1c149d6c3da6c0b3ef03cafbecd6e053.png

Now go to Setup->Terminal... and for the New-line setting make sure you have selected CR+LF for both Receive and Transmit and then press OK.

image.png.fc8d5d6f0d257fed4273a0cd54d965c8.png

You should now go to Setup->Font->Font... and select Courier as the primary font (apparently you have to do this so you don't get japanese kanji characters when you type "\" aka backslash or other such keys).

image.png.b20bbdf0bbc57b6fecdcb9e194942590.png

Upon startup, the ESP32 is configured to echo serial commands sent to it. The AT command "ATE0" can be used to prevent the demo from printing each character received from the host PC's serial terminal twice.

So just type ATE0 and then press Enter but don't worry if it comes out as AATTEE00.

image.png.340849ff13319c0a567e21ea61c6ad17.png

Now you should be able to get it working yourself but if you have any other questions we'll be happy to help.

 

 

Thank you so much @thinkthinkthink,this helps me a lot and i have to add one thing before send any commands i have to press BTN1 of esp32 module otherwise it won't reply anything.

Link to comment
Share on other sites

43 minutes ago, satvik said:

Hi @thinkthinkthink,

Can you share any example like: large data communication, HTTP web server, TCP/udp Server/client of esp32 using zynq?

If you want all that maybe you should check out the example projects for the Pmod ESP32 that you can find here: https://reference.digilentinc.com/reference/pmod/pmodesp32/start#example_projects

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...