K_Ashish

Members
  • Content Count

    4
  • Joined

  • Last visited

  1. Thaks elodg, When I connect interrupt without using xintc then in xparameters.h file I could not see any int_vec_id, could you provide anything on how to use scugic?
  2. Thanks, I have already done interrupt using interrupt controller and Microblaze for spartan 6 FPGA. It was exactly similar to that of example code of intr_example of uartlite, only differnce I added Disable and ENable interrupt at the start and end of the handler. It worked. Similar I tried to do it with uartps, but it didnt work. I even tried using uartlite with ps7, and taking rx,tx out at the Pmod using level converter.But using this simple hello world is data send and receive is not working. I have attached my design.Please suggest me what can be done? design_1.pdf
  3. Thanks jpeyron for replying, I tried above examples the problem with me is i am not able to find block diagram design of the above. As it have this portion, #ifdef XPAR_INTC_0_DEVICE_ID #define INTC XIntc #define UART_DEVICE_ID XPAR_XUARTPS_0_DEVICE_ID #define INTC_DEVICE_ID XPAR_INTC_0_DEVICE_ID #define UART_INT_IRQ_ID XPAR_INTC_0_UARTPS_0_VEC_ID #else #define INTC XScuGic #define UART_DEVICE_ID XPAR_XUARTPS_0_DEVICE_ID #define INTC_DEVICE_ID XPAR_SCUGIC_SINGLE_DEVICE_ID #define UART_INT_IRQ_ID XPAR_XUARTPS_1_INTR #endif I am not able to find XPAR_SCUGIC_SINGLE_DEVICE_ID or XPAR_INTC_0_DEVICE_ID or XPAR_INTC_0_UARTPS_0_VEC_ID in xparameters.h I want to know that what should be connected to Interrupt in zynq processing system.
  4. Hello, I am trying to use UART in interrupt mode using zybo board. I tried Hello World example using UART1 of PS which is 48 49 MIO and it is working. I referred interrupt example in ~\Xilinx\SDK\2016.2\data\embeddedsw\XilinxProcessorIPLib\drivers\uartps_v3_1\examples. But I am not connect uart with Interrupt controller or GIC. Any suggestion on designing hardware in vivado and which reference code to use?