Jump to content

Doubt re: interface LED with TMS320F2812 ?? Newbie question

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
Guest_skn82_*

Guest_skn82_*
  • Guests
hi

I'm working on TMS320F2812, a 32-bit DSP. I need to interface an a 8X1 LED with my Processor through the GPIO's of the processor. The GPIO's are connected to the LED's through a 74HC273 D-Latch.

Can anyone give me pointers on how I must go about the same ?? I have a couple of doubts :

1. My GPIO pins are wired to the D0 to D7 pins of the D-latch. The Outputs Q0 to Q7 are wired to the 8X1 LCD Board.

My confusion is, how do i ensure connectivity of the GPIO's with pins D0 - D7 of the latch through Software ( C- routine ) ??? Do I need to really do them ??

Will appreciate if anyone can give me any pointers on how to go about the same. Any sample codes will be of immense help tooo.

thanks

skn

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
I'd start looking at reference manuals on the hardware, as that will almost certainly be necessary. It may be possible to do test write/reads to locations on the GPIO (probably via pointers) to test the connectivity.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
Guest_skn82_*

Guest_skn82_*
  • Guests
Hi

But my confusion here is whether i have to connect the GPIO pins for software to the latch or all i need to do now is give inputs to the GPIO accordingly and check for the LED to glow.

thanks..

skn

#4
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Not being familiar with a GPIO, I can't offer much more advice.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog