Author |
Message |
Topic: I2C - Hang on I2C_write() |
mwildbolz
Replies: 9
Views: 18758
|
Forum: General CCS C Discussion Posted: Sun Dec 18, 2005 5:42 am Subject: I2C - Hang on I2C_write() |
Has nobody a good idea??
I need some ideas because i have to finish my work on this project
Please help me.
Greetings, Markus |
Topic: I2C - Hang on I2C_write() |
mwildbolz
Replies: 9
Views: 18758
|
Forum: General CCS C Discussion Posted: Fri Dec 16, 2005 7:16 am Subject: Protecting circuit for i2c Pins |
Hi there!
I hadn't tried your code, but i found the problem. It looks like the I2C Port of my �C is broken down.
I am not sure why, but if i take another controller of the same type, with the sa ... |
Topic: I2C - Hang on I2C_write() |
mwildbolz
Replies: 9
Views: 18758
|
Forum: General CCS C Discussion Posted: Wed Dec 14, 2005 2:58 am Subject: I2C - Hang on I2C_write() |
Hi!
My hardware is OK. I have installed pull up resistors and i have 5 Volts on SDA and SCL when the bus is idle.
The values of the resistors are 4k7
The code from my testing program:
#inclu ... |
Topic: I2C - Hang on I2C_write() |
mwildbolz
Replies: 9
Views: 18758
|
Forum: General CCS C Discussion Posted: Tue Dec 13, 2005 2:35 pm Subject: I2C - Hang on I2C_write() |
Hi!
Since a few days, i have a big problem.
When i process an i2c_write() command on my PIC 16F747 via the hardware I2C - Interface, the �C hangs!
I have no ideas, whats wrong with my controlle ... |
Topic: EEPROM with HW I2C and PIC 16F747 |
mwildbolz
Replies: 4
Views: 6192
|
Forum: General CCS C Discussion Posted: Thu Jul 28, 2005 1:30 am Subject: EEPROM with HW I2C and PIC 16F747 |
Oh god!
I think, i haven't read this.
I always thought, that there could be mor than one EEPROMs of this type on the bus.
I thank you really very much and this is the explanation why i ... |
Topic: EEPROM with HW I2C and PIC 16F747 |
mwildbolz
Replies: 4
Views: 6192
|
Forum: General CCS C Discussion Posted: Thu Jul 28, 2005 12:26 am Subject: EEPROM with HW I2C and PIC 16F747 |
Thanks for your respond!
But i change the Hardware address (the pins A0-A2 at the EEPROM) and i always get data even if the hardware address and the address specified in my program don't match.
An ... |
Topic: EEPROM with HW I2C and PIC 16F747 |
mwildbolz
Replies: 4
Views: 6192
|
Forum: General CCS C Discussion Posted: Wed Jul 27, 2005 11:33 am Subject: EEPROM with HW I2C and PIC 16F747 |
Hi!
I've a very curious problem:
I try to communicate with a I�C EEprom (Microchip 24AA02). I think (but i'm not sure) that i am able to write data into the EEPROM but when i read the data, i get ... |
Topic: reset angst!!!! |
mwildbolz
Replies: 5
Views: 7973
|
Forum: General CCS C Discussion Posted: Wed Jul 27, 2005 6:19 am Subject: reset angst!!!! |
Like MikeValencia said, i'd say, that i would be the best to implement some messages into your program to see, in which state the �C is (and the easiest way is to do this via the RS232 interface).
... |
Topic: Frequency when using INTRC on PIC16F747 |
mwildbolz
Replies: 2
Views: 4328
|
Forum: General CCS C Discussion Posted: Wed Jul 27, 2005 1:45 am Subject: Frequency when using INTRC on PIC16F747 |
Thanks, that was that, what i wanted to know.
regards, Markus |
Topic: reset angst!!!! |
mwildbolz
Replies: 5
Views: 7973
|
Forum: General CCS C Discussion Posted: Wed Jul 27, 2005 1:29 am Subject: reset angst!!!! |
Can you post your code??
This would be very helpful |
Topic: Frequency when using INTRC on PIC16F747 |
mwildbolz
Replies: 2
Views: 4328
|
Forum: General CCS C Discussion Posted: Tue Jul 26, 2005 11:45 am Subject: Frequency when using INTRC on PIC16F747 |
Hi boys!
I've a short question: What is the internal frequency of the PIC, when i use the internal RC oscillator??
Are this the 31.25 kHz mentioned in the datasheet??
Markus |
Topic: Hardware I2C doesn work |
mwildbolz
Replies: 13
Views: 17439
|
Forum: General CCS C Discussion Posted: Tue Jul 26, 2005 11:33 am Subject: Hardware I2C doesn work |
Sorry, i've forgotten to log in
regards, Markus |
Topic: Hardware I2C doesn work |
mwildbolz
Replies: 13
Views: 17439
|
Forum: General CCS C Discussion Posted: Tue Jul 26, 2005 10:39 am Subject: Hardware I2C doesn work |
Oh, clear.
I'll check it and report as soon as possible! |
Topic: Hardware I2C doesn work |
mwildbolz
Replies: 13
Views: 17439
|
Forum: General CCS C Discussion Posted: Tue Jul 26, 2005 10:33 am Subject: Hardware I2C doesn work |
I think, now it is in the right form:
6: #use I2C(master,sda=PIN_C4,scl=PIN_C3,FORCE_HW)
004 1394 BCF 0x14, 0x7
005 118C BCF 0xc, 0x3
006 08 ... |
Topic: Hardware I2C doesn work |
mwildbolz
Replies: 13
Views: 17439
|
Forum: General CCS C Discussion Posted: Tue Jul 26, 2005 10:22 am Subject: Hardware I2C doesn work |
OK!
I've found the problem!
In the device editor, both has to be enabled (i2c master AND slave).
In my case, only Master was enabled and therfore, the compiler wasn't able to produce code for HW ... |
|