9 Replies Latest reply on Jun 7, 2016 1:15 AM by user_95812785

    GPIO output timing

    user_95812785

      Can anyone help to speed up the GPIO output timing for BCM20737 ?

       

      With the following GPIO function codes below :

      // generate SCLK2 High pulse

        gpio_setPinOutput(SCLK2_PIN / 16, SCLK2_PIN % 16, GPIO_PIN_OUTPUT_HIGH);

        // generate SCLK2 Low pulse

        gpio_setPinOutput(SCLK2_PIN / 16, SCLK2_PIN % 16, GPIO_PIN_OUTPUT_LOW);

       

      Measure the SCLK2 high time, and it's about 2.5us.  To control one external driver, the SCLK2 high time needs to be around 0.5us.

      Is this possible for BCM20737 (I suppose the internal CPU clock should be fast enough) ? or any suggestion ?