Jump to content
43oh

Recommended Posts

You can choose to use a different interface (module) by calling Wire.setModule(<module number>).

For example to use I2C on pins 5/6 you would call Wire.setModule(2).

Note that right now, it is only possible to use one I2C interface at the time.

 

As to your second question, you can program the DMA controller by using driverlib calls.

 

Robert

Link to post
Share on other sites

You can choose to use a different interface (module) by calling Wire.setModule(<module number>).

For example to use I2C on pins 5/6 you would call Wire.setModule(2).

Note that right now, it is only possible to use one I2C interface at the time.

 

As to your second question, you can program the DMA controller by using driverlib calls.

 

Robert

Hi,

 

is that also possible with SPI in case there are several SPI interfaces? (One interface at a time means one per sketch or the first interface, then the second, then the first  again in the same sketch?)

 

Thank you very much

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...