Hi All,
I'm looking for a nice code example on how to handle SMbus transaction from my I2C bus on C6678. I'm running Baremetal level, therefore a code in CSL way is OK.
Any feedback appreciated.
Thanks & Regards,
Phil
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi All,
I'm looking for a nice code example on how to handle SMbus transaction from my I2C bus on C6678. I'm running Baremetal level, therefore a code in CSL way is OK.
Any feedback appreciated.
Thanks & Regards,
Phil
Have you looked at the I2C examples in the CSL?
Best Regards,
Chad
Chad,
I'm looking for SMbus examples. Sure SMbus overdrives the I2C, so the PDK examples are always welcome, but those I've of course monitored !
So if you have examples implementing SMbus over I2C with C6678 you are welcome .
Cheers,
Phil
We do not have any SMbus specific examples. A lot of the SW should be directly compatible such as Read Byte and Write Byte. The block transfers may need massaging, but I'm not an I2C/SMBus expert. Have you taken a look at this and tried to use the existing CSL w/ your SMBus.
Best Regards,
Chad
Yes this is ongoing. I2C consist of the basics. SMbus is often required for more complex system , i.e. Configuration of PCIe switches, etc ....
Cheers.
Phil