Hot!TWo PIC 18f4620 , one as master & the second is slave I2C communication problem

Page: << < ..6789 Showing page 9 of 9
Author
DarioG
farewell.
  • Total Posts : 53177
  • Reward points : 0
  • Joined: 2006/02/25 08:58:22
  • Location: porcodioland
  • Status: offline
Re: TWo PIC 18f4620 , one as master & the second is slave I2C communication problem 2017/11/15 07:01:07 (permalink)
0
no, for power supply pins

forget about me, subhumans. adieu

DarioG
farewell.
  • Total Posts : 53177
  • Reward points : 0
  • Joined: 2006/02/25 08:58:22
  • Location: porcodioland
  • Status: offline
Re: TWo PIC 18f4620 , one as master & the second is slave I2C communication problem 2017/11/15 07:03:20 (permalink)
0
It may be worth clearing all SSPSTAT *after* enabling the module, it seems...

forget about me, subhumans. adieu

ubuntuman
Senior Member
  • Total Posts : 162
  • Reward points : 0
  • Joined: 2016/05/02 15:28:40
  • Location: 0
  • Status: offline
Re: TWo PIC 18f4620 , one as master & the second is slave I2C communication problem 2017/11/15 07:31:49 (permalink)
+1 (1)

I2C_Slave_Init(0xAA); //Initialize as a I2C Slave with address 0x30
SSPSTAT=0;

u mean like this ok i try . no change
Page: << < ..6789 Showing page 9 of 9
Jump to:
© 2017 APG vNext Commercial Version 4.5