1 Reply Latest reply on Aug 28, 2013 7:27 AM by user_14586677

    Writing a PLC host for LPC1768 mbed  for CY8CPLC10-28PVXI in C

    syed.aftab.rashid

       Hi 

         

       

         

      i want to write a PLC host using LPC1768 mbed as the master and CY8CPLC10-28PVXI as slave. i am using the PLC kit 3272. I gave gone through all the details avalible on the website but still i am not able to communicate. can anyone help me in this regard.

         

       

         

       

         

      Thank You ...

        • 1. Re: Writing a PLC host for LPC1768 mbed  for CY8CPLC10-28PVXI in C
          user_14586677

          Assuming it is I2C interface you are working with -

             

           

             

          1) You have confirmed pullups somehwere in range of 4 - 6K ohms

             

          2) Confirmed with a scope signals looking roughly correct on clk and data lines,

             

          no excessivley long rise times

             

          3) I2C pins configured correctly

             

          4) Correct address of slave

             

          5) Interrupts enabled if using interrupt driven ISR code

             

          5) Rate settings, hence clk rate, oversampling rate, correct for both

             

          sides

             

           

             

          Tedious but you could use an example project on host, then on slave side,

             

          connected to a known device, to see if code is correct on each side.

             

           

             

          Just some thoughts, Dana.