[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] manchester code
From: |
Erik Christiansen |
Subject: |
Re: [avr-gcc-list] manchester code |
Date: |
Tue, 12 Dec 2006 11:46:03 +1100 |
User-agent: |
Mutt/1.5.9i |
On Mon, Dec 11, 2006 at 08:14:15PM +0100, Bohus Tamás wrote:
> Hi!
>
> Does anybody have a manchester encoder/decoder routine for avr?
The closest I've come across is hardware manchester capability in the
AT90PWM2/2B/3/3B:
· USART Extended mode (EUSART) with:
Independant bit number configuration for transmit and receive
Supports Serial Frames with 5, 6, 7, 8, 9 or 13, 14, 15, 16, 17 Data Bits
and 1 or 2 Stop Bits
Biphase Manchester encode/decoder (for DALI Communications)
Manchester framing error detection
Bit ordering configuration (MSB or LSB first)
Sleep mode exit under reception of EUSART frame
However, it couldn't take too long to port the implementation in
P16/ManReceive6.mil at http://www.mikroe.com/en/projects/mikrobasic.php,
especially using the overview in P16/ManReceive6.pbas. (But I grant it's
easier still, if it's already been done. :-)
Erik