当前位置: 首页 > news >正文

广州网站设计制作报价建立自己的网站需要多少钱

广州网站设计制作报价,建立自己的网站需要多少钱,网站的全栈建设,单位门户网站建设工作建议文章目录 一、创建云平台产品设备二、FPGA仿真WIFI模块通信过程仿真分析2.上板 总结 一、创建云平台产品设备 使用串口助手测试传输过程 相关信息记录 二、FPGA仿真WIFI模块通信过程 仿真分析 //各个状态tx_dataalways (posedge clk or negedge rst_n) beginif(!rst_n) beg…

文章目录

  • 一、创建云平台产品设备
  • 二、FPGA仿真WIFI模块通信过程
    • 仿真分析
    • 2.上板
  • 总结

一、创建云平台产品设备

在这里插入图片描述
在这里插入图片描述
使用串口助手测试传输过程

在这里插入图片描述

相关信息记录
在这里插入图片描述
在这里插入图片描述

二、FPGA仿真WIFI模块通信过程

仿真分析

在这里插入图片描述

 //各个状态tx_dataalways @(posedge clk or negedge rst_n) beginif(!rst_n) beginuart_tx_data <= 8'd0;endelse if((state==AT) && tx_count<8'd6 ) beginuart_tx_data <= cmd_AT[47 - tx_count *8 -:8];endelse if((state==CWMODE) && tx_count<8'd15 ) beginuart_tx_data <= cmd_CWMODE[119 - tx_count *8 -:8];endelse if((state==RST) && tx_count<8'd10 ) beginuart_tx_data <= cmd_RST[79 - tx_count *8 -:8];endelse if((state==CWJAP) && tx_count<8'd31 ) beginuart_tx_data <= cmd_CWJAP[247 - tx_count *8 -:8];endelse if((state==CWDHCP) && tx_count<8'd17 ) beginuart_tx_data <= cmd_CWDHCP[135 - tx_count *8 -:8];endelse if((state==MQTTUSERCFG) && tx_count<8'd172 ) beginuart_tx_data <= cmd_MQTTUSERCFG[1375 - tx_count *8 -:8];endelse if((state==MQTTCONN) && tx_count<8'd45 ) beginuart_tx_data <= cmd_MQTTCONN[359 - tx_count *8 -:8];endelse if((state==MQTTSUB) && tx_count<8'd67 ) beginuart_tx_data <= cmd_MQTTSUB[535 - tx_count *8 -:8];endelse if((state==MQTTPUB) && tx_count<8'd123 ) beginuart_tx_data <= cmd_MQTTPUB[983 - tx_count *8 -:8];endelse beginuart_tx_data <= uart_tx_data;end
end
always @(posedge clk or negedge rst_n) beginif(!rst_n) beginstate <= IDLE;endelse begincase(state)IDLE:beginstate<=AT;endAT:begin//at testif(tx_count==8'd6)beginstate <= WAK_AT;endelse beginstate <= AT;endendWAK_AT:beginif(rx_count==8'd2)beginstate <= CWMODE;endelse beginstate <= WAK_AT;endendCWMODE:begin//set modeif(tx_count==8'd15)beginstate <= WAK_CWMODE;endelse beginstate <= CWMODE;endendWAK_CWMODE:beginif(rx_count==8'd2)beginstate <= RST;endelse beginstate <= WAK_CWMODE;endendRST:begin//at rstif(tx_count==8'd10)beginstate <= WAK_RST;endelse beginstate <= RST;endendWAK_RST:beginif(rx_count==8'd2)beginstate <= CWJAP;endelse beginstate <= WAK_RST;endendCWJAP:begin//at rstif(tx_count==8'd31)beginstate <= WAK_CWJAP;endelse beginstate <= CWJAP;endendWAK_CWJAP:begin//at rstif(rx_count==8'd2)beginstate <= CWDHCP;endelse beginstate <= WAK_CWJAP;endendCWDHCP:begin//at rstif(tx_count==8'd17)beginstate <= WAK_CWDHCP;endelse beginstate <= CWDHCP;endendWAK_CWDHCP:begin//at rstif(rx_count==8'd2)beginstate <= MQTTUSERCFG;endelse beginstate <= WAK_CWDHCP;endendMQTTUSERCFG:begin//at rstif(tx_count==8'd172)beginstate <= WAK_MQTTUSERCFG;endelse beginstate <= MQTTUSERCFG;endendWAK_MQTTUSERCFG:begin//at rstif(rx_count==8'd2)beginstate <= MQTTCONN;endelse beginstate <= WAK_MQTTUSERCFG;endendMQTTCONN:begin//at rstif(tx_count==8'd45)beginstate <= WAK_MQTTCONN;endelse beginstate <= MQTTCONN;endendWAK_MQTTCONN:begin//at rstif(rx_count==8'd2)beginstate <= MQTTSUB;endelse beginstate <= WAK_MQTTCONN;endendMQTTSUB:begin//at rstif(tx_count==8'd67)beginstate <= WAK_MQTTSUB;endelse beginstate <= MQTTSUB;endendWAK_MQTTSUB:begin//at rstif(rx_count==8'd2)beginstate <= MQTTPUB;endelse beginstate <= WAK_MQTTSUB;endendMQTTPUB:begin//at rstif(tx_count==8'd123)beginstate <= WAK_MQTTPUB;endelse beginstate <= MQTTPUB;endendWAK_MQTTPUB:begin//at rstif(rx_count==8'd2)beginstate <= IDLE;endelse beginstate <= WAK_MQTTPUB;endenddefault:state <= IDLE;endcaseendend

接收数据判断只是简单做了一下,因为是正确回应的话所有的指令最后都是OK。所以可以一直缓存16位数据,当持续时间大于串口接受结束标志之间的间隔后进行判断,如果最后接收到的缓存16位数据是“OK”,则进入下一个状态即可,仿真只是检验一下过程,没做这一块。

按照第一部分设置的AT指令进行发送,主要就是一个状态机,一个是数据缓存发送。

2.上板

买的模块还没到,等到了再加上这部分内容。


总结

持续更新…

http://www.dtcms.com/a/586013.html

相关文章:

  • 淘宝做导航网站有哪些电商营销策划方案
  • 什么是住宅IP代理?为什么需要家庭 IP 代理
  • 潍坊定制网站搭建手机电子商务网站建设策划书
  • 《巧用 vector 解析 OJ 经典算法:从异或寻数到杨辉三角》
  • LoRA技术原理详解:大模型高效微调的“低秩”智慧
  • Rust中数组简介
  • 外国做足球数据网站学校网站设计方案模板
  • 68网页设计欣赏seo搜索排名优化是什么意思
  • Epoll 服务器实战教学:从 Poll 到高性能事件驱动模型
  • A*改进算法D* 和 LPA* 算法介绍和算法特点对比详解
  • 第十二章 网络地址转换
  • 郑州市东区建设环保局官方网站wordpress 仿煎蛋主题
  • Linux 中的 Cron:管理员完整指南 + 隐藏问题
  • 南昌做网站建站的小礼品网络定制
  • 建筑网站推荐百度小程序云开发
  • Apls-day4
  • 国家网信办发布的第十四批深度合成算法备案综合分析报告
  • 动感网站模板网站百度搜不到了
  • 赚钱软件哪个赚钱多又快Wordpress校内优化
  • 小项目:猜数字游戏
  • 网易门户网站建设wordpress 非插件cdn
  • “征服式学习”提示词工具箱
  • 【ZeroRange WebRTC】WebRTC 访问控制:最小权限与短期凭证(深入指南)
  • 前端-表格
  • 快速排名网站怎么做多语言网站
  • 墨境 | 水墨风动作Roguelite游戏
  • 深度学习:python人脸表情识别系统 情绪识别系统 深度学习 神经网络CNN算法 ✅
  • Similarity and Dissimilarity Measures|相似性和不相似性度量
  • 树莓派学习资料共享
  • 我们来学AI编程 -- 深入分析Lingma后台程序