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:

Other users may also share experiences.