• AVR Freaks

Hot!Multiple Input Change Notification (CN)

New Member
  • Total Posts : 13
  • Reward points : 0
  • Joined: 2019/07/29 13:05:54
  • Location: 0
  • Status: offline
2019/08/19 06:09:23 (permalink)

Multiple Input Change Notification (CN)

I am using the PIC24EP512GU810 and need to record multiple pulse inputs on various pins. I looked towards Iput Change Notification (ICN) due to being configurable to any pin. This is mainly due to the fact I require more readings than I do have interrupts.
The configuration of ICN seems easy enough, however, the problem arises when looking toward which pins have caused the interrupt. Further reading saw that some PICs have CNSTAT registers where you can check which pins have gone high. Unfortunately, my PIC does not have this luxury. Are there any ways around this or, other methods of reading input pulses on several pins (other than external interrupts)?
Other post which uses CNSTAT: https://www.microchip.com/forums/m847642.aspx

1 Reply Related Threads

    Super Member
    • Total Posts : 25186
    • Reward points : 0
    • Joined: 2003/11/07 12:41:26
    • Location: Australia, Melbourne
    • Status: online
    Re: Multiple Input Change Notification (CN) 2019/08/20 04:48:20 (permalink)
    How fast are your inputs changing?
    What is the shortest pulse you need to capture?
    Do you need to know a precise time WHEN a pin changed, or just note that it did?

    I also post at: PicForum
    Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
    NEW USERS: Posting images, links and code - workaround for restrictions.
    To get a useful answer, always state which PIC you are using!
    Jump to:
    © 2020 APG vNext Commercial Version 4.5