I'm new here and very much looking forward to working with this product. My goal is to use a BBB and the LOGI Bone to control a 32x32 LED matrix. Glen Akins has created a great tutorial, but it seems that it's out of date now and people are having trouble with that.
I see that Jonathan has published an updated project, but the documentation isn't as thorough. Before I start and hit issues, is my overall plan correct?
Do I need to change the device tree setup at all? This was a large part of Glen's tutorial and other people's issues when trying to follow it. Will the new bit file work with the default device tree setup?
How does it know I'm using a 32x32 matrix? Is this hardcoded somewhere (in the bit file or the python script)?
If I restart the BBB, do I need to repeat any of the setup steps (run the setup script, install the new bit file, etc.)?
Will test_mat.py's calls to "logi.logiWrite(MAT_ADDR, bufferFromPixels(pixels))" work with the logibone bit file using the wishbone-architecture?
I would really, really appreciate some help here. As a software guy, I'm feeling a bit overwhelmed and the scattered documentation is making me think that I'm missing important steps.
the goal of this project was to get a matrix driver component that is compatible with the wishbone architecture and can be used both on LOGI-Bone and LOGI-Pi. The connections are exactly the same as in Glen's project.
1) There is no need to make change to the default device-tree. If you can run the logi-apps on your logi-bone, it should work fine 2) The number of panels is hard-coded in the top level architecture (hw/logibone/hdl/logibone_mat.vhd) at the line
MAT_0 : wishbone_led_matrix_ctrl generic map( nb_panels => 1 // defines the number of 32x32 panels , bits_per_color => 4 )
3) You'll need to load the bitfile at every boot (can be automated in a linux startup script) but the other steps are performed only once 4) The code in sw/logipi need just a bit of re-work but i'll do that 5) The python script will work, whatever of the two platform you are using.
Hello together, I am new to FPGA and beaglebone. I managed to drive a 32x32 RGB Panel with the tips above. Looking at the vhd files of "logibone_mat.xise" is it possible to drive a 32x64 Panel with minor adjustments? Also the python script seems to have no termination. Can I bind a button to clear the LED Panel and stop the program?
Comments
the goal of this project was to get a matrix driver component that is compatible with the wishbone architecture and can be used both on LOGI-Bone and LOGI-Pi. The connections are exactly the same as in Glen's project.
1) There is no need to make change to the default device-tree. If you can run the logi-apps on your logi-bone, it should work fine
2) The number of panels is hard-coded in the top level architecture (hw/logibone/hdl/logibone_mat.vhd) at the line
MAT_0 : wishbone_led_matrix_ctrl
generic map(
nb_panels => 1 // defines the number of 32x32 panels
,
bits_per_color => 4
)
3) You'll need to load the bitfile at every boot (can be automated in a linux startup script) but the other steps are performed only once
4) The code in sw/logipi need just a bit of re-work but i'll do that
5) The python script will work, whatever of the two platform you are using.
Don't hesitate to ask, we are here to help !
regards,
Jonathan Piat
http://valentfx.com/skeleton/arch_editor.html?board=logibone
I am new to FPGA and beaglebone. I managed to drive a 32x32 RGB Panel with the tips above.
Looking at the vhd files of "logibone_mat.xise" is it possible to drive a 32x64 Panel with minor adjustments?
Also the python script seems to have no termination. Can I bind a button to clear the LED Panel and stop the program?