AnsweredAssumed Answered

SPI Communication failed when STM8S is connected with STPM10

Question asked by karmakar.gopal on Sep 10, 2013
Latest reply on Dec 30, 2013 by lowpowermcu
I am designing one energy meter product where I have connected my STM8S microcontroller with STPM10 energy meter IC. The controller is communicating with the IC via SPI communication. But while reading from the STPM10 IC, the data line(MOSI from controller) always remain in high state whereas other lines like SCL, SCS, SYN line are working fine. I have checked all the hardware connection and even the firmware. Don't know where i am getting wrong? Need serious help. I have attached the waveform of reading date from IC and the circuit diagram that i am using to interface STPM10 with STM8S

Attachments

Outcomes