Re: howto interface LED with TMS320F2812 ?? Newbie question
- From: martin griffith <mart_in_medina@xxxxxxxx>
- Date: Fri, 04 May 2007 16:03:51 +0200
On 4 May 2007 06:23:34 -0700, in sci.electronics.design skn
<skn2405@xxxxxxxxx> wrote:
hello Martinsorry, cant help you, I only do 8051s and little stuff. try
Sorry, yeah, i meant an LED Board
1) you need an extra pin to load the latch, the CP pinMy confusion is :
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
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
comp.arch.embedded, or one of the dsp newsgroups
martin
.
- References:
- howto interface LED with TMS320F2812 ?? Newbie question
- From: skn2405
- Re: howto interface LED with TMS320F2812 ?? Newbie question
- From: martin griffith
- Re: howto interface LED with TMS320F2812 ?? Newbie question
- From: skn
- howto interface LED with TMS320F2812 ?? Newbie question
- Prev by Date: Re: low input impedance amplifier
- Next by Date: Re: you can't bash Microsoft enough
- Previous by thread: Re: howto interface LED with TMS320F2812 ?? Newbie question
- Next by thread: Re: What Are Ultraviolet LED's Good For?
- Index(es):
Relevant Pages
|