We detect you are using an unsupported browser. For the best experience, please visit the site using Chrome, Firefox, Safari, or Edge. X
Maximize Your Experience: Reap the Personalized Advantages by Completing Your Profile to Its Fullest! Update Here
Stay in the loop with the latest from Microchip! Update your profile while you are at it. Update Here
Complete your profile to access more resources.Update Here!

What are SR Ports?


The SR port(s) on PIC MCUs allow advanced interconnectivity between peripherals. Output signals from peripherals that normally do not interact can be passed through the SR port for more complex designs and implementations. Additionally, you can use the SR port to implement hardware-based state machines.

Hardware Interconnections


The SR port has a selection of input signals from hardware peripherals. These signals can be synchronized to an internal flip-flop in the port or the signal can be passed through. Some examples of input signals to the SR port include:

The possible input signals vary for each pin in the port. Please consult the data sheet for the full list of signals available and their position(s) within the port.

Software Interactions


In addition to hardware options, the SR port can also be used from software. The MCU can read the output of the SR port like an I/O port and the internal flip-flop can be written to from software (if configured in this way).

Documentation


Title
Using the Signal Routing Port Module on 8-bit PIC® Microcontrollers Download