TX2 creator 200khz square wave throught j21 pins.

environment:
jetpack 4.2 TX2
questions:
I can control the pin creat a square wave of 10kHZ. When I increased the frequency to 200kHZ, the square wave got distorted. only gpio466 can creat a square wave of 200kHZ. Is there anything special about gpio466?How do I set the other pins to the same? Or there are other ways to generate a 200khz square wave?

Bellow is the list of pins have test.

jetsonTX2GPIONumber gpio_group[GPIO_NUM_J21] =
{
gpio396, // J21 -Pin 7 0
gpio466, // J21 -Pin 11 1 0k
gpio397, // J21 -Pin 13 2
gpio255, // J21 -Pin 15 3 
gpio429, // J21 -Pin 19 4 
gpio428, // J21 -Pin 21 5 
gpio427, // J21 -Pin 23 6 
gpio398, // J21 - Pin 29 7
gpio298, // J21 -Pin 31 8
gpio389, // J21 -Pin 33 9
gpio395, // J21 -Pin 35 10
gpio388, // J21 -Pin 37 11

gpio392, // J21 -Pin 12 12
gpio296_, // J21 -Pin 16 13
gpio481, // J21 -Pin 18 14
gpio254, // J21 -Pin 22 15
gpio430, // J21 -Pin 24 16
gpio297, // J21 -Pin 32 17
gpio467, // J21 - Pin 36 18
gpio394, // J21 - Pin 38 19
gpio393, // J21 - Pin 40 20
};

The attachment is my test code.
jetsonTX2GPIO-master-2020-02-21.rar (10.5 KB)

Hi, gpio466 is for ram code strapping, do not use it other way. For 200kHz waveform, better to use PWM pin as you can see in this topic (https://devtalk.nvidia.com/default/topic/1052140/jetson-tx2/can-i-make-a-25mhz-pwm-signal-/post/5344004/#5344004), generally GPIO pins can only be up to 50kHz.