This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Using several interrupts pins and changing pin settings

Hello!

I am using a keyboard (4x3) and the rows are configured as input PD and columns as output set, after a successful interrupt, the columns and the rows shift settings meaning rows are set as output set and columns as input PD and the colums are READ after the interrupt.

The problem i encounter is that I cant detect or get a high value when using pin 5, when I changed the pin to 9 the interrupt worked. The problem is that some pins work and others not which can be frustrating.

Back to my question, which pins can I use as interrupt and which cant i use ? Is there any limit for using pins , which documents shall be read to get working interrupts ?

my pin conf:

> input pd 1 row 
> input pd 5 row
> input pd 3 row 
> input pd 4 row 
> output set 2 column
> output set 0 column 
> output set 6 column 
> wait 100ms 
> output set 1 row
> output set 5 row 
> output set 3 row
> output set 4 row
> input pd 2 column
> input pd 0 column 
> input pd 6 column

Regards,

Volkan Osmanli Coskun

Parents
  • Hi Volkan, I am assuming you are talking about nRF51 chips. All GPIO pins has identical features and should work the same way if configured similarly. You can use all available pins at the same time without any limitations. I am quite sure that it this has been tested well.

    It is a possibility that you were unfortunate with a faulty chip (happens rarely). Could you try with other board if you have any.

Reply
  • Hi Volkan, I am assuming you are talking about nRF51 chips. All GPIO pins has identical features and should work the same way if configured similarly. You can use all available pins at the same time without any limitations. I am quite sure that it this has been tested well.

    It is a possibility that you were unfortunate with a faulty chip (happens rarely). Could you try with other board if you have any.

Children
Related