文件名称:spi_verilog
-
所属分类:
- 标签属性:
- 上传时间:2015-12-03
-
文件大小:7.67kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
在SPI操作中,最重要的两项设置就是时钟极性(CPOL或UCCKPL)和时钟相位(CPHA或UCCKPH)。时钟极性设置时钟空闲时的电平,时钟相位设置读取数据和发送数据的时钟沿。
主机和从机的发送数据是同时完成的,两者的接收数据也是同时完成的。所以为了保证主从机正确通信,应使得它们的SPI具有相同的时钟极性和时钟相位。
-In more details:
1. The master pulls SSEL down to indicate to the slave that communication is starting (SSEL is active low).
2. The master toggles the clock eight times and sends eight data bits on its MOSI line. At the same time it receives eight data bits the slave on the MISO line.
3. The master pulls SSEL up to indicate that the transfer is over.
主机和从机的发送数据是同时完成的,两者的接收数据也是同时完成的。所以为了保证主从机正确通信,应使得它们的SPI具有相同的时钟极性和时钟相位。
-In more details:
1. The master pulls SSEL down to indicate to the slave that communication is starting (SSEL is active low).
2. The master toggles the clock eight times and sends eight data bits on its MOSI line. At the same time it receives eight data bits the slave on the MISO line.
3. The master pulls SSEL up to indicate that the transfer is over.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
verilog/spi_clgen.v
verilog/spi_defines.v
verilog/spi_shift.v
verilog/spi_top.v
verilog/timescale.v
verilog
verilog/spi_defines.v
verilog/spi_shift.v
verilog/spi_top.v
verilog/timescale.v
verilog
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
