I2C does not build on PIC32

resodad
Posts: 71
Joined: Tue Jul 07, 2009 1:06 pm
Location: West Point, New York

I2C does not build on PIC32

Postby resodad » Wed Apr 04, 2012 2:31 pm

Lubin,
Please look into this. I believe it is a bug.
There are two other related posts from 2010:
viewtopic.php?f=1&t=318
and
viewtopic.php?f=8&t=267
Thanks
John
desktopFig.jpg
Attachments
i2cBuildError.txt
build output with error
(4.38 KiB) Downloaded 106 times
I2C_test_simple2.mdl
(29.81 KiB) Downloaded 102 times

resodad
Posts: 71
Joined: Tue Jul 07, 2009 1:06 pm
Location: West Point, New York

Re: I2C does not build on PIC32

Postby resodad » Wed Apr 25, 2012 1:37 pm

Hi Lubin,
Can you please tell me if this bug is a priority for you?
If it is not, I will work on the I2C code in C.
Thanks, John

LubinKerhuel
Site Admin - Expert
Posts: 616
Joined: Wed Mar 07, 2007 11:23 pm
Location: Marseille - France
Contact:

Re: I2C does not build on PIC32

Postby LubinKerhuel » Fri Apr 27, 2012 1:31 am

Hello John,

As you probably noticed, I am pretty busy theses time.
It's would be difficult for me spend much time on this question.

However, if the problem is just one bit MI2C1IF whose name changed, I might solve it pretty easily.
Do you think the problem is limited to this ?

Lubin

resodad
Posts: 71
Joined: Tue Jul 07, 2009 1:06 pm
Location: West Point, New York

Re: I2C does not build on PIC32

Postby resodad » Fri Apr 27, 2012 2:58 pm

Hi Lubin,
My C expert, Konstantin, says:
"Probably not, although it most likely will not be too much work to fix.
In the I2CCON register in particular, going from the dsPIC family of microcontrollers to the PIC32, the I2CCON register gets renamed I2CxCON where x is the I2C module number. Also within the I2CCON register itself the I2CEN and I2CSIDL bits get renamed ON and SIDL in the PIC32 hardware."
John


Return to “bug reports”

Who is online

Users browsing this forum: No registered users and 1 guest