Morning all
Needing a larger memory, I have upgraded to a PIC18F47K40 device and found that the I2C is not working as it had done before. The program stops when it encounters a I2C command when using hardware channel 2 (SCL at D:0 and SDA at D:1). The device works correctly when using the software channel.
I have seen on the FC8 forum a discussion between Leigh and Martin, some three years ago, in which it appears this has been resolved. Would it be possible to get a similar fix for this for FC7.
Thanks Howard
I2C PIC18F47K40
Moderator: Benj
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: I2C PIC18F47K40
Hi Howard.
As v7 is no longer supported, I have attached the I2C.cal from v8 for you to try at your risk in V7
You will need to close Flowocode.
Then make a backup copy of your current I2C.cal file found within:
C:\Program Files (x86)\Flowcode 7\CAL\PIC
Then you can replace it with the attached file.
As v7 is no longer supported, I have attached the I2C.cal from v8 for you to try at your risk in V7
You will need to close Flowocode.
Then make a backup copy of your current I2C.cal file found within:
C:\Program Files (x86)\Flowcode 7\CAL\PIC
Then you can replace it with the attached file.
- Attachments
-
- PIC_CAL_I2C.c
- (32.07 KiB) Downloaded 188 times
Martin