Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21588 Discussions

fifoed avalon uart custom baudrate

Altera_Forum
Honored Contributor II
1,403 Views

Hi all, 

 

Does anyone know how can I proceed to use fifoed avalon uart in a non standard baud rate (500 000 bauds).  

I have yet added 500000 at line 81 of fifoed_avalon_uart_hw.tcl : set_parameter_property baud ALLOWED_RANGES {5000000 2000000 921600 500000 460800 230400 115200 57600 38400 31250 28800 19200 14400 9600 4800 2400 1200 300} 

It appears in a component GUI but i supposed this is not the only modification that we need? 

 

Thanks
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
457 Views

I think you'll find the baudrates in that list are validated via other files. So, I think you'll need to do (a little) more. 

 

I've successfully added a custom baudrate to the standard Nios UART peripheral in this way. For that, as well as the '.tcl' file, I had to modify the 'class.ptf', 'em_uart.pl' & 'em_uart_qsys.pm' files - although each only to add the custom baudrate as an simple integer value. From memory, Qsys refused to generate until these changes were made. 

 

Cheers, 

Alex
0 Kudos
Reply