![]() |
Forum Index : Microcontroller and PC projects : I2C question
Author | Message | ||||
kiiid Guru ![]() Joined: 11/05/2013 Location: United KingdomPosts: 671 |
Is there any way to enable the PIC32's built-in pull-ups on the I2C lines, and have the lines configures for I2C operation in MM+ with them? Thanks http://rittle.org -------------- |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10406 |
Try setting up I2C as normal and then poking the CNPUB register to turn on the pullup on b8 and b9 Poke &HbF886158, &H300 UNTESTED!!!!!! |
||||
bigmik![]() Guru ![]() Joined: 20/06/2011 Location: AustraliaPosts: 2956 |
Hi Kon, Peter, That is a good idea, I assume these pullups will be `weak' ones so external may still be required but they may be fine for some devices at slow speeds. maybe the I2C open command can be added to by something like I2C OPEN speed, timeout, PU Regards, Mick Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<< |
||||
Geoffg![]() Guru ![]() Joined: 06/06/2011 Location: AustraliaPosts: 3303 |
Great idea, I will add it to the list. Geoff Graham - http://geoffg.net |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |