Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] 4800bps to 9600

2009-08-18 by David VanHorn

On Tue, Aug 18, 2009 at 2:24 AM, iijfet<iijfet@yahoo.com> wrote:
> hi friends,
> i want to convert baud rate of input data from a medical module.
> my data is 60 packet per second & every packet includes 5 bytes.
> this is also 8 data,1 stop & odd parity.

You don't normally see 8 data bits used with parity, and most usarts
will not do that.
I suspect you either have 7 bit, odd parity, 1 stop, or 8 bit, no
parity, 1 stop.

> therefore,my data is 4800bps & i must convert it to 9600bps because of my RF module.
> my RF module can transmit a data that is 9600bps with odd parity,but it cant transmit 4800bps with odd parity correctly & when it transmits this data some byte cant be transmitted such as 45 or 7F(hexa).
> also i wanna to know how odd parity work & what is its detail.

The number of 1 bits in the byte will always be 1,3,5 or 7,
The parity bit is set or cleared to make this true.


>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.