Hi,
I am trying to get SM Bus protocol up and running on the Tiva TM4C1294NCPDT evaluation board that is connected to bunch of I2C devices. Is there some sample code on how to go about doing it? Please share.
Thanks
--Rajeev
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,
I am trying to get SM Bus protocol up and running on the Tiva TM4C1294NCPDT evaluation board that is connected to bunch of I2C devices. Is there some sample code on how to go about doing it? Please share.
Thanks
--Rajeev
Hello Rajeev,
The SMBus drivers are available in TivaWare utils folder. Did you try a search of the forum data base? I would be surprised if there is not an example code snippet.
Regards
Amit
Amit,
Yes, I did find the drivers but have difficulty getting to use it. I did search the database to find a code snippet but did not find any. Please point me to one to a location where I can find it.
Thanks
--Rajeev
Hello Rajeev,
OK. I may have to take back my words. The search is rather difficult if not "tegged". Do you have a starting code and also do have a look at the SW-TM4C-UTILS-UG-2.1.0.12573.pdf in the TivaWare Installation as it does attempt to describe what it needs to build a SMBus application.
I can only help you if you have a base code to start with.
Regards
Amit
Amit,
No I do not have the base code, please point me to it so that I can download. I took a look at the SM Bus stack in the UTILs user guide. The example code just show how to initialize but not the actual operation. It will be of immense help, if you can walk me through the sample code for basic read and write operations.
Regards
--Rajeev
Hello Rajeev,
Unfortunately, you would need to make a start at the the code (forum members most welcome to provide your code), before we can help you debug and get it to 100% working condition. Also please note that SMBus is built on I2C Physical Protocol, so you can develop the code using I2C drivers for which there are plenty of examples.
Regards
Amit
Yes I had noted it like you have. It's not for poster but anyone (like me) visiting this post in the future. And hopefully someone can suggest a fix for my code, or find it useful in any way.
Any other problems for you cb1?
Perhaps your (bit) more direct request for assistance proves better? You've hitched your wagon to a (very) old/tired horse (post) - my response was aimed at your "comfort/awareness" - and instead of "thanks" - receives attack.
I do hope that you succeed & resolve your problem - and I'd bet that my suggestion (fresh, new post - clearly & directly voicing your request) will trump the (reanimated) "resurrection special" - pulled from the forum graveyard...