AnsweredAssumed Answered

SMBUS Source code

Question asked by yusup khan on Mar 17, 2015
Latest reply on Mar 17, 2015 by Hui_Ma

Dear all,

               I am using KL46 controller with external RTC(DS1307-Slave address is 0x68). I am receiving date and time from that RTC through I2C Communication. Here I have attached example code for I2C communication. I am using the same source code for RTC communication. Now I have Multi-cell BMS (Battery Monitoring System) Platform. I need to receive/collect data from Battery pack to KL46 through SMBUS communication. But I am using the same code (Slave address is 0x0B), I given command but I am not receiving proper data. Kindly let me know that any changes I have to do for this communication in hardware as well as software.

Original Attachment has been moved to: k40_i2c.c.zip

Original Attachment has been moved to: isr.h.zip

Original Attachment has been moved to: i2c_demo.c.zip

Original Attachment has been moved to: k40_i2c.h.zip

Outcomes