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 7 matches
CCS Forum Index
Author Message
  Topic: Slowing down the i2c Bus
leem

Replies: 12
Views: 11190

PostForum: General CCS C Discussion   Posted: Fri Nov 20, 2009 9:18 pm   Subject: Slowing down the i2c Bus
That cool, figured you didn't. Just reporting what I am experiencing. I appreciate the help.

-Lee
  Topic: Slowing down the i2c Bus
leem

Replies: 12
Views: 11190

PostForum: General CCS C Discussion   Posted: Fri Nov 20, 2009 7:31 pm   Subject: Slowing down the i2c Bus
So from what you said It should be this

#include <18F14K50.h>
#fuses HS, NOWDT, PUT, BROWNOUT, NOLVP
#use delay (clock=20MHZ)
#define I2C_SCL PIN_B6
#define I2C_SDA PIN_B4
...
  Topic: Slowing down the i2c Bus
leem

Replies: 12
Views: 11190

PostForum: General CCS C Discussion   Posted: Fri Nov 20, 2009 6:04 pm   Subject: Slowing down the i2c Bus
Can you give me the code you used exactly to get that. I just tried pcm's code and changed it FAST=40000 and force_hw and I still am getting over 300Khz clocking on the SCL line.


-Lee
  Topic: Slowing down the i2c Bus
leem

Replies: 12
Views: 11190

PostForum: General CCS C Discussion   Posted: Fri Nov 20, 2009 4:21 pm   Subject: Slowing down the i2c Bus
I took your code and tried it and low and behold it was actually clocking at 32.33 khz. I have a meter that can measure frequency so yes I am measuring the SCL line clock speed.

Apparently I have ...
  Topic: Slowing down the i2c Bus
leem

Replies: 12
Views: 11190

PostForum: General CCS C Discussion   Posted: Fri Nov 20, 2009 3:16 pm   Subject: Slowing down the i2c Bus
Hey Everyone,
Having a slight problem with a 18f14k50 chip and i2c bus.

I am using complier ver 4.099. I am trying to use the hardware i2c pins on the micro to talk to a chip that specifica ...
  Topic: 16f688 uart problems still
leem

Replies: 4
Views: 5291

PostForum: General CCS C Discussion   Posted: Thu Jan 17, 2008 8:33 pm   Subject: 16f688 uart problems still
Thanks PCM. That worked. I guess I should have actually programmed a pic before I posted. I was running the code in the oshonsoft Pic Simulator and it didn't display anything. I tried your example ...
  Topic: 16f688 uart problems still
leem

Replies: 4
Views: 5291

PostForum: General CCS C Discussion   Posted: Wed Jan 16, 2008 10:13 pm   Subject: 16f688 uart problems still
Hello,
I have been trying to program a 16f688 with the hardware uart enabled however It doesn't seem to work. I have looked all over this forum and noticed a mention that v3.2 of the compiler ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group