6 Replies Latest reply on Jul 17, 2018 2:17 AM by JoMe_264151

    Parallel Pin read

    ArBi_3167741

      Hi everyone,

       

      I am trying to configure a counter at 1 MHz frequency to generate an interrupt. At every interrupt point, the processor is supposed to read a 32 pin input value. For this purpose, I need to configure two operations-

      1. Configure 32 pins as input and read them with one instruction. ( such as 32 pin port read with one register value)

      2. Configure a counter to trigger the read after 1 microsecond.

       

      I have gone through the tutorial videos but I couldn't find any way to configure 32 pin port as a digital input.

       

      Could anyone help me with the right resources to do the required operations? (Tutorial/Documentation etc.).

       

      Thanks.