WHAT IS THE MINIMUM TIME TAKEN BY GPIO TO READ DIGITAL INPUT

WHAT IS THE  minimum time TAKEN BY NRF52833 GPIO as input  TO READ GPIO STATUS?

Parents
  • Hello,

    That depends on what you are really asking. 

    Are you thinking of an interrupt that is set up? The time it takes from the pin changes until the application is notified? Or do you want to do something in that interrupt? 

    Or do you mean the time it takes from you call some function to read the GPIO state until that function returns with the state?

    In all of the above, the best case is about one clock cycle (8MHz or so) in the first case, but it depends on the implementation if you are talking about the last one.

    Perhaps you can decribe for me what you want to do with the pin, and I can give a clearer answer.

    Best regards,

    Edvin

Reply
  • Hello,

    That depends on what you are really asking. 

    Are you thinking of an interrupt that is set up? The time it takes from the pin changes until the application is notified? Or do you want to do something in that interrupt? 

    Or do you mean the time it takes from you call some function to read the GPIO state until that function returns with the state?

    In all of the above, the best case is about one clock cycle (8MHz or so) in the first case, but it depends on the implementation if you are talking about the last one.

    Perhaps you can decribe for me what you want to do with the pin, and I can give a clearer answer.

    Best regards,

    Edvin

Children
No Data
Related