Author |
Message |
Topic: problems with timer x on 18F452 |
Nopnop
Replies: 1
Views: 3235
|
Forum: General CCS C Discussion Posted: Fri Feb 08, 2008 5:30 pm Subject: problems with timer x on 18F452 |
hello,
we have a problem with timer.
I use 2 pics 18F452 and a FRAM from Ramtron FM24C512.
This components communicate with I2C in Multimaster Mode :
18F452 (1) (master) <--> FRAM & ... |
Topic: I2C and multi master and bus collision |
Nopnop
Replies: 0
Views: 3171
|
Forum: General CCS C Discussion Posted: Tue Dec 11, 2007 3:23 pm Subject: I2C and multi master and bus collision |
Hi,
I have a few questions on multi master and bus collision.
My project: I have two PIC 18F452 and EEPROM 24FC1025 who communicate on I2C.
The first PIC write EEPROM at address 0X00 and the second ... |
Topic: I2C problem |
Nopnop
Replies: 0
Views: 2998
|
Forum: General CCS C Discussion Posted: Thu Nov 29, 2007 2:00 pm Subject: I2C problem |
Hi, I am French, sorry for my English.
I have a problem with I2C. I have two PIC 18F452 and an EEPROM 24C1025. The two PIC are MULTI_MASTER.
The first PIC write a data in EEPROM at address 0X00 and ... |
Topic: I2C FORCE_HW problems |
Nopnop
Replies: 6
Views: 7223
|
Forum: General CCS C Discussion Posted: Thu Sep 06, 2007 2:17 pm Subject: I2C FORCE_HW problems |
Hi,
Thanks for your help
I have tried your solution but the result is
01 01
02 02
03 03
04 04
…….
Do you know why address does not appear perhaps the FORCE_HW parameter? |
Topic: I2C FORCE_HW problems |
Nopnop
Replies: 6
Views: 7223
|
Forum: General CCS C Discussion Posted: Wed Sep 05, 2007 2:09 pm Subject: I2C FORCE_HW problems |
Hi I have tried your advice with SLOW or FAST=100000.
The result is
00 00
01 00
02 00
03 00
…..
It is better but I don’t know why the data is first and address second. Normally it is the o ... |
Topic: I2C FORCE_HW problems |
Nopnop
Replies: 6
Views: 7223
|
Forum: General CCS C Discussion Posted: Tue Sep 04, 2007 2:47 pm Subject: I2C FORCE_HW problems |
Hi, PCM Programmer thanks for the solution of EEPROM.
Now I have a problem between two PIC 18F452.
When I send the address and data I don’t have the good result.
I have 00 00
And 01 90
And ... |
Topic: I2C FORCE_HW problems |
Nopnop
Replies: 6
Views: 7223
|
Forum: General CCS C Discussion Posted: Fri Aug 10, 2007 3:30 pm Subject: I2C FORCE_HW problems |
Hi, I am French, sorry for my English.
If I have understood the I2C parameter FORCE_HW manage the I2C bus automatically.
When I execute this code I must add a delay_ms(5) after I2C_stop() for my da ... |
|