xolang1 Posted September 25, 2003 Report Share Posted September 25, 2003 Hi everyone, Atmel's website offers application note AVR304 (interrupt driven software UART) and it has an included C code implementing the appnote. However, the example code does not use codevision, i've been trying to "convert" it to codevision syntax but i found i could not continue because the header files used are not for codevision. Does anyone have a software UART code written for codevison? Im a begginer so i need to a code to start from. Any help will do. Thanks in advance. -=xolang1=- Link to comment Share on other sites More sharing options...
marke Posted September 26, 2003 Report Share Posted September 26, 2003 Hello xolang1 Do you actually need a software UART? there is already an on board UART and you can drive this under interrupt. It is much easier to use the onboard peripheral than to use a software UART. Best regards, Mark Empson | administratorSkype Contact = markempson | phone +64 274 363 067LMPForum | Power Factor | L M Photonics Ltd | Empson family | Advanced Motor Control Ltd | Pressure Transducers | Smart Relay | GSM Control | Mark Empson Website | AuCom | Soft Starters Link to comment Share on other sites More sharing options...
xolang1 Posted September 29, 2003 Author Report Share Posted September 29, 2003 hi marke, Yes i do need a second UART. My design is currently connected to a PC via the on board UART. It requires another communications port to connect to another device. The appnote from atmel is really great but i haven't yet "converted" it for codevision. Maybe some one out there can help. Thanks again. xolang1 Link to comment Share on other sites More sharing options...
marke Posted October 1, 2003 Report Share Posted October 1, 2003 Hello xolang1 Attached is the software UART ported to Codevision.This is not fully debugged and tested, but is almost fully there and is something to work on. Best regardssuartex.c Mark Empson | administratorSkype Contact = markempson | phone +64 274 363 067LMPForum | Power Factor | L M Photonics Ltd | Empson family | Advanced Motor Control Ltd | Pressure Transducers | Smart Relay | GSM Control | Mark Empson Website | AuCom | Soft Starters Link to comment Share on other sites More sharing options...
xolang1 Posted October 1, 2003 Author Report Share Posted October 1, 2003 hi marke, WOW! i didnt know u really would provide the full code! I love this site! Thanks for this code. I will work on it in the coming days. again THANKS, xolang1 Link to comment Share on other sites More sharing options...
Micha Posted January 23, 2004 Report Share Posted January 23, 2004 Hi.Is someone modifyed that suartex.c code to work whit 2313 or 2323? I try to do that but can't get it work Or is there ready code for those chips where software uart is working? Micha p.s. sory my bad english Link to comment Share on other sites More sharing options...
greatdoom Posted August 13, 2006 Report Share Posted August 13, 2006 Hi all, it seems that the atached code is not available anymore. Could someone please atach this code once again? Thanks in advance, Doom Link to comment Share on other sites More sharing options...
myvarmamail Posted July 11, 2007 Report Share Posted July 11, 2007 Hi all, it seems that the atached code is not available anymore. Could someone please atach this code once again? Thanks in advance, Doom \ can any one re attach the file please Link to comment Share on other sites More sharing options...
itxaso Posted August 9, 2007 Report Share Posted August 9, 2007 Hi all Somebody could orient me to be able to find code c to implement a UART by software. The file suartec.c is missing...Thanks Link to comment Share on other sites More sharing options...
zlchen Posted June 16, 2008 Report Share Posted June 16, 2008 Hello xolang1 Attached is the software UART ported to Codevision. This is not fully debugged and tested, but is almost fully there and is something to work on. Best regards Ths a lot! i need it now! Link to comment Share on other sites More sharing options...
oswaldus Posted March 4, 2010 Report Share Posted March 4, 2010 Please, Can any one re attach the file? Best regards Link to comment Share on other sites More sharing options...
cni Posted March 23, 2011 Report Share Posted March 23, 2011 I need it, too! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now