I2C between PIC18F4550 (Master) and Atmega 328P – electroSome https://electrosome.com/topic/i2c-pic18f4550-atmega-328p/feed/ Sat, 18 Mar 2023 04:53:44 +0000 https://bbpress.org/?v=2.6.9 en-US https://electrosome.com/topic/i2c-pic18f4550-atmega-328p/#post-13428 <![CDATA[I2C between PIC18F4550 (Master) and Atmega 328P]]> https://electrosome.com/topic/i2c-pic18f4550-atmega-328p/#post-13428 Mon, 16 Jan 2017 19:05:28 +0000 Márcio Marques Hi everyone,

I have a problem with I2C connection between my PIC 18F4550 and Atmega 328p (Arduino Uno). In PIC I have 20Mhz XTAL and in Atmega also. I think that the problem is in Atmega(Slave), because when i run the program in PIC, the SDA and SCL  works well ( i see this in oscilloscope). I´m using XC8 and I2C.h.

]]>
https://electrosome.com/topic/i2c-pic18f4550-atmega-328p/#post-13434 <![CDATA[Reply To: I2C between PIC18F4550 (Master) and Atmega 328P]]> https://electrosome.com/topic/i2c-pic18f4550-atmega-328p/#post-13434 Thu, 19 Jan 2017 12:15:13 +0000 Ligo George Hi,

Kindly post your circuit diagram and all the codes here.

]]>