Re: [beagleboard] UART PWM Interference

2017-09-06 Thread ojc234
Thank you thank you thank You! You are right. There are 8 ground terminals on the GPIO - they seem to be there for a reason - when I plug the xbee GND directly into one of those (make the path to the BBB short) I get ~zero errors in communication. When I create a secondary Ground reference plane

[beagleboard] Re: UART PWM Interference

2017-09-04 Thread ojc234
Yes, I started off using one of those and then changed to USB power - it didn't have an affect on the error rate. -- 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

Re: [beagleboard] Re: UART PWM Interference

2017-09-04 Thread ojc234
See the two pictures below - I have tried to simplify things a few times - but nothing seems to change the high error rate, although it might have decreased a bit - a few times it has been ~50% (That was when I was trying to run my Power HD MG1235 servo on a 7.2V UBEC) The Xbee and PWM are

Re: [beagleboard] Re: UART PWM Interference

2017-09-02 Thread ojc234
Just tried adding the 1uF decoupling capacitor in parallel with the existing 0.1uF capacitor - it didn't decrease the high error rate. On Saturday, September 2, 2017 at 12:08:00 PM UTC+12, ojc...@gmail.com wrote: > > So tested all of that - see table below > The servo power supply is a QM12V5A

Re: [beagleboard] Re: UART PWM Interference

2017-09-01 Thread ojc234
So tested all of that - see table below The servo power supply is a QM12V5A but as seen below - even when this is not active, there is still a high error rate. Also, I am not opening and closing the

[beagleboard] Re: UART PWM Interference

2017-08-31 Thread ojc234
Errors : yes garbage characters on the receiver side Cross-talk : so I have had a servo motor (powered from it's own ubec) plugged in, however I thought that the ubec noise might be interfering, so I tried running the PWM signal without any device attached (no servo ubec running) and no pwm

Re: [beagleboard] UART PWM Interference

2017-08-31 Thread ojc234
What are the errors? : When receiving the message (xbee connected to PC in API mode) it is commonly scrambled by random characters - often one or two characters per message often. Why am I opening and closing the serial connection? : There was a reference on Google that told me to do that for

[beagleboard] UART PWM Interference

2017-08-31 Thread ojc234
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.