On Thu, Aug 31, 2017 at 8:55 AM, <[email protected]> wrote:

> I'm generating a high rate of errors 10-20% when sending messages out via
> xbee connected to UART but only when I use PWM at the same time. I'm using
> UART2 and I've tested this behavior using all of the other available PWM
> pins. Below is a piece of simplified code that has a high error rate. When
> I comment out the section that turns the PWM signal on, the UART/xbee sends
> messages pretty much faultlessly.
>
> What is the fix to eliminate the high error rate?
>
> Whate are the errors? is it failures to ser.open() or failures in
ser.write()? I don't think you should be opening and closing the serial
port every time you want to write to it---is there a reason to do it that I
fail to see?

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAC%3D1GgGpf5%2BvRcADwYxpTC%2B9H4Ozmsjt6-3yxhBK%3DzEsQYpKWw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to