Hot!I2C Master on PIC24FJ64 Series

Page: < 1234 Showing page 4 of 4
Author
felipevip
Starting Member
  • Total Posts : 32
  • Reward points : 0
  • Joined: 2010/02/09 08:32:31
  • Location: 0
  • Status: offline
RE: I2C Master on PIC24FJ64 Series 2011/01/22 10:37:09 (permalink)
0
Hi Duaneh,

How did you get on with the bit bang code for the I2C protocol?
If you have it would you mind sharing it with me?
my email is felipevip@gmail.com

Thanks,


Felipe
#61
concertinaman
Bug Sorter
  • Total Posts : 245
  • Reward points : 0
  • Joined: 2007/06/14 05:56:58
  • Location: UK
  • Status: offline
RE: I2C Master on PIC24FJ64 Series 2011/01/22 12:40:12 (permalink)
0
#62
Maicol
Starting Member
  • Total Posts : 59
  • Reward points : 0
  • Joined: 2009/11/20 11:32:20
  • Location: 0
  • Status: offline
RE: I2C Master on PIC24FJ64 Series 2011/01/23 03:49:54 (permalink)
#63
Farving
New Member
  • Total Posts : 14
  • Reward points : 0
  • Joined: 2011/03/17 06:41:28
  • Location: 0
  • Status: offline
RE: I2C Master on PIC24FJ64 Series 2013/05/03 05:40:00 (permalink)
0
Hi All,
 
I've been trying to get my PIC24FJ64GB002 to work with I2C which is needed for reading sensor values for a semester project, and with less than a month left I'm tearning my hair out trying to solve this problem.. 

My issue is that I'm using I2C1 but I get absolutly not output at all.. If I'm trying to bitbang like suggested on robot-electronics.co.uk, nothing is happening on the bus, as it's constantly high. However if I remove my pull-up resistors (4k7) then the output seems to function correctly.. But then I can't use it for input.. 
 
Unfortunatly the errata doesn't mention any issues regarding I2C for this particulair microprocessor.
 
I haven't tried any of the workarounds nor tried the I2C2 module, but my question is what to do.. Basically I have several solutions:
1. Try the workarounds mentioned in here
2. Switch to I2C2 and check wether it works
3. Switch to a dsPIC33 instead
 
What seems to be the best solutions both in terms of speed and reliability? And has anyone had similiar issues that no output generated at all? A bus that is constantly high.
#64
starter48
New Member
  • Total Posts : 3
  • Reward points : 0
  • Joined: 2015/12/08 19:41:14
  • Location: China/Russia
  • Status: offline
Re: I2C Master on PIC24FJ64 Series 2018/06/13 20:08:40 (permalink)
0
I guess some people who whining in this thread (at least whose CPUs aren't in I2C errata list) just forgot to configure I2C pins as digital ones with ANSx/ADnPCFG registers.
#65
qɥb
Monolothic Member
  • Total Posts : 3332
  • Reward points : 0
  • Joined: 2017/09/09 05:07:30
  • Location: Jupiter
  • Status: offline
Re: I2C Master on PIC24FJ64 Series 2018/06/13 21:34:59 (permalink)
4 (1)
What prompted you to resurrect a five year old topic?
 

This forum is mis-configured so it only works correctly if you access it via https protocol.
The Microchip website links to it using http protocol. Will they ever catch on?
PicForum "it just works"
#66
Page: < 1234 Showing page 4 of 4
Jump to:
© 2018 APG vNext Commercial Version 4.5