浅谈佛萨奇公排系统模式开发源码部署(Demo)2.0Meta Force佛萨奇系统开发源码

简介: 佛萨奇公排系统模式开发源码部署(Demo)
  常见的SPI通信实现一般包括4根线,CLK,CS,MOSI,MISO,协议的原理比较简单,其实就是在时钟的不同边沿处选择输入还是输出,当选择是输入的时候,数据线要有保持数据的能力;当输出的时候,数据线要能够改变电平来输出数据。

概况
The W25Q128BV (8M-bit) Serial Flash memory provides a storage solution for systems with limited space, pins and power. The 25Q series offers flexibility and performance well beyond ordinary Serial Flash devices. They are ideal for code shadowing to RAM, executing code directly from Dual/Quad SPI (XIP) and storing voice, text and data. The device operates on a single 2.7V to 3.6V power supply with current consumption as low as 4mA active and 1μA for power-down.
The W25Q128BV array is organized into 65,536 programmable pages of 256-bytes each. Up to 256 bytes can be programmed at a time. Pages can be erased in groups of 16 (4KB sector erase), groups of 128 (32KB block erase), groups of 256 (64KB block erase) or the entire chip (chip erase). The W25Q128BV has 4,096 erasable sectors and 256 erasable blocks respectively. The small 4KB sectors allow for greater flexibility in applications that require data and parameter storage. (See Figure 2.)
The W25Q128BV supports the standard Serial Peripheral Interface (SPI), and a high performance Dual/Quad output as well as Dual/Quad I/O SPI: Serial Clock, Chip Select, Serial Data I/O0 (DI), I/O1 (DO), I/O2 (/WP), and I/O3 (/HOLD). SPI clock frequencies of up to 104MHz are supported allowing equivalent clock rates of 208MHz (104MHz x 2) for Dual Output and 280MHz (70MHz x 4) for Quad SPI when using the Fast Read Quad SPI instructions. These transfer rates can out perform standard Asynchronous 8 and 16-bit Parallel Flash memories. The Continuous Read Mode allows for efficient memory access with as few as 8-clocks of instruction-overhead to read a 24-bit address, allowing true XIP (execute in place) operation.
A Hold pin, Write Protect pin and programmable write protection, with top, bottom or complement array control, provide further control flexibility. Additionally, the device supports JEDEC standard manufacturer and device identification with a 64-bit Unique Serial Number.

根据CLK的极性(两个采样沿,空闲时电平是高是低),SPI可以分4种工作模式(CLK的排列组合),这里不介绍工作模式(因为图也不一定对)。主要说一下以下几点

无论是哪种模式,当采集的时候,电平要保持住,不采集的时候,电平可以改变
由于CLK的存在,采样和变更电平的是要遵守时序的
这里注意一下SDI和SDO的流向,当SCLK上升沿时,对主机M是输入,采样阶段,因此SDI数据是保持住的,当SCLK下降沿时,对主机M是输出,SDO是保持状态
从上面的介绍可以看出,实现SPI最少可以只需要2根线,即SCL和SDA,由SCL提供时序,SDA用来传输数据。这时由于一个时钟周期内只能提供两个边沿,因此只能是一个边沿采样,一个边沿输出(改变电平)。

回到W25Q128上:引脚描述

这里主要介绍几个引脚,IO,写保护,保持。IO这里由于支持3种多路SPI方式,因此当采用标准SPI时,DI脚输入,在CLK上升沿写入地址或数据,DO在CLK下降沿输出。

写保护和保持均由寄存器2控制,当寄存器2设置为双路或4路时,写保护和保持的原有功能失效。

相关文章
|
2月前
|
XML JavaScript 前端开发
魔豹Meta Force佛萨奇项目系统开发解决程序方案
进入web.xml,添加配置 代码语言:javascript <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
开发框架 供应链 监控
PancakeSwap去中心化薄饼交易所系统开发方案项目/案例开发/逻辑详情/源码稳定版
  区块链助推供应链上的数据更加透明,供应链上的企业可以准确的使用端到端的透明数据,区块链技术可以有效的对供应链上企业的交易进行数字化的处理,And it can establish a decentralized and immutable record of all transactions,which can achieve real-time data sharing and effectively reduce the time cost of data information acquisition.
|
4月前
|
自然语言处理 搜索推荐 算法
Metaforce佛萨奇2.0丨3.0系统开发稳定版/需求设计/功能说明/案例项目/逻辑方案/源码程序
Metaforce佛萨奇系统是一个基于人工智能技术的虚拟助手系统,
dapp只涨不跌项目系统开发稳定版/步骤需求/逻辑方案/案例项目/源码指南
The development steps of a DApp smart contract system that only rises but not falls may include the following:
|
4月前
|
安全 区块链 AndFix
dapp丨swap丨lp智能合约只涨不跌模式系统开发详细案例/指南教程/步骤项目/源码设计
Requirement analysis: Clarify the functional requirements and business logic of the system. Determine the asset types, transaction rules,
|
11月前
|
vr&ar 安全 AndFix
Metaforce佛萨奇系统开发案例详细丨方案逻辑丨项目程序丨规则玩法丨源码功能
Requirement analysis: Communicate fully with customers to understand their specific needs and expectations for the Metaforce Sasage system, including game types, features, art styles, etc
|
11月前
|
开发框架 运维 测试技术
ARBT(阿尔比特)智能合约系统开发稳定版/详细案例/步骤逻辑/需求方案/成熟技术/源码架构
需求分析:与客户充分沟通,了解其业务需求和期望,明确系统的功能和性能要求。
|
安全 区块链
ARBT阿尔比特智能合约系统开发方案设计/详细案例/规则介绍/源码程序
The basic principle of the ARBT pledge mining system is that users lock a certain number of ARBT tokens in the system for pledge and receive corresponding mining rewards. During the pledge process, the user's ARBT token will be frozen, making it unable to freely trade and transfer to ensure the stab
|
区块链
佛萨奇源码版丨佛萨奇2.0Metaforce系统开发功能方案/案例详细/方案项目/源码程序
  一条完整的区块链,是由众多分布式账本集合而成的一种数据链。那么随着其中某个账本的记录完成,区块也就随之生成。区块的生成过程也就可以理解为是交易的一个记账过程。但光有区块还是不够的,还得需要“链”将所有已有区块都连起来。那么所谓的“链”,就是时间戳技术以及某种智能合约。
|
Rust 算法 区块链
Meta Force佛萨奇2.0合约开发系统源码部署技术
当一个节点收到用hash300签名的交易时,它将知道这些交易将被放在hash200之后,但在hash400之前(假设100个hash为延迟)。这与ETH2.0使用的可验证延迟函数(VDFs)的概念很相似。区别在于证明的验证,对于VDF来说,验证的步骤要比创建证明复杂得多,而对于PoH来说,需要重新计算每个哈希值。
Meta Force佛萨奇2.0合约开发系统源码部署技术