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

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

 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 ...

0 Likes
1 Reply
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

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.

0 Likes