EmbDev.net

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


von Peter (Guest)


Rate this post
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
von Lothar M. (Company: Titel) (lkmiller) (Moderator)


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.

: Edited by Moderator
von Lothar M. (Company: Titel) (lkmiller) (Moderator)



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

: Edited by Moderator
von Peter (Guest)


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

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.