Yeah, like tumbleweed says, it does seem to be ODD parity, not EVEN.
Yeah, like tumbleweed says, it does seem to be ODD parity, not EVEN.
I think you are both right. Thanks a lot.
I had tried lots of combos!!! But missed odd parity...
Attached is another Saelea logic data file in which I am struggling to work out the baud rate and parity etc.
It's from a similar device to my earlier posts in this thread so logically you would think format etc would be similar.
The shortest pulse/bit is about 19.30us so that equates to about 51813bps
But that doesn't work in the analyser unless I am missing something.
Only 55000 8, E,1 seems to decode without errors??
But I'm not convinced that is correct.
If I then program my PIC with that baud rate etc it returns garbage or misses the data entirely.
I've even tried using osctune to shift the PIC baud rate up and down but no joy yet.
I'm tempted to try autobaud but that looks pretty tricky from the PIC16F886 datasheet.
What do members think the data rate/parity is of the attached file?
48000, 8o1 seems to work
That gives loads of errors for me..
![]()
This seems to work??
![]()
Oops, I grabbed the wrong file. Sorry!
What you have there seems to work... 48000 E81 (but the timing is REALLY tight for 48000)
Just an fyi - when you try these don't pick '9-bit + parity' modes, at least not to start. It's usually either '8 data + parity' (if there is a parity) or '9 data w/no parity'.
Most UARTS won't do 9 data bits + a parity bit
Last edited by tumbleweed; - 5th February 2023 at 16:49.
Bookmarks