Jump to content

pinstruck

Members
  • Content Count

    3
  • Joined

  • Last visited

  1. pinstruck

    TLC5940 driver for Tiva

    Real life took over so I couldn't really work on my problem until now. I have tried connecting PB2 to GSCLK but that doesn't work either. Can you please verify that I have wired everything correctly? (Just in case there were other pins you shorted) SIN --> PB7 SCLK --> PB4 GSCLK --> PB2* BLANK --> PA2 XLAT --> PA3 DCPRG --> PA6 VPRG --> PA4 PB2 (Timer3) is configured to capture an incoming positive edge and count. What is the source for that? How would this configuration make it a GSCLK? I was assuming that Timer1, the PWM (PB5), generates the GSCLK and then Timer3 counts its positive edges until it reaches a complete GS cycle. Sorry for the amount of questions. This is quite a learning process for me.
  2. pinstruck

    TLC5940 driver for Tiva

    Thanks for the schematic, I just tried it out but nothing is lighting up. Where in the code are you clocking/pulsing GSCLK? From the schematic, it looks like P1.4 from the MSP430 maps to PE5 on the Tiva/Stellaris for GSCLK, but that port is not mentioned anywhere in the code. I think that might be the reason why it is not working for me, I'm not supplying the GSCLK signal. Do you have happen to have the code for that? Also I have VCC as 3.3V, with 2.2kOhm resistor on IREF to GND. Thanks again.
  3. pinstruck

    TLC5940 driver for Tiva

    Hi there, thank you for the code. I'm still trying to learn SSI on the Tiva (I'm a beginner overall). My main question is without the boosterpack in the video, how exactly do you wire up the Tiva to the TLC5940? (I guess more specifically, does PB4 --> SCLK, PB7 --> SIN? If you know where I could find a schematic of the Tiva + the driver that would be awesome) Also what is the PWM timer used for? Thank you.
×