tag:blogger.com,1999:blog-8200098102909041178.post818854664437953698..comments2024-03-24T09:12:10.872-04:00Comments on Shane Colton: The great XBee 57.6kbps mystery finally solved.Shane Coltonhttp://www.blogger.com/profile/10603406287033587039noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-8200098102909041178.post-32320940772019058952014-06-08T00:53:59.918-04:002014-06-08T00:53:59.918-04:00Could be, but I don't think I would rule out o...Could be, but I don't think I would rule out other problems either. You can test it pretty easily by setting all baud rates to 58.8kbps instead of 57.6kbps. The error is sometimes okay and sometimes borderline, just depends on the exact configuration. But at least if you set everything to 58.8kbps and still have problems you can rule that out and move on to other troubleshooting steps.Shane Coltonhttps://www.blogger.com/profile/10603406287033587039noreply@blogger.comtag:blogger.com,1999:blog-8200098102909041178.post-17561177122063208722014-06-04T22:02:26.370-04:002014-06-04T22:02:26.370-04:00I have an XBee AT Coordinator plugged into an Adaf...I have an XBee AT Coordinator plugged into an Adafruit Xbee Adapter board. When my program reads data coming from a arduino, there is no issue. no hicups. but when my java program collects data from the Xbee Adapter board, for some reason, the buffer of the xbee tends to want to freeze. I never have this problem with the arduino. I am wondering? Could what you've post be the issue? Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8200098102909041178.post-59069670581917058102014-02-05T00:21:40.019-05:002014-02-05T00:21:40.019-05:00I haven't used the ATmega32U4 but I think it s...I haven't used the ATmega32U4 but I think it should have similar registers. If it's using Arduino syntax you could also try manipulating the argument of Serial.begin() up or down a bit to force it to pick a different register value. For example, try Serial.begin(58825) to match the XBee.<br /><br />Make sure the XBee's are not defaulted back to 9600bps as well. I've accidentally done that many times!Shane Coltonhttps://www.blogger.com/profile/10603406287033587039noreply@blogger.comtag:blogger.com,1999:blog-8200098102909041178.post-50407784136793623732014-01-23T13:28:23.219-05:002014-01-23T13:28:23.219-05:00HI, I have a problem with baud rates >9600.
I h...HI, I have a problem with baud rates >9600.<br />I have a setup with 2 arduinos(spark fun pro micro) and 2 xbee series 2.<br />There is no communication with >9600 baud rates.<br />Spark fun pro micro uses Altmega32U4 so i can't use the upper registers.<br />How can I solve this issue?<br />Any help appreciated.<br />Thanks in advanceAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8200098102909041178.post-75008565847648531782011-12-19T01:40:19.543-05:002011-12-19T01:40:19.543-05:00Good to know. I only have a limited data set of mo...Good to know. I only have a limited data set of modern microcontroller UARTs and every one I've seen up until now has had a parity enable that appends a bit to the existing data frame length. This is also true of the serial port object in all the programming languages I've used for PCs. But I can see the reason for defining it the other way, to preserve data rate.Shane Coltonhttps://www.blogger.com/profile/10603406287033587039noreply@blogger.comtag:blogger.com,1999:blog-8200098102909041178.post-10487485866839159182011-12-19T00:27:43.123-05:002011-12-19T00:27:43.123-05:00Hi! Found your page looking for STM32 CAN baud. ...Hi! Found your page looking for STM32 CAN baud. Second the motion - RTFM over and over, because there are more options and remaps and gotchas than you can shake a stick at. Makes the part amazingly useful, but complex. One small quibble re: your conclusion: Parity has *always* been defined as being within the data field, on all the comm systems I've used since I started in 1972. If you're expecting an extra bit after an 8-bit byte, then you'd better specify a 9-bit byte. The implicit data rate degradation of parity is why it became worthwhile to invent checksums and CRCs over the whole transmission, trading CPU time for message bits.Anonymousnoreply@blogger.com