energia / Energia

Fork of Arduino for the Texas Instruments LaunchPad's
http://energia.nu
Other
794 stars 672 forks source link

I2C port 1 and SPI port 2 conflict #242

Closed rei-vilo closed 11 years ago

rei-vilo commented 11 years ago

Using I2C port 1 and SPI port 2 simultaneously doesn't work on the StellarPad.

I2C port 1 is unresponsive when MOSI and MISO from SPI port 2 are connected.

The only solution is to use another I2C port, I2C port 3 for example.

This issue is labelled as Question. Does anyone experience the same problem to change it to Bug?

rei-vilo commented 11 years ago

According to the document Stellaris® LM4F120 LaunchPad Evaluation Board User’s Manual (spmu289), the schematics on page 18 / 26 for the Stellaris Launchpad — EK-LM4F120XL Rev A.sch shows two 0Ω shunts:

Shunt PD0 <-> PB6 R9 = 0Ω

Shunt PD1 <-> PB7 R10 = 0Ω

So using SPI port (2) with SPI port (3) or I2C port (3) isn't possible:

PD_0 A7 SCL (3) SCK (3) PB_6 MISO (2)

PD_1 A6 SDA (3) CS (3) PB_7 MOSI (2)

rei-vilo commented 11 years ago

See pull request #256