CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

RDA problem

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Lorenzo



Joined: 23 Apr 2004
Posts: 14
Location: Pescara (Italy)

View user's profile Send private message

RDA problem
PostPosted: Tue Jun 22, 2004 1:10 am     Reply with quote

I'm using a 16LF648A with a PCW compiler ver 3.157.
The RDA interrupt doesn't work but the receive line works well.
I use the same program with a 16LF628 and there aren't problems.
I suppose that the compiler doesn't use the hardware UART.
Please Help
Lorenzo
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Jun 22, 2004 1:39 am     Reply with quote

Quote:
I'm using a 16LF648A with a PCW compiler ver 3.157.
The RDA interrupt doesn't work but the receive line works well.
I use the same program with a 16LF628 and there aren't problems.
I suppose that the compiler doesn't use the hardware UART.

In this thread, the problem was fixed by requesting updated files
from CCS:
http://www.ccsinfo.com/forum/viewtopic.php?t=17251&highlight=16f648a

In this thread, a similar problem occurs with the 16F88. Two solutions
are suggested: Try to trick the compiler by specifying pins C6 and C7
for the USART, or if you have PCW, then edit the Device data to fix
the problem.
http://www.ccsinfo.com/forum/viewtopic.php?t=19455

So that's three possible solutions. Another one would be to upgrade
the compiler.
Lorenzo



Joined: 23 Apr 2004
Posts: 14
Location: Pescara (Italy)

View user's profile Send private message

PostPosted: Tue Jun 22, 2004 1:57 am     Reply with quote

What can I do to fix this problem with device editor ?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Jun 22, 2004 2:28 am     Reply with quote

Quote:
What can I do to fix this problem with device editor ?

Here is a screen shot of the Device Editor.
http://www.ccsinfo.com/pix/Device%20Editor.gif
First, you would select the 16F648A for editing.
Then, in the lower right corner of the window, you
can set the pin numbers for the hardware USART.
You can look in the 16F648A data sheet to find the
pin numbers for the USART.

I don't have PCW. I just have the separate PCM and PCH
compilers, so I can't give you much more help than this.
If you need more information, hopefully someone who has
PCW or PCWH will provide further help.
Lorenzo



Joined: 23 Apr 2004
Posts: 14
Location: Pescara (Italy)

View user's profile Send private message

PostPosted: Tue Jun 22, 2004 2:34 am     Reply with quote

My chipedit is different.
It doesn't have the UART option
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group