I2C between PIC18F4550 (Master) and Atmega 328P

Home Forums Microcontrollers PIC Microcontroller I2C between PIC18F4550 (Master) and Atmega 328P

Tagged: , , ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #13428
    Márcio Marques
    Participant

    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.

    #13434
    Ligo George
    Keymaster

    Hi,

    Kindly post your circuit diagram and all the codes here.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
>