Re: howto interface LED with TMS320F2812 ?? Newbie question



On 4 May 2007 06:23:34 -0700, in sci.electronics.design skn
<skn2405@xxxxxxxxx> wrote:

hello Martin

Sorry, yeah, i meant an LED Board

1) you need an extra pin to load the latch, the CP pin
2) the MR pin should be set high
3) I dont know that dsp but generally
4) each led should be wired with a series resistor from the anode to
supply rail, say 470 ohm. The Cathode of the LED goes to the Q output

set GPIOs to output, probably data direction regs.
set the CP pin low
load data into GPIO, a 0 will turn a led on
set CP high
delay for a microsecond or so
set CP pin low, the LEDs should turn on

My confusion is :

how do i ensure connectivity of the GPIO's with pins (D0 - D7) of the
latch through Software ( C- routine ) ???
i.e, Do i need to define a structure with the address of D0 - D7 so
that I actually realise the connection between them through
software ??

Hope my question is clear now. Any sample codes wud help in addition
to the explanations.

thanks again

skn

sorry, cant help you, I only do 8051s and little stuff. try
comp.arch.embedded, or one of the dsp newsgroups


martin
.



Relevant Pages

  • Re: LM3914 --help :/
    ... The output current for the LEDs is a 10x current mirror of the output ... of the REF OUT pin. ... voltage of 1.25, ...
    (sci.electronics.design)
  • Re: LED & Resistor befuddlement
    ... Spehro Pefhany wrote: ... >>With this circuit the IO pin will be high if the MCU is not pulling it ... > This will work with good margin for some LEDs and some input buffers, ... output low for a few cycles then switch it back to an input. ...
    (comp.arch.embedded)
  • TECH: Stern or Sega Whitestar board info
    ... There are 2 leds on the CPU/Sound board. ... trying to run CPU version 1.03 with .90 sound roms. ... it comes from pin 19 on U6 of the driver board ... you can verify the signals on the DS1232 chip. ...
    (rec.games.pinball)
  • Re: Calculating resistors required
    ... > PIC output pin circuitry. ... LEDs as: ... is that a switch would then give logic 0. ... You stick your load (motor, lights, electric-chair or whatever ...
    (sci.electronics.basics)
  • Re: howto interface LED with TMS320F2812 ?? Newbie question
    ... the MR pin should be set high ... the LEDs should turn on ... how do i ensure connectivity of the GPIO's with pins of the ...
    (sci.electronics.design)