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 8 matches
CCS Forum Index
Author Message
  Topic: DS1340 RTC driver
YARGICH

Replies: 4
Views: 51078

PostForum: Code Library   Posted: Thu Mar 19, 2009 6:16 pm   Subject: DS1340 RTC driver
Thx for your research. I solved this problem. When I read hour, minute, and second data serially, It gave me wrong datas. after that I wrote separate routines to read these datas. Now, It gives me tru ...
  Topic: DS1340 RTC driver
YARGICH

Replies: 4
Views: 51078

PostForum: Code Library   Posted: Wed Mar 18, 2009 7:56 pm   Subject: DS1340 RTC driver
Hi,

I tried to use your ds1340 driver. But when I read hour, minute and second, I always read hour=0x2D, minute=0x55, and second=0x55. what do you think about my problem ?

I am using ds134 ...
  Topic: I2C Communication Problem using PIC16F877A
YARGICH

Replies: 47
Views: 76870

PostForum: General CCS C Discussion   Posted: Sat Jan 20, 2007 6:57 pm   Subject: I2C Communication Problem using PIC16F877A
Thak you very much. I accomplished to run the HMC6352. When @PCM Programmer said that it is like EEPROM, I remembered that I wrote my EEPROM software.

But, in page 10 of HMC6352 datasheet said tha ...
  Topic: I2C Communication Problem using PIC16F877A
YARGICH

Replies: 47
Views: 76870

PostForum: General CCS C Discussion   Posted: Sat Jan 20, 2007 3:27 pm   Subject: I2C Communication Problem using PIC16F877A
when I send these commands;

I2C_START();
ack1=I2C_WRITE(0x43); // Read from HMC6352
ack2=I2C_WRITE(0x72); // Read from EEprom
ack3=I2C_WRITE(0 ...
  Topic: I2C Communication Problem using PIC16F877A
YARGICH

Replies: 47
Views: 76870

PostForum: General CCS C Discussion   Posted: Sat Jan 20, 2007 2:51 pm   Subject: I2C Communication Problem using PIC16F877A
Yes, I have. But I have 2 pieces 10k pull-up on SDA and SCL. I know that, 10K is needed for 100kHz communication and 1K is needed for 400kHz communication. am I right? What is your opinion about value ...
  Topic: I2C Communication Problem using PIC16F877A
YARGICH

Replies: 47
Views: 76870

PostForum: General CCS C Discussion   Posted: Sat Jan 20, 2007 1:56 pm   Subject: I2C Communication Problem using PIC16F877A
@PCM programmer,

I wrote a new software as you said. But it isn't working. When the program start, it gives NOACK, MSB=255 and LSB=255.

when write only this commands;
Start bit
Send 0x43 ...
  Topic: I2C Communication Problem using PIC16F877A
YARGICH

Replies: 47
Views: 76870

PostForum: General CCS C Discussion   Posted: Fri Jan 19, 2007 5:30 am   Subject: I2C Communication Problem using PIC16F877A
I want to add something. When I send 0x43 command without force_HW, it gives to me ACK and I read MSB of heading=0 and LSB of heading=255.

I haven't got a oscillascope. So, I don't see my signals. ...
  Topic: I2C Communication Problem using PIC16F877A
YARGICH

Replies: 47
Views: 76870

PostForum: General CCS C Discussion   Posted: Fri Jan 19, 2007 4:19 am   Subject: I2C Communication Problem using PIC16F877A
Hi,

I try to use my HMC6352 sensor with PIC16f687 and CCS. But I didn't accomplish to use it. When I send a first command, it gives to me ACK. But when I send next command or new command, it g ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group