Lubin,
Please look into this. I believe it is a bug.
There are two other related posts from 2010:
http://www.kerhuel.eu/forum/viewtopic.php?f=1&t=318
and
http://www.kerhuel.eu/forum/viewtopic.php?f=8&t=267
Thanks
John
I2C does not build on PIC32
I2C does not build on PIC32
- Attachments
-
- i2cBuildError.txt
- build output with error
- (4.38 KiB) Downloaded 1076 times
-
- I2C_test_simple2.mdl
- (29.81 KiB) Downloaded 1057 times
Re: I2C does not build on PIC32
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
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
-
- Site Admin - Expert
- Posts: 616
- Joined: Wed Mar 07, 2007 11:23 pm
- Location: Bayonne- France
- Contact:
Re: I2C does not build on PIC32
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
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
Re: I2C does not build on PIC32
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
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
Who is online
Users browsing this forum: No registered users and 49 guests