Jump to content
43oh

Updating Energia Arduino libraries


Recommended Posts

Hello,

 

I'm not sure of what the update cadence for Energia is. However, I did find that the Wire.h library in Arduino has been updated since the Energia version. The Arduino's Wire.h library have a method - Wire.setClock() that allows setting the I2C bus speed. By default I believe it is 100KHz. On an Arduino Zero board I was able to bump it up to 3MHz (limited by the I2Cdevice I'm using) and the performance is incredible.

 

However, since in Energia we don't have this method, the performance of the I2C device is extremely slow. So I'm wondering when/if there is a plan to upgrade the Wire.h library in Energia with the latest version.

 

Also using the MSP432 I believe there is a hardware I2C option. Will this be faster? I used pins 9 & 10 on my MSP432 but the Wire.h library was included.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...