Hi,
When using uart with the nrf52832,do I need to use hardware flow control for comunications over 9600bps?
regard,Hiroki
Hi,
When using uart with the nrf52832,do I need to use hardware flow control for comunications over 9600bps?
regard,Hiroki
Hello Hiroki,
To answer your original question, you do not need to use hardware flow control for communications over 9600 bps. As Nguyen said, 9600 bps is considered very slow these days - but you will have to weigh the pros and cons with regards to speed and data loss.
For most applications, it will be fine using 115200 BAUD without hardware flow control, but I cant say anything for certain in your case since I do not know anything about your application.
Best regards,
Karl
Hello Hiroki,
To answer your original question, you do not need to use hardware flow control for communications over 9600 bps. As Nguyen said, 9600 bps is considered very slow these days - but you will have to weigh the pros and cons with regards to speed and data loss.
For most applications, it will be fine using 115200 BAUD without hardware flow control, but I cant say anything for certain in your case since I do not know anything about your application.
Best regards,
Karl
Hi、Karl
Thank you for reply.
Is there any official document that clearly states this?
Best regards,
Hiroki
Hello Hiroki,
Documentation on packet loss for different BAUDRATES?
Packet loss/corruption on an UART connection is often most caused by the software running on the receiving unit not being able to handle the incoming data quickly enough. This ticket might be helpful to see. So, unless a whole lot is happening on your nRF52832 at the same time, you should be completely fine on 115200 BAUD. Hardware flow control negates this problem by only getting data when it is acceptable.
Have you observed any packet loss or data corruption on your current UART connection?
Of course, you might have external disturbances on your communication lines if they are long, uninsulated and close to a noise source with relevant frequencies, but I suspect this is not what you were asking for originally.
Hope this is what you were looking for. If it was not, please let me know.
Best regards,
Karl