Jump to content

PMODESP32 Initialize


Recommended Posts

I am testing the PMODESP32 on xilinx sdk. I created a microblaze on vivado and launch the sdk to test it. Anytime i initialize the pmod it returns a status of 0. I attached my microblaze design below. The code im using is below. Thank you

#include "xparameters.h"
#include "xil_exception.h"
#include "xil_printf.h"
#include "xtmrctr.h"
#include "xintc.h"
#include <xgpio.h>
#include "PmodESP32.h"
#include <xstatus.h>


PmodESP32 pmod;

int main(void)
    int status = 0;
             status = ESP32_Initialize(&pmod, UART_BASEADDRESS, GPIO_BASEADDRESS);
             if (status != XST_SUCCESS) {
                     xil_printf("Tmrctr fast interrupt Example Failed\r\n");
                     return XST_FAILURE;



Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...