Hi!
I have a little problem, I would like to connect via I2C tmp006 using 16 sensors on the example that comes in the tiva, but I have problems to enable other ports I2C ...
could you help me?
Thank you
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 have a little problem, I would like to connect via I2C tmp006 using 16 sensors on the example that comes in the tiva, but I have problems to enable other ports I2C ...
could you help me?
Thank you
Hi,
since there can be 8 sensors on each bus, you will need one extra I2C controller. I suggest you look at the TIVA PinMux utility, since it will nicely tell you what is needed and how to enable it.
/Michael
As a suggestion, you could extend the define to include a controller ID like this:
#define TMP006_I2C_ADDRESSR3 0x0342
where the 0x00 is the ID for I2C0 and 0x03 for I2C3. Then you can select the I2C controller base from the ID field.
Hello Fernandez,
The function TMP006AppErrorhandlerR could not be found by the linker. Where is it declared? If it is in the senortlib then you would need to rebuild the sensorlib driver library. If it is a new file in the project you have, then please make sure that it is included in the compile
Regards
Amit
That is difficult to say without having the source or at least showing the entire error message.
and corrected my mistake, now I have another problem i2c0 port can not read though and clone all functions for i2c0