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 5 matches
CCS Forum Index
Author Message
  Topic: If I use I2C my PIC sometimes stops work
darkmagic

Replies: 10
Views: 18836

PostForum: General CCS C Discussion   Posted: Thu Jun 16, 2011 2:02 am   Subject: If I use I2C my PIC sometimes stops work
SCL is being intermittently held low by the old EEPROM.
Sounds as if the chip is faulty, and cannot always complete an operation....

Best Wishes

If I use PicKit to read or to write to this EEPR ...
  Topic: If I use I2C my PIC sometimes stops work
darkmagic

Replies: 10
Views: 18836

PostForum: General CCS C Discussion   Posted: Wed Jun 15, 2011 11:27 am   Subject: If I use I2C my PIC sometimes stops work
I got rid capacitors.
I changed value of pull-up resistors - now 1320 ohm.
PIC, PCA drivers, EEPROM and pull-up resistors are connect to the same 3V3 net. Before each device is switch and I can tu ...
  Topic: If I use I2C my PIC sometimes stops work
darkmagic

Replies: 10
Views: 18836

PostForum: General CCS C Discussion   Posted: Wed Jun 15, 2011 3:21 am   Subject: If I use I2C my PIC sometimes stops work
asmallri: If I measure resistors between PIC (SDA, SCL) and 3V3 net, I'll get 2170R.

Ttelmah:
1. I use capacitors because I see it in some circuit and it works perfect. I know that capacitance is ...
  Topic: If I use I2C my PIC sometimes stops work
darkmagic

Replies: 10
Views: 18836

PostForum: General CCS C Discussion   Posted: Wed Jun 15, 2011 2:32 am   Subject: If I use I2C my PIC sometimes stops work
Both pull-up resistors are 2k2 to 3V3 and to GND there are 100p capacitors (software I2C is nothing with PIR1 register.

edit1:
1. I compile my project without force_hw and it runs good.
2. I put ...
  Topic: If I use I2C my PIC sometimes stops work
darkmagic

Replies: 10
Views: 18836

PostForum: General CCS C Discussion   Posted: Tue Jun 14, 2011 4:40 pm   Subject: If I use I2C my PIC sometimes stops work
Hi, I'm using PIC 18F67J50 (void main(void) runs.

main.c:
#include <18F67J50.h>
#DEVICE ADC=10
#fuses HS,NOWDT,NOPROTECT, PLL1, NOSTVREN, NOFCMEN
#use delay(clock=24000000)
#USE ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group