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 10 matches
CCS Forum Index
Author Message
  Topic: UART on PIC16F688
Simon Martineau

Replies: 15
Views: 33387

PostForum: General CCS C Discussion   Posted: Mon Jul 05, 2004 7:22 am   Subject: UART on PIC16F688
It works !

Thank you very mutch.

Simon Martineau
  Topic: UART on PIC16F688
Simon Martineau

Replies: 15
Views: 33387

PostForum: General CCS C Discussion   Posted: Wed Jun 30, 2004 8:46 am   Subject: UART on PIC16F688
No one has ever used the hardware UART on a PIC16F688 ???

If anyone has done it, I would really like to have a code example. I've tried different things in the last three days but nothing worked.
...
  Topic: Freq measure
Simon Martineau

Replies: 8
Views: 15943

PostForum: General CCS C Discussion   Posted: Tue Jun 29, 2004 12:25 pm   Subject: Freq measure
You must understand that you are not mesuring directly the frequency but calculating it from the period (f=1/T). The way you measure the period is by counting how many cycles at 40MHz will be complete ...
  Topic: UART on PIC16F688
Simon Martineau

Replies: 15
Views: 33387

PostForum: General CCS C Discussion   Posted: Tue Jun 29, 2004 10:03 am   Subject: UART on PIC16F688
I changed my TRISC value for 0xFF since I read on the datasheet that it has to be 1 for both TX and RX. Anyway, it changes absolutely nothing, it still don't work.
  Topic: UART on PIC16F688
Simon Martineau

Replies: 15
Views: 33387

PostForum: General CCS C Discussion   Posted: Tue Jun 29, 2004 9:09 am   Subject: UART on PIC16F688
In your original post, you said that the "signal for the byte I send is also different from what I expect". Now you are seeing nothing?.
Assuming the original code was sending something, what were y ...
  Topic: UART on PIC16F688
Simon Martineau

Replies: 15
Views: 33387

PostForum: General CCS C Discussion   Posted: Tue Jun 29, 2004 8:19 am   Subject: UART on PIC16F688
I tried redoing it without using the CCS templates, by directly accessing the registers but it still doesn't work.

If anyone can get a look at the code, I zipped the project at:

void Init(v ...
  Topic: UART on PIC16F688
Simon Martineau

Replies: 15
Views: 33387

PostForum: General CCS C Discussion   Posted: Mon Jun 28, 2004 12:53 pm   Subject: UART on PIC16F688
Are you a simple customer as I am or do you work for CCS ? Because if you are just a user as I am, maybe you are not the one who should have to do that.

Anyway, thanks a lot for your time.

Simo ...
  Topic: UART on PIC16F688
Simon Martineau

Replies: 15
Views: 33387

PostForum: General CCS C Discussion   Posted: Mon Jun 28, 2004 12:28 pm   Subject: UART on PIC16F688
I cut and paste your program, compile it and it still do the same thing. On the other hand, if I try to use another pin (software UART), then it works but I don't know why.

Thank you.
  Topic: UART on PIC16F688
Simon Martineau

Replies: 15
Views: 33387

PostForum: General CCS C Discussion   Posted: Mon Jun 28, 2004 11:22 am   Subject: UART on PIC16F688
Hi,
1 - I tried to put TX on RC4 and RX on RC5 as described in the datasheet but my scope showed nothing on Pin #6 (RC4): 1.2V constant. Then, I thought that the TX and RX names might be seen from t ...
  Topic: UART on PIC16F688
Simon Martineau

Replies: 15
Views: 33387

PostForum: General CCS C Discussion   Posted: Mon Jun 28, 2004 10:06 am   Subject: UART on PIC16F688
Hi, I'm new to both PIC and CCS. I have a problem with using the UART transmission working. I use a 20 MHz oscillator, the delay is working fine (verified), the hardware seems OK, I toggled the pin 5V ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group