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

PSoC™ 4 Forum Discussions

long_4668236
Level 1
Level 1
First like given

Hi all,

I want to set 2 pin interrupt in same port, but it return error Pin Error (illegal entry). Can you show me how to set 2 pin interrupt in same port ?

Thanks,

pastedImage_1.png

0 Likes
1 Solution
NoriakiT_91
Employee
Employee
100 likes received 50 likes received 25 likes received

I can reproduce the issue.

Please use P3[1:0] instead of P3[0:1] for the Port configuration.

GS004766.png

GS004767.png

Regards,

Noriaki

View solution in original post

0 Likes
3 Replies
NoriakiT_91
Employee
Employee
100 likes received 50 likes received 25 likes received

Please refer the Code Example CE210558 - PSoC® 4 GPIO Interrupt

GS004765.png

Both GPIO inputs are handled with one interrupt.

Regards,

Noriaki

0 Likes
NoriakiT_91
Employee
Employee
100 likes received 50 likes received 25 likes received

I can reproduce the issue.

Please use P3[1:0] instead of P3[0:1] for the Port configuration.

GS004766.png

GS004767.png

Regards,

Noriaki

0 Likes

Thank Noriaki, It work.

0 Likes