Mixed Interrupt Signal Problem

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
XiaoPing_Yang
Level 4
Level 4
25 replies posted 10 replies posted 10 questions asked

Hi  Sir ,

      Now I am using two external interrupt   on one port . 

      The output message "Cannot assign 'DIO3(0)' with Interrupt Signal DIO3 to physical .port 2 where 'DIO0(0)' with Interrupt Signal DIO0 is already placed." How to solve the problem .

       Thanks.

0 Likes
1 Solution
BragadeeshV
Moderator
Moderator
Moderator
First question asked 1000 replies posted 750 replies posted

Hi xiaopingyang_1543386​,

There can be only one dedicated interrupt per port. You can do the following to resolve this issue:

If the pins are homogeneous :

    a) Use a single Pin component.

    b) Make the no of pins to 2.

    c) Check dedicated interrupt check box

    d) Connect one ISR component to the pin component.

    e) There is only one interrupt handler in this case. You can use <Pin_Component_alias>_ClearInterrupt() to know which pin triggered an interrupt and perform action accordingly

pastedImage_0.png

Regards,

Bragadeesh

Regards,
Bragadeesh

View solution in original post

0 Likes
1 Reply
BragadeeshV
Moderator
Moderator
Moderator
First question asked 1000 replies posted 750 replies posted

Hi xiaopingyang_1543386​,

There can be only one dedicated interrupt per port. You can do the following to resolve this issue:

If the pins are homogeneous :

    a) Use a single Pin component.

    b) Make the no of pins to 2.

    c) Check dedicated interrupt check box

    d) Connect one ISR component to the pin component.

    e) There is only one interrupt handler in this case. You can use <Pin_Component_alias>_ClearInterrupt() to know which pin triggered an interrupt and perform action accordingly

pastedImage_0.png

Regards,

Bragadeesh

Regards,
Bragadeesh
0 Likes