SparkFun Forums 

Where electronics enthusiasts find answers.

General suggestions or questions about the SparkFun Electronics website
By beren
#6575
I'm using your SerAccel 5. It's working fairly well, but sometimes I recieve badly formattted strings in binary mode. Here are some examples...
Code: Select all
  0     1     2     3     4     5     6     7     8     9
#=23, @=40,  =00,  =00, ƒ=83,  =02, |=7C,  =01, /=2F, $=24
#=23, @=40,  =00,  =00, ƒ=83,  =02, w=77,  =01, 3=33, $=24
#=23, @=40,  =01,  =00, ˆ=88,  =02, x=78,  =01, 2=32, $=24
#=23, @=40,  =01,  =00,  =7F,  =02, |=7C,  =01, .=2E, $=24
#=23, @=40,  =02,  =00, ƒ=83,  =02, x=78,  =01, 0=30, $=24
#=23, @=40,  =02,  =00,  =7F,  =02, z=7A,  =01, 2=32, $=24
#=23, @=40,  =03,  =00,  =7F,  =02, ‚=82,  =01, .=2E, $=24
#=23, @=40,  =03,  =00,  =7F,  =02, „=84,  =01, 3=33, $=24
#=23, @=40,  =04,  =00, †=86,  =02, x=78,  =01, 3=33, $=24
#=23, @=40,  =04,  =00, ƒ=83,  =02, x=78,  =01, .=2E, $=24
#=23, @=40,  =05,  =00,  =7F,  =02,  =7F,  =01, 4=34, $=24
#=23, @=40,  =05,  =00, †=86,  =02, s=73,  =01, .=2E, $=24
#=23, @=40,  =06,  =00, ƒ=83,  =02, z=7A,  =01, .=2E, $=24
#=23, @=40,  =06,  =00, „=84,  =02, y=79,  =01, 1=31, $=24
#=23, @=40,  =07,  =00, †=86,  =02, t=74,  =01, .=2E, $=24
#=23, @=40,  =08,  =00, „=84,  =02, t=74,  =01, 3=33, $=24
#=23, @=40,  =08,  =00,  =7F,  =02, t=74,  =01, .=2E, $=24
#=23, @=40,  =0A,  =00, †=86,  =02, r=72,  =01, 1=31, $=24
#=23, @=40,  =0A,  =00, ƒ=83,  =02, y=79,  =01, +=2B, $=24
It seems like the low byte of the sample number is missing. I was running at 57600 baud, but I lowered it 19200 to try and fix this problem. However I'm still getting bad strings.

I was wondering if you've had the same issue, and what you might think the problem is.

Thanks,
Beren