i am transferriing data between pc and nrf52 dk using nrf libuarte async tx. only the first 5 bytes are sent correctly. after 5 bytes the rest is corrupted. I am trying to figure out why 5 is the magic number?
i am transferriing data between pc and nrf52 dk using nrf libuarte async tx. only the first 5 bytes are sent correctly. after 5 bytes the rest is corrupted. I am trying to figure out why 5 is the magic number?
Hello,
Perhaps you can show some snippets of how you are sending? Is it always the same "garbage" values that is tranferred, or is it random? Have you tried this on several devices, or only one (in case there is a faulty hfxtal or something). Have you tried to monitor the data lines using a logic analyzer (e.g. saleae?) is the data corrupted there as well? What are you using to read the data? Is your application doing something else at the same time (BLE? Other peripherals?) What pin do you use for TX pin?
Best regards,
Edvin
Hello,
Perhaps you can show some snippets of how you are sending? Is it always the same "garbage" values that is tranferred, or is it random? Have you tried this on several devices, or only one (in case there is a faulty hfxtal or something). Have you tried to monitor the data lines using a logic analyzer (e.g. saleae?) is the data corrupted there as well? What are you using to read the data? Is your application doing something else at the same time (BLE? Other peripherals?) What pin do you use for TX pin?
Best regards,
Edvin