how can we change the frequency of GPIO to 20Khz?

how can we change the frequency of GPIO to 20Khz?
thanks

hello denvend,

may I know which GPIO pin you would like to configure the frequency, is it PWM?
thanks