IPB


Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Codevision C for AVR - interrupt driven TX serial
Digg this topic · Save to del.icio.us · Slashdot It · Post to Technorati · Post to Furl · Submit to Reddit · Share on Facebook · Fark It · Googlize This Post · Add to ma.gnolia · Tag to Wink · Add to MyWeb · Add to Netscape
marke
post Jan 2 2003, 04:58 AM
Post #1


Posting Freak
******

Group: Moderator
Posts: 2,099
Joined: 24-April 02
From: Christchurch, New Zealand
Member No.: 1



I have been working on a little project using the Codevision AVR version 1.23.7 standard and have a number of interrupts running. I have found that I can run the RX under interrupt, but not the TX. I get into all sorts of trouble with the TX running under interrupt. As the code was all set up using the project, and I wait till the TX buffer is empty before sending any more data, I don't think that I am doing anything wrong. I think that I can live with running it polled, but would be nice to know the answer.


--------------------
Go to the top of the page
 
+Quote Post
marke
post Jan 5 2003, 06:41 PM
Post #2


Posting Freak
******

Group: Moderator
Posts: 2,099
Joined: 24-April 02
From: Christchurch, New Zealand
Member No.: 1



OK, found that the problem was tied up with the interrupts being enabled incorrectly during the transmit serial routine. Thanks to Ed for the advice and help.
Regards,


--------------------
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts   0 BigMax 1,313 9th October 2002 - 03:10 AM
Last post by: BigMax
No New Posts   1 BrianKRogers 825 2nd November 2002 - 09:05 AM
Last post by: marke
No New Posts   1 andrie 1,424 6th February 2004 - 06:02 AM
Last post by: marke
No New Posts   1 chrisnejm 4,694 23rd March 2004 - 07:24 PM
Last post by: marke
No New Posts   0 homerjay 1,323 21st July 2004 - 12:07 PM
Last post by: homerjay



RSS Lo-Fi Version Time is now: 1st December 2008 - 09:21 PM
hosted by : L M Photonics Ltd