Figuring out the baud rate of an oddball incoming data stream
bte2
Posts: 154
Hi all, I'm trying to connect to a device that has a differential line driver (LTC1487 or similar). I can get the asynchronous bits into the propeller pin, but I'm having a bit(!) of trouble figuring out how to reliably get the byte of data.
The device sends one start bit, then the byte of data, with no stop bit, for a total of 9 bit times at 14.4 uSec per bit. The entire frame of 9 bits x 14.4 uSec is 129.6 uSec which I confirmed with the scope.
On the scope, the pin is low, then the start bit(1), then the byte (lsb first), then at the end of the last bit the pin goes low again. This is out of a pendant and I have no control over what they are sending, but it is always single bytes with the start bit prepended.
I've been trying to get it with FullDuplexSerial but it ain't happening. I am receiving garbage. All signals are nice and sharp with no over- or undershoot or ringing, so I don't think it is a noise issue.
Anybody have anything in the way of advice for me? I'm good at paying it forward. Thanks, bryan
The device sends one start bit, then the byte of data, with no stop bit, for a total of 9 bit times at 14.4 uSec per bit. The entire frame of 9 bits x 14.4 uSec is 129.6 uSec which I confirmed with the scope.
On the scope, the pin is low, then the start bit(1), then the byte (lsb first), then at the end of the last bit the pin goes low again. This is out of a pendant and I have no control over what they are sending, but it is always single bytes with the start bit prepended.
I've been trying to get it with FullDuplexSerial but it ain't happening. I am receiving garbage. All signals are nice and sharp with no over- or undershoot or ringing, so I don't think it is a noise issue.
Anybody have anything in the way of advice for me? I'm good at paying it forward. Thanks, bryan
Comments
-Phil
The pendant sends the same frame with the same data every 25ms so it's not like the serial data is changing. This should be easy but I'm missing something obvious- it's just one stinking byte for Pete's sake.