- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Need to use UART with FIFO Buffer in SOPC Builder Nios II System:
1> The UART RS232 available in SOPC are without FIFO is it possible to add FIFO by modifying the same UART core 2> If not is there any other SOPC ready UART_FIFO core available as free IP 3> If not is it possible to get estimate of - LE utilization without Modem Control logic - Is it necessary to write device driver for the same - Apprx how much design time it will take to design HDL UART, device driver for a single person? Please advice asap. running short of time. Thanks in AdvanceLink Copied
- « Previous
-
- 1
- 2
- Next »
27 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/dry.gif what's wronged in this C file?
I'm using FIFOed_avalon_uart Opencore I can't transmit throught RS232 with this code using instruction fifoed_avalon_uart_write(fp,byte/*Tx Pointer*/,25344); (UART's light is always swithced off) FILE* fp; fp = fopen ("/dev/fifoed_avalon_uart_0", "w+"); // Read && Write int ret; if (fp!=NULL) { printf("\nOpen file"); ret = fflush(fp); if(ret==0) printf("\nFlushed file"); else printf("\nNot flushed file"); //Polling int j=0,k=0,z=0,controllo; k=((ctrl/4)*(multi)); z=((ctrl/4)*(multi+1))-1; for(j=k ;j<z; j++) //fprintf(fp,"%x",byte[j]); check=fifoed_avalon_uart_write(fp,byte/*Puntatore dati da Tx*/,25344); but it seems i can transmit using (UART's light is switched on during TX) fprintf(fp,"%x",byte[j]); ...anyway, the received bytes don't seems the ones transmitted....What's up? Thanks http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
does this IP still exist ? where can i find it ? thanks.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you need an UART with buffers, you can try YANU Uart from opencores. Its interface is compliant to Altera Avalon Interfaces and, as I remember, is supported in U-Boot (if you need a bootloader, too).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks ! I was searching the altera one for the sopc compatibility but yanu ip seems to have the same purpose. I will try it as soon as possible.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I use this IP instead :
http://www.alterawiki.com/wiki/fifoed_avalon_uart it is based on altera_avalon_uart and is sopc ready. very fast to implement !!- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I'm having issues with the fifoed avalon uart; I think it is a software issue but I am not sure. I previously posted here http://www.alteraforum.com/forum/sho...721#post181721 thanks.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey fates would you mind explaining how you got it to work?
I'm not having much luck with my own attempts.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- « Previous
-
- 1
- 2
- Next »