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 6 matches
CCS Forum Index
Author Message
  Topic: getc reads only trash
Tomson

Replies: 8
Views: 7614

PostForum: General CCS C Discussion   Posted: Wed Apr 30, 2008 3:47 am   Subject: getc reads only trash
Hi Matro,

at the moment I think the same. I will do some tests on the board.
Thank you very much for your help.

Regards, Tomson
  Topic: getc reads only trash
Tomson

Replies: 8
Views: 7614

PostForum: General CCS C Discussion   Posted: Wed Apr 30, 2008 3:33 am   Subject: getc reads only trash
There is no change in the behavior after I've outposted the suggested lines.
I've looked at the incoming signal with the scope and recognized that this was very strange. I've to look more detailled f ...
  Topic: getc reads only trash
Tomson

Replies: 8
Views: 7614

PostForum: General CCS C Discussion   Posted: Wed Apr 30, 2008 2:56 am   Subject: getc reads only trash
Hi Matro,

thank you for your fast reply. The hyperterminal and the pic has the same RS232 settings. 2400, 8E1. The communication from PIC to PC works fine. I sent a short message at the start of th ...
  Topic: getc reads only trash
Tomson

Replies: 8
Views: 7614

PostForum: General CCS C Discussion   Posted: Wed Apr 30, 2008 2:42 am   Subject: getc reads only trash
Hi,

I'am trying to get a char over the rs232 interrupt INT_RDA of my pic. But what ever I sent to the controller by HyperTerminal, it gets only a 0xFF.

I'am using a PIC18F2480 and a CCS PCWH Com ...
  Topic: I2C bus causes reset
Tomson

Replies: 2
Views: 4187

PostForum: General CCS C Discussion   Posted: Thu May 10, 2007 2:20 am   Subject: I2C bus problem obviously solved!
Hello PCM Programmer,

thanks for your fast reply. Obviously the problem is solved. But I have to change the #use i2c instruction too.

The following code (snipped) does work well.


#use I2C(M ...
  Topic: I2C bus causes reset
Tomson

Replies: 2
Views: 4187

PostForum: General CCS C Discussion   Posted: Wed May 09, 2007 1:59 am   Subject: I2C bus causes reset
Hello,

I'd like to program a i2c bus between a pic and a DAC. The pic I'am using is a PIC18F2480 with hardware i2c. The DAC is a MAX5812L with the device adress 0x20.

My code is running until th ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group