没有合适的资源?快使用搜索试试~ 我知道了~
基于stm32无线数据基站的设计和实现大学本科毕业论文.doc
0 下载量 67 浏览量
2023-07-10
11:55:35
上传
评论
收藏 1.35MB DOC 举报
温馨提示
试读
38页
基于stm32无线数据基站的设计和实现大学本科毕业论文.doc
资源推荐
资源详情
资源评论
本 科 毕 业 设 计
(20 届)
题 目
基于 stm32 无线数据基站的设计和实现
学 院
电子信息学院
专 业
电子信息工程
诚 信 承 诺
我谨在此承诺:本人所写的毕业论文《基于 stm32 无线数据基站
的设计和实现》均系本人独立完成,没有抄袭行为,凡涉及其他作者
的观点和材料,均作了注释,若有不实,后果由本人承担。
承诺人(签名):
年 月 日
摘 要
随着人们的生活及其生产水平的不断提高,对生活中各种数据接收的速度和
准确度的要求就显得尤为重要,无线数据收发控制就是一个典型的例子,因此无
线数据基站就是现代生产生活中应运而生的一种智能、快捷、方便可靠的检测系
统。
本设计通过 STM32F107 控制无线收发模块从无线网络节点接收数据,进行相
关处理后通过以太网把数据发送至应用服务器。系统的用户统用户通过 Internet 网
络访问应用服务器,其中本设计起到网桥和防火墙的作用。其中本设计中采用的
以太网控制器为 DM9161 芯片。
本设计软件部分的主要工作是在硬件平台的基础上实现 TCP/IP 协议栈,由于
TCP/IP 协议栈较复杂,功能实现比较困难,一般选择成熟的 TCP/IP 协议栈进行移
植,此次选择开源并且较成熟的 LwIP 以太网协议栈。
关键词:STM32F107 以太网 DM9161 TCP/IP 协议栈
ABSTRACT
With the continuous improvement of people's lives and their production levels, the
the life data reception speed and accuracy requirements is particularly important,
wireless data transceiver control is a typical example, the wireless data base station is
modern production lifecame into being a smart, fast, convenient and reliable detection
system.
This design STM32F107 control wireless transceiver module receives data from
the wireless network nodes related via Ethernet transmits data to the application server.
The system user system user access to the application server through the Internet,
including the design play a role of bridge and firewall. DM9161 Ethernet controller chip
used in the design.
The software part of the design work is implemented in hardware platform based on
the TCP / IP protocol stack, the TCP / IP protocol stack is more complex, and more
difficult to achieve, usually selected mature TCP / IP protocol stack for transplantation,
the choiceopen source and the more mature LwIP Ethernet protocol stack.
Key words:STM32F107 Ethernet DM9161 TCP/IP Protocol stack
目 录
1 引言 .............................................................................................................................1
2 概述 .............................................................................................................................2
2.1 课题研究的背景 ...............................................................................................2
2.2 国内外 stm32 控制以太网技术发展现状及趋势 ...........................................3
2.3 研发方向和技术关键 .......................................................................................4
2.4 主要技术指标 ...................................................................................................4
3 总体设计 .....................................................................................................................5
3.1 系统方案选择与论证 ......................................................................................5
3.2 系统软件总体结构 ..........................................................................................6
3.3 本章小结 ..........................................................................................................7
4 硬件设计 .....................................................................................................................9
4.1 主控芯片 STM32F107......................................................................................9
4.2 STM32 串口通讯 ...........................................................................................12
4.3 DM9161 用法介绍.........................................................................................16
4.4 本章小结 ........................................................................................................20
5 以太网协议 ...............................................................................................................21
5.1 TCP/IP 协议 ....................................................................................................21
5.2 嵌入式 TCP/IP 协议栈 ...................................................................................22
6 软件设计 ...................................................................................................................26
6.1 主程序设计 ....................................................................................................26
6.2 系统初始化子程序 ........................................................................................27
6.3 RS232 通讯子程序 ........................................................................................28
6.4 网口通讯子程序 ............................................................................................28
6.5 本章小结 ........................................................................................................29
7 结论 ...........................................................................................................................30
致谢 .................................................................................................................................31
参考文献 .........................................................................................................................32
附录 .................................................................................................................................33
剩余37页未读,继续阅读
资源评论
matlab大师
- 粉丝: 2375
- 资源: 9万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功