Forums

Drive led blinking by hardware interrupt

Started by rfur...@hotmail.it October 6, 2006
Hello all.
Excuse me for my bad English. I have a problem: how I can drive a userled (led on C54x board) blinking by hardware interrupt? Which steps I must do in the *cdb file to control the led by HWI?
Thanks,
Roby
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

r...@hotmail.it wrote:
> Hello all.
> Excuse me for my bad English. I have a problem: how I can drive a userled (led on C54x board) blinking by hardware interrupt? Which steps I must do in the *cdb file to control the led by HWI?
> Thanks,
> Roby
>

The interrupts on the C54xx are all inputs. You need to use an output.
DSP's are typically limited in their output options. The Host Port
interface lines on the C5402 series can be used for IO, but I'd check
their source/sink specs before hooking up a LED to them -- they're
designed to drive a bus.

Brian

- --
- ---[Office 70.0F]--[Outside 54.0F]--[Server 86.5F]--[Coaster 70.0F]---
Software, Linux, Microcontrollers http://www.brianlane.com
AIS Parser SDK http://www.aisparser.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Remember Lexington Green!

iD8DBQFFJwQ4Iftj/pcSws0RAkY/AJ9iP3qlnCchN1lEDvxAsrFSYjuNjQCfY0gz
t/u2U684YfkrHAe6PtOmejU=o5P9
-----END PGP SIGNATURE-----