hello alpyildirim97,
may I know what’s the pin connection you’re used for uart communication.
Nano devkit also using uart for serial console, you may not used it to communicate with other devices.
you may also check similar discussion threads for reference, such as Topic 83810, and Topic 55988.
thanks