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 > > > >
Message
Re: [AVR-Chat] 4800bps to 9600
2009-08-18 by David VanHorn
Attachments
- No local attachments were found for this message.