Yahoo Groups archive

AVR-Chat

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

Message

Re: SEROUT and SERIN

2007-06-04 by Don Kinzer

--- In AVR-Chat@yahoogroups.com, "briangregory82" <bgregory@...> wrote:
>I'm looking at AVR305 and it might be exactly what I'm looking for.

One aspect of the AVR305 method that may be unpalatable is that it 
utilizes the external interrupt functionality for start bit 
detection.  This means either that the serial input pin must be one 
that has external interrupt functionality or that you must use an 
external interrupt input in addition to the serial input pin.

In my original response to your post I alluded to an alternate 
technique for detecting the start bit.  Specifically, you can run the 
software UART timer at a multiple of the bit rate and sample the input 
pin often enough to ensure that you can guarantee sampling the 
subsequent bit windows somewhere near the middle.

Don Kinzer
ZBasic Microcontrollers
http://www.zbasic.net

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.