This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Two Interrupts in hyperlink

Hi All,

          How to achieve 2 interrupt [intimation] for a packet send through hyperlink.

1. if a chip A sends packet [over hyperlink] to chip B, how to make an interrupt awakes the chip B at the sametime, the an Isr at chip A should be kicked so that Chip A knows that data transfer is being done.

in simple, two interrupts

1 interupt for remote device to inform that data has arrived

1 interrupt for local device to kick in some activity based on Isr.

Thanks

RC Reddy

  • RC Reddy,

    Which device are you interested in using?

    Regards,
    RandyP

  • RC Reddy,

    Also, for that device, have you looked through the Hyperlink User's Guide searching for "interrupt"? There are several sections there about this, so it would be helpful if you could point out which parts you have questions about.

    Regards,
    RandyP

  • c6670

    and i wanted to know

    how do i trigger interrupt to self and remote Proc at same time. [Assume i am using memcpy rather than EDMA] and also please specify in case of EDMA one also.

    i am using softgen register to trigger up interrupt.

    Thanks

    RC Reddy

  • Hi,

       I am wating for reply.

    Thanks

    RC Reddy

  • The IPC module from the MCSDK generates interrupts within the device.

    For the other processor, which part of the interrupt descriptions in the Hyperlink User's Guide do you have questions about? I would not be good at restating what is in there, so it would be easier for us both if you can point to the part that is unclear to you.

    Regards,
    RandyP

  • Hi Randy,

     1. I dont understand why is IPC brought into picture here. 

    2. From Hyperlink UG, If i understand correctly, Device A can send Interrupt packet to Device B or route to itself. I wanted to check whether both can be possible. Say i send data from Device A to Device B using memcpy, then after transfer, i trigger interrupt packet..which should inform Device A that transfer is done as well as Device B that new data has arrived..i am looking for that kind of option.

    Thanks

    RC Reddy

  • RC,

    1. IPC is a way to send an interrupt within a device to the same or a different core. That is what I thought you wanted to do, send an interrupt from the code running on Device A to Device A.

    2. I do not recall anything about Device A sending an interrupt packet to itself. Where exactly did you read that? It would seem that code running on Device A that does a memcpy would be able to send a semaphore or IPC to start or resume a new task after the memcpy is finished.

    You probably need more of a HyperLink expert than me. I will go silent and see if you can get some better support.

    Regards,
    RandyP

  • Hi Randy,

                   Thanks for reply.

    2. Please pull in a Hyperlink expert to attend my answers. 

    Thanks

    RC Reddy