EmbDev.net

Forum: FPGA, VHDL & Verilog APA102 led strip with altera DE2-115 Board


Author: Peter (Guest)
Posted on:

Rate this post
0 useful
not useful
Hello guys.
I want to controll my apa102 led strip with the de2-115, but I never 
used VHDL and I cant even turn on the First LED. I hope someone can help 
me, I just need to See A simple Code just for turning on the First LED.

: Moved by Moderator
Author: Lothar M. (lkmiller) (Moderator)
Posted on:

Rate this post
0 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...

> 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.

: Edited by Moderator
Author: Lothar M. (lkmiller) (Moderator)
Posted on:
Attached files:

Rate this post
0 useful
not useful
Meanwhile a litte finger exercise to get warm...  ;-)

: Edited by Moderator
Author: Peter (Guest)
Posted on:

Rate this post
0 useful
not useful
Thanks dude, great help =)

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [vhdl]VHDL code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig