pillum 0 Posted July 6, 2012 Author Share Posted July 6, 2012 Ah, yes! The Reset Pin is connected to the Launchpad for programming. Quote Link to post Share on other sites
pillum 0 Posted July 9, 2012 Author Share Posted July 9, 2012 Anyone from Germany want to send me a fully connected, programmed and working piece of board for a few euros? I want to know what I'm doing wrong. :/ Quote Link to post Share on other sites
kylej1050 27 Posted July 9, 2012 Share Posted July 9, 2012 It's hard to tell where the problem would lie. Have you tried just copying and pasting the working example code from here and running it straight? No modifications? That's where I would start. If that works, something needs changed in your program. If that doesn't work there is something wrong with the hardware and I would check that the MCU is able to even blink an led. viewtopic.php?f=10&t=1700 I know that code works so if that doesn't run, something is askew. Quote Link to post Share on other sites
pillum 0 Posted July 9, 2012 Author Share Posted July 9, 2012 I recall already trying it but I'll try it tomorrow again..it didn't work the first time though. The MSP430 and the LEDs are working. Already built a traffic light (switching between red, yellow and green leds with programmed time interval) with both parts. Maybe my TLC5940 is broken but I already replaced it with another (got 3 of them as samples from TI). ( Quote Link to post Share on other sites
kylej1050 27 Posted July 9, 2012 Share Posted July 9, 2012 I'll check your code and schematics tomorrow when I'm with my prototyping stuff and see what I come up with. I don't have it with me tonight. Quote Link to post Share on other sites
pillum 0 Posted July 9, 2012 Author Share Posted July 9, 2012 Ok, Thank you very much. I hope you'll find anything. :cry: Quote Link to post Share on other sites
pillum 0 Posted July 9, 2012 Author Share Posted July 9, 2012 Any news kyle? Quote Link to post Share on other sites
kylej1050 27 Posted July 9, 2012 Share Posted July 9, 2012 I did this with the 2553 installed in a launchpad with 5940 in breadboard. Do you get them to light at all? I have the 5940 with all leds burning bright right now using your code. I edited the code and it does change the way the leds behave. Your GSCLK is very slow however as the leds that don't have full brightness blink instead of dimming. If you add "BCSCTL1 = CALBC1_16MHZ;" under your watchdog code it will dim though. Your code keeps the processor very busy. I would recommend using a timer to output your clock signal while the MSP goes about other business. Doesn't matter if you pre-program a routine but if you want the MSP to do anything else while running this chip there is no time for it. Do you have bypass capacitors on the breadboard? pillum and cde 2 Quote Link to post Share on other sites
RobG 1,892 Posted July 9, 2012 Share Posted July 9, 2012 Same results as Kyle. Added remaining LEDs later on just to make sure LP's LDO is not an issue here and all LEDs light up. My RIREF is 2k2, so the total current is just under 320mA. cde and pillum 2 Quote Link to post Share on other sites
pillum 0 Posted July 9, 2012 Author Share Posted July 9, 2012 I would recommend using a timer to output your clock signal while the MSP goes about other business. Doesn't matter if you pre-program a routine but if you want the MSP to do anything else while running this chip there is no time for it. It's just an initial test programmed like described in the programming flowchart by TI Do you have bypass capacitors on the breadboard? if you mean decoupling capacitors, then yes as you can see in the schematics. It looks like its a hardware / wiring fault then :/ Have you guys tried it with the MSP430 directly on the Breadboard (not on the launchpad) ? Quote Link to post Share on other sites
kylej1050 27 Posted July 9, 2012 Share Posted July 9, 2012 I haven't tried it out of the launchpad, but will tomorrow. Most likely just a couple of wires backwards. Take them all off and one at a time connect them. The code does work though. Quote Link to post Share on other sites
RobG 1,892 Posted July 9, 2012 Share Posted July 9, 2012 Ah, yes! The Reset Pin is connected to the Launchpad for programming. Your 2553 is on the breadboard, TEST, RST, and GND are connected to LP. Is your breadboard's Vcc connected to LP's Vcc? Are you disconnecting LP after programming? Quote Link to post Share on other sites
pillum 0 Posted July 10, 2012 Author Share Posted July 10, 2012 Is your breadboard's Vcc connected to LP's Vcc? Well, its like that MSP and TLC are on the breadboard. TEST, RST, GND and Vcc of the MSP are connected to the LP. TLC's Vcc and GND are also taken from LP. Breadboards Vcc aka Vled is only for the leds. Are you disconnecting LP after programming? No, I'm not. Is it worth a try? Is there anything I need to do instead then like resistors on any point? Quote Link to post Share on other sites
kylej1050 27 Posted July 10, 2012 Share Posted July 10, 2012 Still works off the LP. I would check every wire meticulously. You can even see the dimmer running blue led on the right so I know the program is running. (with 16MHz clock) TLC - MSP wire connections on my breadboard. 18 - 2 19 - 12 23 - 7 24 - 13 25 - 6 26 - 4 27 - 11 Launchpad to MSP is only VCC, GND, TEST, RST. I even reloaded the program to make sure that it will program ok like this. I know it sounds dumb, but also check your LED polarity. I spent a few minutes scratching my head and it was backwards installed leds. Quote Link to post Share on other sites
cde 334 Posted July 10, 2012 Share Posted July 10, 2012 Since everyone else has got it working, and you've already swapped the chips, and tested the leds, possible short/crack in a wire? Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.