# IIC Troubleshooting

**URL:** <https://forum.midibox.org/t/iic-troubleshooting/8269>\
**Category:** Testing/Troubleshooting\
**Created:** [March 24, 2007, 6:44pm UTC](https://forum.midibox.org/t/iic-troubleshooting/8269 "2007-03-24T18:44:47Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![whomper](https://forum.midibox.org/letter_avatar_proxy/v4/letter/w/e19adc/32.png) [@whomper](https://forum.midibox.org/u/whomper)\
**Post date:** [March 24, 2007, 6:44pm UTC](https://forum.midibox.org/t/iic-troubleshooting/8269/1 "2007-03-24T18:44:47Z")

</div>

How do I test whether the IIC is built correctly, or whether the PIC is not burned?

The lights are not working, although the core finds IIC1 and no MIDI is sent or received.

Whomper

---

<div class="post-metadata">

**Author:** ![stryd\_one](https://forum.midibox.org/letter_avatar_proxy/v4/letter/s/bc79bd/32.png) [@stryd\_one](https://forum.midibox.org/u/stryd_one)\
**Post date:** [March 25, 2007, 2:26am UTC](https://forum.midibox.org/t/iic-troubleshooting/8269/2 "2007-03-25T02:26:56Z")

</div>

Tried this? [iic\_midi\_sw\_loopback\_v1\_0.zip](http://www.ucapps.de/mios/iic_midi_sw_loopback_v1_0.zip)

---

<div class="post-metadata">

**Author:** ![whomper](https://forum.midibox.org/letter_avatar_proxy/v4/letter/w/e19adc/32.png) [@whomper](https://forum.midibox.org/u/whomper)\
**Post date:** [March 25, 2007, 5:18am UTC](https://forum.midibox.org/t/iic-troubleshooting/8269/3 "2007-03-25T05:18:34Z")

</div>

Yeah, it displays that there is an IIC1 and Seq3 also finds it, but the LEDs are not working and I would like to get some info on how to troubleshoot it via multimeter.

Whomper

---

<div class="post-metadata">

**Author:** ![stryd\_one](https://forum.midibox.org/letter_avatar_proxy/v4/letter/s/bc79bd/32.png) [@stryd\_one](https://forum.midibox.org/u/stryd_one)\
**Post date:** [March 25, 2007, 7:42am UTC](https://forum.midibox.org/t/iic-troubleshooting/8269/4 "2007-03-25T07:42:04Z")

</div>

Well the activity LED’s kinda say it all…&nbsp; Have you got the seq configured to use it - are you sure it’s trying to send midi via IIC, not the core midi port?

---

<div class="post-metadata">

**Author:** ![whomper](https://forum.midibox.org/letter_avatar_proxy/v4/letter/w/e19adc/32.png) [@whomper](https://forum.midibox.org/u/whomper)\
**Post date:** [March 25, 2007, 8:54am UTC](https://forum.midibox.org/t/iic-troubleshooting/8269/5 "2007-03-25T08:54:04Z")

</div>

I have.

The issue is, I do not see the power LED lit (I think it is the green or the red).

Does someone know an electronic test procedure for the board? Which pins should produce power etc?

Perhaps I have nuked the PIC by mistake… ☹

Whomper

---

<div class="post-metadata">

**Author:** ![stryd\_one](https://forum.midibox.org/letter_avatar_proxy/v4/letter/s/bc79bd/32.png) [@stryd\_one](https://forum.midibox.org/u/stryd_one)\
**Post date:** [March 25, 2007, 9:37am UTC](https://forum.midibox.org/t/iic-troubleshooting/8269/6 "2007-03-25T09:37:48Z")

</div>

Ohhh. If the power LED isn’t lit, that’s very strange, because the LED is lit as a part of the initialisation routine on startup. Obviously it is booting OK to some degree, as it is responding to IIC, but other pins are not working.

Did you maybe overpower it, or solder with the PIC inserted?

If you have a burner or jdm, I’d try reloading the firmware.

---

<div class="post-metadata">

**Author:** ![stryd\_one](https://forum.midibox.org/letter_avatar_proxy/v4/letter/s/bc79bd/32.png) [@stryd\_one](https://forum.midibox.org/u/stryd_one)\
**Post date:** [March 25, 2007, 9:39am UTC](https://forum.midibox.org/t/iic-troubleshooting/8269/7 "2007-03-25T09:39:08Z")

</div>

Oh… That’s assuming that you already checked thoroughly with the soldering and schematic to make sure the circuit is ok.

---

<div class="post-metadata">

**Author:** ![Dave\_Wheeler](https://forum.midibox.org/letter_avatar_proxy/v4/letter/d/53a042/32.png) [@Dave\_Wheeler](https://forum.midibox.org/u/Dave_Wheeler)\
**Post date:** [March 29, 2007, 7:59am UTC](https://forum.midibox.org/t/iic-troubleshooting/8269/8 "2007-03-29T07:59:06Z")

</div>

Have you confirmed the LED’s are connected correctly as they are polarized. The Anode MUST be positive and the Cathode at about 0V.

A quick test can be made with a spare LED

5V-----------560R--------(A)LED©-----------0V

The resistor can probably be as low as 180R (based on 20mA and FV of 2.0) but to test a 560 is good

On most (all ?) LED’s the ‘flat’ on the LED body is the cathode and the long lead is the Anode.

Dave

---

<div class="post-metadata">

**Author:** ![stryd\_one](https://forum.midibox.org/letter_avatar_proxy/v4/letter/s/bc79bd/32.png) [@stryd\_one](https://forum.midibox.org/u/stryd_one)\
**Post date:** [March 29, 2007, 8:23am UTC](https://forum.midibox.org/t/iic-troubleshooting/8269/9 "2007-03-29T08:23:38Z")

</div>

Hey that sounds like a good idea. I had a feeling this might be an error in the circuit, and if the LEDs are all backwards they’ll stop the midi from working…

---

<div class="post-metadata">

**Author:** ![whomper](https://forum.midibox.org/letter_avatar_proxy/v4/letter/w/e19adc/32.png) [@whomper](https://forum.midibox.org/u/whomper)\
**Post date:** [March 29, 2007, 12:54pm UTC](https://forum.midibox.org/t/iic-troubleshooting/8269/10 "2007-03-29T12:54:54Z")

</div>

Just reversed the LEDs and now MIDI flows out thru and the power led is working.

I am not getting any MIDI in yet though ☹

Whomper

---

<div class="post-metadata">

**Author:** ![stryd\_one](https://forum.midibox.org/letter_avatar_proxy/v4/letter/s/bc79bd/32.png) [@stryd\_one](https://forum.midibox.org/u/stryd_one)\
**Post date:** [March 30, 2007, 12:21am UTC](https://forum.midibox.org/t/iic-troubleshooting/8269/11 "2007-03-30T00:21:49Z")

</div>

Great news, 10 points to Dave\_Wheeler! 🙂

Time to go back to the [MIDI Troubleshooting](http://www.ucapps.de/howto_debug_midi.html)…
