Hello,
We Want A GPIO Pin Up-down time is nanosecond As Per our Application Requirement . But Now We Create a GPIO Driver module and use this module throughout GPIO pin up-down take 8 millisecond, So Can You Explain how to we achieve GPIO Pin up-down time in 8 millisecond to 1-5 nanosecound.
And we try to Add Clock-frequency in .dts file then time take also 8 millisecond,
Change in .dts File
gpioctr_device {
compatible = "myir,gpioctr";
clock-frequency = <1000000000>;
status = "okay";
gpioctr-gpios = <&gpio3 21 0>;
};
: r u a pure software engineer or have some triple E backgrd?
1-5 nanosecound?
i not heard that faster in a MCU GPIO , it is impossible :1 machine clock also need 3--12 timer clocks right? hardware also cannot support right?
i.MX 8 QuadMax | 1.2 GHz + 1.6 GHz | 4× Cortex-A53 + 2× Cortex-A72 |
i.MX 8 QuadPlus | 1.2 GHz + 1.6 GHz | 4× Cortex-A53 + 1× Cortex-A72 |
i.MX 8 DualMax | 1.6 GHz | 2× Cortex-A72 |
thanks
: r u a pure software engineer or have some triple E backgrd?
1-5 nanosecound?
i not heard that faster in a MCU GPIO , it is impossible :1 machine clock also need 3--12 timer clocks right? hardware also cannot support right?
i.MX 8 QuadMax | 1.2 GHz + 1.6 GHz | 4× Cortex-A53 + 2× Cortex-A72 |
i.MX 8 QuadPlus | 1.2 GHz + 1.6 GHz | 4× Cortex-A53 + 1× Cortex-A72 |
i.MX 8 DualMax | 1.6 GHz | 2× Cortex-A72 |
thanks
Hello@josephzhou1
I am pure Software Engineer
And I use i.mx8mm processor board I want to know minimum time of GPIO pin up-down?
And Which factor affect On GPIO pin Up-down time ?
I want know how to set clock-frequency on particular GPIO pin?
Hi,
Max GPIOs frequency is in the datasheet:
If you want to output a clock, you have CLKOUT1 & CLKOUT2 pins for this purpose, as described in the reference manual:
/BR
Vincent
Hello,
I changed a clock-frequency in dts file for particular pin, .dts file format is given below
gpioctr_device {
compatible = "myir,gpioctr";
status = "okay";
clock-frequency = <4000000>;
gpioctr-gpios = <&gpio3 21 0>;
}
if i change clock frequency then gpio pin up-down time will change or not???
and my second question is how to decrease a gpio toggle time???