- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all!
I try to develope simple project with quartus prime 16.1 de-10 lite board and terasic lt24 module (university program), NIOS II and Qsys. I have already downloaded the example from lt24 terasic web page but there are mismatches into the files (in qsys a warning advise to update some IPs). Anyway, in qsys I add a lt24 controller and, according to documentation, a video pll (in order to provide correct clock to daughter board). The lt24 controller has a sink interface linked to a source interface of a video pixel buffer DMA (It has the same clock of LT24 controller IP). Generating HDL and synthesis works fine but the result is onlyh a withe LCD screen. This is the program:
int main()
{
printf("avvio il programma\n");
alt_up_pixel_buffer_dma_dev *buffer;
buffer = alt_up_pixel_buffer_dma_open_dev("/dev/video_pixel_buffer_dma_0");
alt_up_pixel_buffer_dma_clear_screen(buffer,0);
alt_up_pixel_buffer_dma_clear_screen(buffer,1);
alt_up_pixel_buffer_dma_draw_rectangle(buffer, 0, 0, 255, 255, 0x001F, 0);
alt_up_pixel_buffer_dma_draw_box(buffer,10,10,255,255,0x001F,1);
}
In the teraisc demo example there are same code and function to initializate the LCD and the LT24 controller but I don't have these code in my auto generated HAL files. Can anyone help me?
I had checked pin assignement in quartus and, of course, the daughter board works fine.
Thanks!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi!
I found the example here: http://download.terasic.com/downloads/cd-rom/de10-lite/DE10-Lite_db_Demo/DE10_Lite_LT24_Painter.zip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
can you check this out? https://www.terasic.com.tw/cgi-bin/page/archive.pl?Language=English&CategoryNo=68&No=1011&PartNo=4#section
Click on the terasic support for the missing files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page