• AVR Freaks

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

Page: << < ..6789 Showing page 9 of 9
Author
DarioG
Allmächtig.
  • Total Posts : 54081
  • Reward points : 0
  • Joined: 2006/02/25 08:58:22
  • Location: Oesterreich
  • 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

GENOVA :D :D ! GODO
DarioG
Allmächtig.
  • Total Posts : 54081
  • Reward points : 0
  • Joined: 2006/02/25 08:58:22
  • Location: Oesterreich
  • 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...

GENOVA :D :D ! GODO
ubuntuman
Super Member
  • Total Posts : 232
  • 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
mjochinsen
New Member
  • Total Posts : 1
  • Reward points : 0
  • Joined: 2018/10/23 19:27:56
  • Location: 0
  • Status: offline
Re: TWo PIC 18f4620 , one as master & the second is slave I2C communication problem 2019/01/25 17:25:14 (permalink)
0
Test
Page: << < ..6789 Showing page 9 of 9
Jump to:
© 2019 APG vNext Commercial Version 4.5