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.

TM4C129XNCZAD: How to implement the program for flow sensor(SFM3000) in TM4C129XNCZAD

Part Number: TM4C129XNCZAD


Hi sir,

Can you please help me how to implement the code for flow sensor in TM4C129XNCZAD microcontroller using I2C communication. Anyone please help me on this.

Thank you.

  • Hi,

      You are asking a very generic question regarding flow sensor that I cannot answer. There are some i2c examples in the directory C:\ti\TivaWare_C_Series-2.2.0.295\examples\peripherals\i2c. There are also i2c examples in C:\ti\TivaWare_C_Series-2.2.0.295\examples\boards\ek-tm4c1294xl-boostxl-senshub. I will suggest you take a look at C:\ti\TivaWare_C_Series-2.2.0.295\examples\boards\ek-tm4c1294xl-boostxl-senshub\humidity_sht21_simple first.

      Here is an i2c app note that will be very useful if you are new to i2c and how to use TivaWare i2c APIs. https://www.ti.com/lit/pdf/spma073. Develop your application based on these examples. If you still have questions then create a new post on what is not working. We just don't have a ready-to-use flow sensor example especially you don't even mention what type of flow sensor and what is the part number. 

  • Thank you for the reply Charles Ji,

    My flow sensor part no is SFM3000 and thanks for suggesting some examples related my queries.