Author |
Message |
Topic: PIC18F4431 I2C issue |
valery_che
Replies: 8
Views: 16492
|
Forum: General CCS C Discussion Posted: Wed Jan 06, 2016 12:44 pm Subject: PIC18F4431 I2C issue |
Unfortunately, the 2431/4431, is the only PIC18 with the power control PWM module that I know of. It's annoying, also, that the Microchip search doesn't allow this to be searched for (no column for th ... |
Topic: PIC18F4431 I2C issue |
valery_che
Replies: 8
Views: 16492
|
Forum: General CCS C Discussion Posted: Wed Jan 06, 2016 8:57 am Subject: PIC18F4431 I2C issue |
Hurrah!...
As a separate 'long term warning', I had problems with the I2C slave on the 4431. This is (partially) related to the errata sheet DS80132F.
I had to implement the timeout mentioned ... |
Topic: PIC18F4431 I2C issue |
valery_che
Replies: 8
Views: 16492
|
Forum: General CCS C Discussion Posted: Tue Jan 05, 2016 4:57 pm Subject: PIC18F4431 I2C issue |
I got bad generated code (00 for register addresses), until I used i2c1
in the library declaration. Also you do need to tell the PIC to use
the PortD pins for i2c. That is done with a fuse settin ... |
Topic: PIC18F4431 I2C issue |
valery_che
Replies: 8
Views: 16492
|
Forum: General CCS C Discussion Posted: Tue Jan 05, 2016 4:50 pm Subject: PIC18F4431 I2C issue |
hmmm go back to step one...
create a 1Hz LED program for the 4431. Does it function properly,ie: flash LED at 1 Hz rate ?
step two...
confirm your 4431 is correctly wired for I2C and has approp ... |
Topic: PIC18F4431 I2C issue |
valery_che
Replies: 8
Views: 16492
|
Forum: General CCS C Discussion Posted: Tue Jan 05, 2016 12:12 pm Subject: PIC18F4431 I2C issue |
Hello!
I need to make a communication between PIC18F4550 (Master) and PIC18F4431 (Slave) via I2C. 18F4550 working good with another slaves (another PIC18F4550 for tests). I2C bus scanner don`t see ... |
|