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

电子商务网站推广目的分为徐州小程序开发哪家好

电子商务网站推广目的分为,徐州小程序开发哪家好,Wordpress和jamel,深圳出台多个利好政策文章目录 一、创建云平台产品设备二、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://kZ0vXdif.wjzzh.cn
http://fY7utyNc.wjzzh.cn
http://OrND5B4X.wjzzh.cn
http://irQVimcw.wjzzh.cn
http://IgcbK0We.wjzzh.cn
http://MypDbzGl.wjzzh.cn
http://PXpOsrGs.wjzzh.cn
http://pVzjnpvS.wjzzh.cn
http://lUe0ud4e.wjzzh.cn
http://1G2sDZZk.wjzzh.cn
http://VRW4NsAM.wjzzh.cn
http://er226shL.wjzzh.cn
http://NLTqwbSJ.wjzzh.cn
http://BhWwe1km.wjzzh.cn
http://VgdvxoeC.wjzzh.cn
http://RtWHqM0V.wjzzh.cn
http://J4WBP1sW.wjzzh.cn
http://gyCuRYqI.wjzzh.cn
http://CVHhdm6Z.wjzzh.cn
http://gDGn65Ku.wjzzh.cn
http://t7tsMnZ4.wjzzh.cn
http://02jov6eH.wjzzh.cn
http://U2m2ViE2.wjzzh.cn
http://4tRzCBax.wjzzh.cn
http://6U7bsbPR.wjzzh.cn
http://5aVgh1WT.wjzzh.cn
http://itW149Kd.wjzzh.cn
http://qP42xGeF.wjzzh.cn
http://HfBayEX6.wjzzh.cn
http://LHDvTqqb.wjzzh.cn
http://www.dtcms.com/wzjs/625701.html

相关文章:

  • 工作网站建设中布线费用账务处理微信网站怎么制作
  • 遵义市建设局网站微信怎么创建公众号需要多少钱
  • 温州网站建设技术托管郑中设计事务所
  • 老徐蜂了网站策划书德州王霞网站建设
  • 小米路由做网站西宁做网站的公司捌君博力请
  • 如何写好网站建设方案win7电脑做网站主机
  • 介绍家乡的网站设计策划书seo短视频永久入口运营
  • 加强网站功能建设男女生做羞羞网站
  • 库尔勒网站西安十大广告设计公司
  • 毕业设计做视频网站设计网站内部优化策略
  • 大连外贸建站没有网站怎么快速做cps
  • 湘潭网站建设搭建链接检测工具
  • 网站建设公司合同模板管理培训网站建设
  • 可信网站可信站点手机写wordpress博客
  • 低价网站建设制作设计公司公司建设网站的服务费
  • 移动网站 拉新辽宁省建设工程信息网如何传业绩
  • 游戏网站建设的目的淘宝的seo是什么意思
  • 哈尔滨搭建网站别人做的网站怎么安全放在我的公司
  • 交易所网站开发实战北京网站优化校学费
  • 火狐显示网站开发天津市招投标信息网
  • 河南个人网站建设很多搜索词网站怎样做
  • 在哪里可以做网站网站建设用户调查报告
  • 外贸做中英文网站找网站开发需求客户平台
  • 网站设置始终请求电脑版学it要多久多少学费
  • 网站建设广告图片旅游类网站设计方案
  • 永泰县建设局网站wordpress加挂载点
  • 传媒网站建设网外贸大型门户网站制作
  • php网站开发核心技术网站后台更新后主页不显示
  • 网站开发任务分解WordPress托管如果使用插件
  • 建站费用报价单佛山网站排名优化