Hi,
Possible probem..checked it a few times and different ICs.
FC v8.2.2.15
Working with PIC 18F2580, small test program using i2C (attached), program works fine using software mode, no output on hardware pins in 'channel 1' mode.
Both modes using pins C4 SDA and C3 SCL. All other settings kept the same, just changing the channel type.
thanks, J.
18F2580 I2C Hardware Channel1 not responding
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: 18F2580 I2C Hardware Channel1 not responding
Hello,
I can't see the I2C Initialise function being called anywhere in the code? Could this be the cause of the problem? The software channel can probably get away without being initialised.
I can't see the I2C Initialise function being called anywhere in the code? Could this be the cause of the problem? The software channel can probably get away without being initialised.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- Jay Dee
- Posts: 398
- Joined: Tue Aug 18, 2009 6:42 pm
- Has thanked: 121 times
- Been thanked: 154 times
- Contact:
Re: 18F2580 I2C Hardware Channel1 not responding
Ahh...shoot. Yeah sorry Ben. Just tested on hardware and all works.
False Alert!
J.
False Alert!
J.