Location:
Search - spi dma
Search list
Description: TMS320VC5402 SPI DMA的开发例程,大家可以-TMS320VC5402 SPI DMA development routines, we can s
Platform: |
Size: 2048 |
Author: 大好 |
Hits:
Description: 本驱动程序在linux2.6.17中测试通过。yangxing msn:lelma_yx@hotmail.com
希望对SPI操作的朋友有所帮助。
一、工作方式:
从设备:SPI为MASTER模式
S3C2410:SPI为SLAVE模式+DMA
二、工作流程
1.S3C2410从接收:当从设备发送数据时,S3C2410利用DMA方式收数,收到指定长度的数据,则进入DMA中断,将接收的数据拷出。
2.S3C2410从发送:当S3C2410需要发送,首先由RTS请求发送,然后等待从设备应答CTS,当从设备应答CTS时,进入外部中断,启动DMA发送,发送完成,再次进入从接收状态。
三、文件位置
spi_dma_slave.c
spi_dma_slave.h
circular_buf.c
circular_buf.h
等文件存放入driver/char/目录
dma.c存放于arch/arm/mach-s3c2410/目录
dma.h存放于include/arm-asm/mach-s3c2410/目录
四、使用环境
1.arm-linux-gcc-3.4.1-the driver linux2.6.17 in which the test. Yangxing msn : lelma_yx@hotmail.com hope to operate SPI friends help. 1, mode of work : from equipment : SPI for the S3C2410 MASTER mode : SPI for SLAVE+ DMA mode 2, workflow 1.S3C2410 from receiving : When sending data from the device, using DMA S3C2410 debt, the length of the designated data DMA will enter the interruption will receive unfettered access to the data. 2.S3C2410 from this : When S3C2410 need this, the first request sent by the RTS, Then wait for the response from CTS equipment, when the equipment response from CTS, access to external interrupt start DMA sent, Send completed, re-entered, from receiving state. 3. Position papers spi_dma_slave.c spi_dma_slave.h circul ar_buf.c circular_buf.h documents onto the driver/char/Contents
Platform: |
Size: 17408 |
Author: y |
Hits:
Description: wince SPI代码,分为MDD和PDD的代码,代码的详细讲解等-wince SPI code, divided into MDD and PDD code, code of detailed briefings, etc.
Platform: |
Size: 65536 |
Author: 孙开震 |
Hits:
Description: SPI总线,VHDL语言,硬件描述语言源码-SPI bus, VHDL language, hardware description language source code
Platform: |
Size: 3072 |
Author: 郑文棋 |
Hits:
Description: AT91SAM7X256 的SPI接口操作,支持DMA
开发环境为IAR430A
内附dataflash的读写代码
-AT91SAM7X256 the SPI interface to operate and support the development environment for the DMA containing IAR430A DataFlash reading and writing code
Platform: |
Size: 493568 |
Author: wwwww |
Hits:
Description: TMS320VC5402 同步串行通讯SPI与直接内存存取DMA开发例程-TMS320VC5402 synchronous SPI serial communication with the development of direct memory access DMA routines
Platform: |
Size: 4096 |
Author: 陆 |
Hits:
Description: STM32是以Cortex-M3为核的处理器,该例程介绍STM32下如何对DMA进行操作。在许多情况下需要用到DMA,比如USB的批量传输等。-Cortex-M3 based STM32-core processor for the routine introduction STM32 how to operate on the DMA. In many cases the need to use DMA, such as USB bulk transfer.
Platform: |
Size: 50176 |
Author: 熊刚 |
Hits:
Description: 这是一个居于2440的SPI通信实例,采用dma方式通信-2440 This is a living example of the SPI communications, using methods of communication dma
Platform: |
Size: 1959936 |
Author: 庄辉 |
Hits:
Description: 本例展示了如何实现2个SPI之间的在全双工(full-duplex)模式下通信,通过NSS软件管理,实现了由主向从,接着又从向主发送数据。
在本例程中,设置SPI1和SPI2为8bit数据帧,9Mbit/s传输速率。
在第一阶段,由主SPI1把SPI1_Buffer_Tx发送到SPI2,由从SPI2把SPI2_Buffer_Tx发送到SPI1。传输完成后,通过比较判断传输是否正确。
由于NSS管脚由软件管理,因此,可以在不改变硬件配置的情况下使SPI1由主变从,而SPI2由从变主。在第二阶段,由从SPI1把SPI1_Buffer_Tx发送到SPI2,由主SPI2把SPI2_Buffer_Tx发送到SPI1。传输完成后,通过比较判断传输是否正确。
在STM3210B-LK1上,如果以上4个传输都正确,则亮起LED1(LD4),否则亮起LED2(LD3)。-err
Platform: |
Size: 232448 |
Author: chen |
Hits:
Description: SPI DMA driver for S3C2440 under Linux core 2.6.24
Platform: |
Size: 6144 |
Author: Yuefu |
Hits:
Description: stm32的两个spi外设之间通过dma方式通信-Spi dma communication
Platform: |
Size: 580608 |
Author: majiahao |
Hits:
Description: stm32的spi单线双工通信,DMA通道-stm32 spi dma,one line
Platform: |
Size: 10313728 |
Author: 杨超 |
Hits:
Description: STM32F10X系列 SPI的DMA进行读写数据-STM32F10X serial,SPI DMA read and write.
Platform: |
Size: 41984 |
Author: 谢始富 |
Hits:
Description: SPI的通信总结:SPI详解、SPI的读写、SPI的接收、发送中断配置、SPI的DMA操作,整个SPI知识点总结,融为一体,适合开发人员学习SPI的各个特性!能让你五分钟领会SPI各个知识!-Summary: SPI communication SPI, SPI read and write SPI, the sending and receiving interrupt configuration, SPI DMA operation, the SPI knowledge points are summarized, integrated, suitable for developers to learn the various characteristics of SPI! Can let you five minutes to understand all the knowledge of SPI!
Platform: |
Size: 2252800 |
Author: focus li |
Hits:
Description: cc3200 spi dma 传输程序,其中有3种传输方案(Cc3200 SPI DMA transport program, which has 3 transmission schemes)
Platform: |
Size: 34816 |
Author: 雨一1990
|
Hits:
Description: 在显示刷新时可以不占用CPU运算时间,利用芯片内的DMA做数据通信,节约CPU资源。提高CPU的运行较率。(Achieve large data transfer)
Platform: |
Size: 7168 |
Author: xugong
|
Hits:
Description: stm32f407 SPI+DMA通信,测试稳定(Stm32f407 SPI+DMA communication)
Platform: |
Size: 3072 |
Author: gaowang073000 |
Hits:
Description: STM32 F407的SPI+DMA带文件系统FATFS(STM32 F407>SPI+DMA with FATFS)
Platform: |
Size: 8030208 |
Author: superkeen |
Hits:
Description: stm32h743 spi+dma 开发示例(stm32h743 adc+dma example)
Platform: |
Size: 60416 |
Author: f11f |
Hits:
Description: STM32 SPI DMA收发数据,使用DMA发送后,再使用非DMA发送不会丢失第一字节数据。
Platform: |
Size: 4987 |
Author: WuXudong |
Hits: