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 CCS Technical Support

Search found 12 matches
CCS Forum Index
Author Message
  Topic: 16f877a UART interrupt not triggering
xyzsor

Replies: 1
Views: 4667

PostForum: General CCS C Discussion   Posted: Fri Apr 22, 2011 6:11 am   Subject: 16f877a UART interrupt not triggering
Hey guys.. Im having problems making the UART interrupt work.. I searched the forum and everywhere else but i cant really find what's missing in my code.. Could anyone please please help me.. It would ...
  Topic: help with UART interrupt to restart program sequence
xyzsor

Replies: 2
Views: 8564

PostForum: General CCS C Discussion   Posted: Thu Mar 31, 2011 11:28 am   Subject: Solved thru reset
You need to read the character in the interrupt. The interrupt remains active, _till_ the character is read.
Using the goto in the interrupt, _will_ result in a stack overflow, and major problems.
Y ...
  Topic: help with UART interrupt to restart program sequence
xyzsor

Replies: 2
Views: 8564

PostForum: General CCS C Discussion   Posted: Thu Mar 31, 2011 6:26 am   Subject: help with UART interrupt to restart program sequence
Hi. Here's a short summary of my program.

#int_rda
void rda_isr(void)
{
goto start; // this part doesn't really work
}

void main()
{
start:
...
  Topic: how to use PORTE and pinA4 of pic16f877a as output ?
xyzsor

Replies: 3
Views: 6246

PostForum: General CCS C Discussion   Posted: Mon Jan 31, 2011 11:41 am   Subject: Thx
Cool. I never knew it was that simple. Thanks Ttelmah for the heads up. People in this forum are very helpful.
  Topic: how to use PORTE and pinA4 of pic16f877a as output ?
xyzsor

Replies: 3
Views: 6246

PostForum: General CCS C Discussion   Posted: Mon Jan 31, 2011 10:18 am   Subject: how to use PORTE and pinA4 of pic16f877a as output ?
Hi guys. I'm quite new in uC programming. I'm using a pic16f877a.

I need to use pin A4 and port E as a TTL output.

Is that possible? What configurations do I need to set?

The only ones I trig ...
  Topic: Does the PIC16f877a's UART buffer flooded? Need help.
xyzsor

Replies: 2
Views: 5724

PostForum: General CCS C Discussion   Posted: Mon Jan 31, 2011 9:23 am   Subject: Thanks
ERRORS......

Last answered on Saturday, in the thread 'continuous serial reception'.

Do a search.

Best Wishes


Nice!.. Thanks a lot.. just one word, fixed it all.. Errors.. Again thanks.. ...
  Topic: Does the PIC16f877a's UART buffer flooded? Need help.
xyzsor

Replies: 2
Views: 5724

PostForum: General CCS C Discussion   Posted: Mon Jan 31, 2011 12:44 am   Subject: Does the PIC16f877a's UART buffer flooded? Need help.
Good morning everyone. I have a little problem that I need help with.

I connected my PIC16f877a to a PC via UART.
I could send data and the PIC would receive it.

However I notice if the PIC is ...
  Topic: PIC16f877a Hex to Binary / Port Pin
xyzsor

Replies: 9
Views: 16580

PostForum: General CCS C Discussion   Posted: Wed Dec 29, 2010 1:43 am   Subject: PIC16f877a Hex to Binary / Port Pin
Sweet!.. Your good PCM programmer!!...
Thanks alot..

And its even simpler than i thought!..

Again, Thanks PCM programmer..
  Topic: PIC16f877a Hex to Binary / Port Pin
xyzsor

Replies: 9
Views: 16580

PostForum: General CCS C Discussion   Posted: Tue Dec 28, 2010 10:02 pm   Subject: PIC16f877a Hex to Binary / Port Pin

Are you following?



I was a bit confused a while ago.. But now i'm plain lost...


I thought you could like make a structure that points to pin a0-3 and pin b4-7 to replace PORTB..



...
  Topic: PIC16f877a Hex to Binary / Port Pin
xyzsor

Replies: 9
Views: 16580

PostForum: General CCS C Discussion   Posted: Tue Dec 28, 2010 6:07 pm   Subject: PIC16f877a Hex to Binary / Port Pin

I'm not sure what you mean by "pin 1 to 4". Do you means bits ?
Port bits are numbered 0 to 7 in the PIC.


YES. Thats exactly what I meant. Sorry. Thanks for correcting me.

...
  Topic: PIC16f877a Hex to Binary / Port Pin
xyzsor

Replies: 9
Views: 16580

PostForum: General CCS C Discussion   Posted: Tue Dec 28, 2010 6:01 pm   Subject: PIC16f877a Hex to Binary / Port Pin
Something to be very careful with is how the PC is handling your data you are sending. If you are using the standard windows drivers, I have (at least in the past) run into a number of instances wher ...
  Topic: PIC16f877a Hex to Binary / Port Pin
xyzsor

Replies: 9
Views: 16580

PostForum: General CCS C Discussion   Posted: Tue Dec 28, 2010 10:44 am   Subject: PIC16f877a Hex to Binary / Port Pin
Good day guys.. I need a little help here

Here's my setup
PC ---> UART ---> PIC16f877a ---> ARRAY of LED's

The PC will transmit a series of in HEX data using UART to the PIC uC.. The ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group