3 Replies Latest reply on Feb 25, 2020 8:50 PM by DheerajK_81

    PSOC4 Interrupts

    frro_3974886

      I am using CY8C4245AZI-M433 with P4.2 and P4.3 used as interrupt inputs.

      PSOC creator 4.3 cannot assign P4.2 and P4.3 as interrupts.

      Error message "Pin is not Routable"

       

      The datasheet specifies that any IO pin can be used as input interrupt.

        • 1. Re: PSOC4 Interrupts
          DheerajK_81

          Note that you can use only one Pin Component with each physical GPIO port if the interrupt is enabled. The reason for this limitation is that all pin interrupts in a port are ORed together, as described in the GPIO Interrupt section. Therefore, only one IRQ signal can be shown on the schematic per port. For example, consider two Pin Components with interrupts enabled. These components cannot be mapped to pins in the same physical port.

           

          The accepted method is to assign multiple pins to the same component. This ensures that there is only one IRQ signal in the schematic for that physical port. You can still assign each pin its own interrupt edge type. The only limitation is that the pins must be contiguous in the same port.

           

          I have attached the same project which shows this implementation. Interrupt is enabled for both P4[2] and P4[3].

           

          Please let me know if you have any queries.

           

          Regards,

          Dheeraj

          • 2. Re: PSOC4 Interrupts
            frro_3974886

            Can I send you my design showing errors

            • 3. Re: PSOC4 Interrupts
              DheerajK_81

              Yes please attach your project. Right click on Project > Archive Workspace / Project > Minimal and attach the zip file created.

               

              Regards,

              Dheeraj