Jump to content

ptembras

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by ptembras

  1. Hello, I'm using the SF3 Flash memory Pmod in my project. I need to use interrupts from PL to PS, but when I use the PmodSF3 library, the other interrupts don't work. I think that the memory initialization using the Pmod library is breaking the other interrupts. I'm initializating the memory as follows

      Status = InitInterruptController(&mySF3.sIntc);
      if (Status != XST_SUCCESS) {
         //printf("\r\nError initializing interrupts");
         return XST_FAILURE;
      }
      Status = SF3_begin(&mySF3, &mySF3.sIntc, &ivt[0],
            XPAR_PMODSF3_0_AXI_LITE_SPI_BASEADDR);
      if (Status != XST_SUCCESS) {
         //printf("Error initializing SF3 device\r\n");
         return XST_FAILURE;
      }

    And the other interrupt

     

    GicConfig = XScuGic_LookupConfig(DeviceId);
        if (NULL == GicConfig) {
            return XST_FAILURE;
        }

        Status = XScuGic_CfgInitialize(&InterruptController, GicConfig,
                        GicConfig->CpuBaseAddress);
        if (Status != XST_SUCCESS) {
            return XST_FAILURE;
        }


        /*
         * Setup the Interrupt System
         */
        Status = SetUpInterruptSystem(&InterruptController);
        if (Status != XST_SUCCESS) {
            return XST_FAILURE;
        }

    Is it possible to do this? Because everything works fine but when I put this togeter the PL-PS interrupt doesn't work

     

×
×
  • Create New...