基于嵌入式NiosⅡ软核的串口直接读写寄存器方式编程  被引量:6

Direct Register Access Serial Program Based on Embedded Nios II Soft Core

在线阅读下载全文

作  者:李锐[1] 

机构地区:[1]南京邮电大学电子科学与工程学院,江苏南京210003

出  处:《现代电子技术》2010年第14期37-39,48,共4页Modern Electronics Technique

摘  要:讨论了NiosⅡ软核的串口直接读写寄存器方式的编程方法,并给出了参考源代码。它与C语言的标准输入/输出语句相比,可极大地缩短程序执行时间,并使得CPU能同时处理其他事务。根据此代码编写了应用测试程序,并进行了测试。测试结果显示串口通信运行良好,较为稳定。The derieet-register access program of serial communication based on Nios II soft core is discussed. The reference source code is also presented. In comparison with the traditional standard C input and output program, the deriect- register access program can greatly reduce the excution time of the program and release CPU to process the other affair. According to the source code, the test code is programed and run in the hardware. The experiment result shows that the serial communication program runs well and stable.

关 键 词:UART NiosⅡ SOPC Register-access 

分 类 号:TP332[自动化与计算机技术—计算机系统结构] TP368.1[自动化与计算机技术—计算机科学与技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象