Forum Discussion
Altera_Forum
Honored Contributor
19 years agosopc builder uart baud rate ignored
I have a problem with 2 processors talking over an async serial link, one of which is a nios2. The nios' uart is set for 115k baud (and variable is ticked in the sopc uart page), yet it comes up at 38.4 in a hello world, modified to printf inside a for loop. The uart is being driven by a pll at 85MHz. How could a divide by 3 be getting into the clock line, or am I on wrong track?
2 Replies
- Altera_Forum
Honored Contributor
115k / 3 = 38.33k
It looks like the frequency is divided 2 times by 3. Is your UART driven by the 85MHz or by a divided freq? - Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by kentmacfarlane@Feb 12 2007, 07:09 AM i have a problem with 2 processors talking over an async serial link, one of which is a nios2. the nios' uart is set for 115k baud (and variable is ticked in the sopc uart page), yet it comes up at 38.4 in a hello world, modified to printf inside a for loop. the uart is being driven by a pll at 85mhz. how could a divide by 3 be getting into the clock line, or am i on wrong track?<div align='right'><{post_snapback}> (index.php?act=findpost&pid=21455)
--- quote end ---
--- Quote End --- Even tried to confirm with fixed baud rate?