APA102 led strip with altera DE2-115 Board

Moderator (Company: Titel) #5429702
Rate this post
• ▲ useful
▼ not useful
Peter schrieb:
> I want to controll my apa102 led strip with the de2-115
Nice homework.

> but I never used VHDL
So start with a blinking LED, then do a chasing light. Then try that 
apa102 thing and when you have specific problems. Simulate those three 
tings before going on hardware!

> I just need to See A simple Code just for turning on the First LED.
According to page 3 of that datasheet it is not more than a few lines of 
code:
https://cdn.sparkfun.com/datasheets/Components/LED/APA102C.pdf

> and I cant even turn on the First LED.
So simply define a constant vector with value 
x"00000000ff00ff00ffffffff" and shift that out left bit first while 
generating a clock of around 500kHz...

BTW und OT: wenn du aus Deutschland kommst, dann kannst du ohne Weiteres 
im deutschen Forum posten. Englische Threads kommen aber ins englische 
Forum.

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [vhdl]VHDL-Code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.