Hi everyone,
I have jumped into another project regarding the TCL59116 to drive 10 LEDs since I finished designing a set of 10 band-pass filters (which I plan on merging these two together for a bigger project).
Right now, I simply want to have the code working for one LED output. After that, I can probably work my way from there.
I am using the PIC16F887 as I am relatively familiar with it thanks to a previous course at school.
My problem is that the LED is not lighting up despite my extensive research on the led driver as well as the steps to take in order to have it working.
Attached to this thread is my main code as well as a header file (which currently only has defined terms...functions will be moved in there eventually). My code is written with the information gathered from other forums and, of course, the datasheet.
If someone would be able to look over my code and point me towards my possible mistake(s), that'd be really helpful.
In case my coding isn't the problem, my connections should be fine, but we can never be so sure when troubleshooting right?
I have jumped into another project regarding the TCL59116 to drive 10 LEDs since I finished designing a set of 10 band-pass filters (which I plan on merging these two together for a bigger project).
Right now, I simply want to have the code working for one LED output. After that, I can probably work my way from there.
I am using the PIC16F887 as I am relatively familiar with it thanks to a previous course at school.
My problem is that the LED is not lighting up despite my extensive research on the led driver as well as the steps to take in order to have it working.
Attached to this thread is my main code as well as a header file (which currently only has defined terms...functions will be moved in there eventually). My code is written with the information gathered from other forums and, of course, the datasheet.
If someone would be able to look over my code and point me towards my possible mistake(s), that'd be really helpful.
In case my coding isn't the problem, my connections should be fine, but we can never be so sure when troubleshooting right?
- A0 - A3 are all grounded
- REXT is near the recommended for 20mA LEDs (940 Ohms)
- LEDs are of various forward voltage (1.8 - 3V)
- Vcc is +5V and GND is indeed grounded
- SDA and SCL are pulled HIGH with 4.7k resistors (and yes, they are not flipped)
- I have verified for ACKs and NACKs when communicating with the led driver through a logic analyzer as well as the data transmitted (everything seems fine)
- Oscilloscope readings on the output pins of the TLC59116 show no AC signal (DC is either Vcc or Vcc - (LED forward voltage)
- I'm hoping I did not accidentally fry the chip while soldering it onto my PCB converting it to a thru-hole component (or as I tested codes on it)
Attachments
-
2.9 KB Views: 23
-
880 bytes Views: 21