This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Keil for at89s52 - Microcontroller Project Help Needed!

Let me describe my project:
I'm bulding a count-up/count-down large format display timer with big 5x7 led dot matrices.
I'm trying to use Keil uVision3 to program my microcontroller.
I'm trying to use an at89s52 to control an TLC5920 LED driver chip. The LED driver chip needs Sin, SCK, LATCH(bar), BLANK, and CSEL0-2 from the microcontroller. I am a decent C programmer. But, I do not know how to use Keil to do things like send P2.0 serial data or P2.1 a high or low signal or monitor P2.7 for a pulse from a keypad. Could someone please direct me to a knowledge base that explains how to program such things in Keil evaluation? Also, I would greatly appreciate any project advice.
Thanks,
Lee Lerner

Parents
  • You need to look at the datasheet for the LED driver chip.

    It will show you the required timing relationships between the clock, data, latch, and whatever other signals.
    It's just a matter of getting your code to follow those rules!

    You could also look on the manufacturer's website for application notes, example code, etc, to help you

Reply
  • You need to look at the datasheet for the LED driver chip.

    It will show you the required timing relationships between the clock, data, latch, and whatever other signals.
    It's just a matter of getting your code to follow those rules!

    You could also look on the manufacturer's website for application notes, example code, etc, to help you

Children