Yahoo Groups archive

AVR-Chat

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

Message

Re: SERIAL PORT IN ATTINY

2004-11-18 by alan_probandt

In the files section of AVR-Chat, I have posted an assembly listing 
called 'SerialIO.asm' that does what you are asking for the Tiny11.


The code runs in the background as an interrupt process. It uses the 
timer fully so the timer can't be used for anything else.


  The routine is full-duplex serial and takes about 100 words of 
program code.  It uses four registers.




Good Luck with it.




Alan Probandt


Portland, Oregon USA




--- In AVR-Chat@yahoogroups.com, Jose Fuentes <josecarlosfuentes@y...> 
wrote:


> I want to use a Attiny11 (price under 0.54) and


> implement a serial port.  Since it doesn't have a


> USART I have to write the software to allow the


> microcontroller to send and receive data.  If somebody


> has done something like this in assembly or C please


> let me know.  Attiny11 only has 1KB FLASH and 32


> general purpose registers.


> Thanks.


> 


> Jose


> 


> 


> 	


> 


> 	


> 		


> ___________________________________ 


> ¡Llevate a Yahoo! en tu Unifón! 


> Ahora podés usar Yahoo! Messenger en tu Unifón, en cualquier momento 
y lugar. 


> Encontrá más información en: http://ar.mobile.yahoo.com/sms.html

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.