Jump to content
43oh

Frans

Members
  • Content Count

    3
  • Joined

  • Last visited

  1. @@altineller I'm glad that you get the same good results. Like you I have the Tiva-C development board. I didn't know about the R9 and R10 resistors, but from what I read those only affect I2C3. For my testing I used I2C1 on pins PA6 and 7. In the file energia-0101E0012/hardware/lm4f/libraries/Wire/Wire.cpp the TwoWire::begin() method calls ROM_I2CMasterInitExpClk(MASTER_BASE, F_CPU, false), which is implemented by the core I2C driver (energia-0101E0012/hardware/lm4f/cores/lm4f/driverlib/i2c.c). According to the comments in that file, the i2c driver implements 100kbps and 400kbps and th
  2. Hello altineller, I've tested your code by hooking up a 9150 module (similar to the one you connected to the Nano) to Tiva C. I had to add Wire.setModule(1) to the setup function of the Energia9150.ino file and then it worked, but as you said quite slowly. The slow speed is probably related to the problem addressed by this pull request for the energia wire library: https://github.com/e...nergia/pull/343 In the energia-0101E0012/hardware/lm4f/libraries/Wire/Wire.cpp file the TwoWire::getRxData and TwoWire::sendTxData both have a delay of 1ms build in. This is probably the cause of the delay
  3. Hello altineller, I've tested your code by hooking up a 9150 module (similar to the one you connected to the Nano) to Tiva C. I had to add Wire.setModule(1) to the setup function of the Energia9150.ino file and then it worked, but as you said quite slowly. The slow speed is probably related to the problem addressed by this pull request for the energia wire library: https://github.com/energia/Energia/pull/343 In the energia-0101E0012/hardware/lm4f/libraries/Wire/Wire.cpp file the TwoWire::getRxData and TwoWire::sendTxData both have a delay of 1ms build in. This is probably the cause of the d
×
×
  • Create New...