Jump to content
  • 0

Fpga Wifi Module


Hos Sam97

Question

i want any tutorial or help to connect our project (some medical sensors) with thing speak ??

1_ Can i use any wifi module (cheap module ESP8266) or only pmod can be used  ??

2- is there is code should be written to interface module to my kit Digilent nexys A7 ??

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

Hello @Hos Sam97,

Yes you can use ESP8266 module but you'll probably have to use the SPI protocol. I saw that this module is used very often with  Arduino (example)

However you can opt for Pmod Wi-Fi and you can use our IP https://github.com/Digilent/vivado-library/tree/master/ip/Pmods/PmodWIFI_v1 which is already implemented.

Link to comment
Share on other sites

Follow the tutorial https://reference.digilentinc.com/learn/programmable-logic/tutorials/pmod-ips/start

After you added the IP and open SDK you will see the drivers for this IP and also there is a demo in the main.c file.

In the link I gave you https://github.com/Digilent/vivado-library/tree/master/ip/Pmods/PmodWIFI_v1 there is a README file that explains the demo.

Link to comment
Share on other sites

Hi @Hos Sam97,

I'm not certain what you mean by run it directly without doing Vivado steps.

If you found an already completed Vivado project that created the Block Design in the same version of Vivado that you have, once the bitstream is generated, you could then go into the SDK side of the project and run it from there without doing the creation steps in Vivado.

Let me know if you have any questions about this.

Thanks,
JColvin

Link to comment
Share on other sites

iam sorry i have strange questions cause it is the first time for me with Fpga

i mean if i can use pmod esp32 already implemented for example that exist in githup (is it important for vivado that creat the model to be the same version of mine ??)

and can you tell me ( what is the SDk side of project) what is this do ??

 

Link to comment
Share on other sites

Hi @Hos Sam97,

There is no problem with your questions.

Our Pmod IPs do not have a release associated with them, so we do not have completed projects in the sense that once a project is downloaded there is nothing further for you as the user to do. Instead, you will be generating the project yourself with the sources that we created and verified on our GitHub. We have instructions for how to do this on in our guide here: https://reference.digilentinc.com/learn/programmable-logic/tutorials/pmod-ips/2018.2.

The SDK side of the project (which is also explained how to set up in the guide I linked earlier, with some additional information directly on our GitHub for the Pmod ESP32 here: https://github.com/Digilent/vivado-library/tree/master/ip/Pmods/PmodESP32_v1_0), is the Xilinx Software Development Kit (SDK) that lets you create a C-based application project to run on an FPGA board that contains some sort of processor. In the case of the Nexys A7, this processor will likely be the Microblaze processor that you will have set up as part of the Getting Started with Pmod IPs guide (which links to a more in-depth guide for getting the block design ready which includes the Microblaze processor here: https://reference.digilentinc.com/vivado/getting-started-with-ipi/2018.2).

Let me know if you have any questions about this.

Thanks,
JColvin

Link to comment
Share on other sites

Hello @Hos Sam97,

We recommend to users to ask questions in the topic section and not in private. So I'm gonna respond to you here.

Quote

you said to me you can use our Ip (already implementd) on GitHub site when i asked about connecting sensors to interne t

if i used other vesrion of PMOD esp32 and also there is another ip for this module can i use it directly or i must  implement new one for my project

i need your answer please

 

First I want to make some things clearer:

1. An IP (intellectual property) core is a block of logic (hardware design language) that is used usually in Vivado Block Design (but not necessarily).

The PMOD ESP32 IP is a logic block and acts as an interface between microprocessor (called Microblaze) and the physical device that is connected to the board.

The PMOD ESP32 IP has a driver which provides a software interface to the PMOD ESP32 device that is attached to the Nexys A7 board. This driver enables the microprocessor system to have access to hardware device, in this case PMOD ESP32.

2. Using the IP:

The first part, the hardware design:

The logic block PMOD ESP32 IP needs to be added to the Vivado block design and connected to Microblaze. After your hardware design is finished, you build the design and the result is a bitstream file.

The second part, the software application:

After you exported the bitstream file in the project folder location, you will open Xilinx SDK.

SDK works with hardware designs created with Vivado and provides an environment for creating software applications targeted for Xilinx embedded processors (Microblaze or Zynq).

In Xilinx SDK you'll have to create an application for your project and add the driver sources for the Pmod ESP32.

Vivado library contains both the IP and the driver.

3. This tutorial https://reference.digilentinc.com/vivado/getting-started-with-ipi/2018.2 summarize everything I explained above with examples and pictures on how to create a block design, how to add Microblaze, how to generate bitstream, how to create your first SDK application and how to run the application. Please follow all the steps from the tutorial and learn how to use the IPs and SDK.

Also you will have to follow this tutorial https://reference.digilentinc.com/learn/programmable-logic/tutorials/pmod-ips/start on how to add the Pmod ESP32 IP.

You will have to download the vivado-library and add the repository path in Vivado. After this step you will have access to the IP and you can add it to the Vivado Block Design.

Note: Those are the same steps no matter which Pmod IP are you using.

Please follow both tutorials, read some additional information or watch Youtube videos so you can understand how Vivado Block Design and Xilinx SDK works.

4.  I don't understand what other version of Pmod ESP32 are you referring to. Provide links please.

I'm happy to respond to your questions, but I cannot help you if I don't understand what you want.

Best regards,

Ana-Maria

 

 

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...