bleuart.write losing strings

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
ebradford
 
Posts: 9
Joined: Sun Dec 12, 2021 11:32 am

bleuart.write losing strings

Post by ebradford »

Hello,
I have a little project where the nRF52832 is sending a series 20 character strings to the Bluefruit Connect app.
A good number of them never arrive.
Adding delay between the writes helps, but it's never enough to eliminate the dropped strings completely and visibly slows it all down.

Example:
bleuart.write( " ╔════╗╔════╗╔════╗\n" );
delay(30);
bleuart.write( " ╟────╢╟────╢╟────╢\n" );
delay(30);
bleuart.write( " ╟────╢╟────╢╟────╢\n" );
delay(30);
bleuart.write( " ╚════╝╚════╝╚════╝\n" );
delay(30);

Isn't there a way to query whether the FIFO is ready for a bleuart.write?

Thanks,
Emmett

Locked
Please be positive and constructive with your questions and comments.

Return to “Feather - Adafruit's lightweight platform”