Config Jetson Nano as USB Gadget

I want to use Jetson Nano as a USB gadget to send and receive data from another host, can somebody give me instructions of config Jetson kernel for USB gadget purpose please.

Please check if below posts help your case:
https://devtalk.nvidia.com/default/topic/1046776/
https://devtalk.nvidia.com/default/topic/1048230/
https://devtalk.nvidia.com/default/topic/1036885/

Other users may also share experiences.