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 11 matches
CCS Forum Index
Author Message
  Topic: modifying the example CCS one wire protocol
mikem

Replies: 2
Views: 4004

PostForum: General CCS C Discussion   Posted: Mon Aug 10, 2009 2:01 am   Subject: modifying the example CCS one wire protocol
Hi FVM,

Thanks for your feedback. I agree that just using a bit bashed software implementation for the one wire interface is probably easiest.

Thanks again for your help.

Mike
  Topic: modifying the example CCS one wire protocol
mikem

Replies: 2
Views: 4004

PostForum: General CCS C Discussion   Posted: Fri Aug 07, 2009 5:08 am   Subject: modifying the example CCS one wire protocol
Hi all,

I am trying to modify the CCS example one wire interface to communciate between pics. The pics being used are the pic24f16a101.
The one wire will be connected to the rx uart on both pics. ...
  Topic: using sda and scl pins in parallel with using i2c functions
mikem

Replies: 4
Views: 5668

PostForum: General CCS C Discussion   Posted: Tue Jul 21, 2009 4:34 am   Subject: using sda and scl pins in parallel with using i2c functions
Hi,

so I was able to sort out my problem. After looking at assmebler code generated I noticed that the tris bits for port B were never getting set while using output_b to drive the sda and scl pins ...
  Topic: using sda and scl pins in parallel with using i2c functions
mikem

Replies: 4
Views: 5668

PostForum: General CCS C Discussion   Posted: Tue Jul 21, 2009 2:27 am   Subject: using sda and scl pins in parallel with using i2c functions
Hi again PCM programmer,

I found a link to a AUO datasheet with the same serial control interface that the display I am using.

http://www.gaw.ru/pdf/lcd/lcm/auo/A030DL01.pdf (pages 18 and 19)
...
  Topic: using sda and scl pins in parallel with using i2c functions
mikem

Replies: 4
Views: 5668

PostForum: General CCS C Discussion   Posted: Tue Jul 21, 2009 2:07 am   Subject: using sda and scl pins in parallel with using i2c functions
Hi PCM programmer,

unfortunately I cannot find the display datasheet on the web. Its from AUO and they seem to keep there datasheets under lock and key.

Basically my problem is trying to take c ...
  Topic: using sda and scl pins in parallel with using i2c functions
mikem

Replies: 4
Views: 5668

PostForum: General CCS C Discussion   Posted: Mon Jul 20, 2009 10:26 am   Subject: using sda and scl pins in parallel with using i2c functions
Hi all,

I am pleased to say that with help from the forum I can now successfully do read and write accesses using my I2c software master implemented on a pic16f960.

My next task is to talk to a ...
  Topic: dealing with clock stretching using ccs i2c functions
mikem

Replies: 7
Views: 7746

PostForum: General CCS C Discussion   Posted: Mon Jul 20, 2009 4:15 am   Subject: dealing with clock stretching using ccs i2c functions
Hi PCM programmer and FVM.

Thanks for your help.

Cheers
Mike
  Topic: dealing with clock stretching using ccs i2c functions
mikem

Replies: 7
Views: 7746

PostForum: General CCS C Discussion   Posted: Thu Jul 16, 2009 10:03 am   Subject: dealing with clock stretching using ccs i2c functions
Hi FvM,

from reading the pic16f690 datasheet I was under the impression that any master functionality had to be implemented in software.
The pic16f690 only has an SSP hardware module and not the M ...
  Topic: dealing with clock stretching using ccs i2c functions
mikem

Replies: 7
Views: 7746

PostForum: General CCS C Discussion   Posted: Thu Jul 16, 2009 7:15 am   Subject: dealing with clock stretching using ccs i2c functions
Hi all,

I am currently trying to convert some very elegantly written master I2C assembler code written for a pic16f960 over to C. The original assembly routines were based on the Microchip app note ...
  Topic: writing portable C code while using CCS build in functions
mikem

Replies: 4
Views: 4140

PostForum: General CCS C Discussion   Posted: Thu Jul 09, 2009 9:41 am   Subject: writing portable C code while using CCS build in functions
Thanks for the reply Wayne_.

>> If you used CCS functions as they are in your code you would just need to write your own versions if you ever moved to another compiler.

You are probably r ...
  Topic: writing portable C code while using CCS build in functions
mikem

Replies: 4
Views: 4140

PostForum: General CCS C Discussion   Posted: Thu Jul 09, 2009 9:11 am   Subject: writing portable C code while using CCS build in functions
Hi All,

I have just purchased the CCS compiler to use with a PIC16f690. I am trying to figure out the best way going forward of using all the built in functions of the CCS compiler while still writ ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group