关键字  
 文件名称: spidmadriver本驱动程序在linux2.6.17中测试通过。yangxing msn:lelma_yx@hotmail.com

希望对SPI下载  收藏√  我顶↑
  所属分类: ARM-PowerPC-ColdFire-MIPS
  开发工具: Unix_Linux
  文件大小: 17 KB
  上传时间: 2006-12-12
  下载次数: 194
  提 供 者: y
 详细说明:本驱动程序在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
 输入关键字,在本站44万海量源码库中尽情搜索:  帮助
 [SPI_driver.rar] - 国腾8142扩展芯片在S3C2410上的SPI驱动程序,数据接收与发送.
 [russia.tar_1TDJgPKfVTiS.gz] - QT 做的俄罗斯方快 基于Linux下的
 [s3c2440_kernel2.4.18_module_mmc.rar] - 三星s3c2440 ARM9芯片在Linux下的MMC卡驱动
 
 [SPILCD.rar] - s3c2410下,wince下,SPI-LCD驱动,在EVC下开发,很实用
 [iic-driver-2.6.rar] - 嵌入式Linux 的驱动程序。采用2410的开发板全部可以通用(如使用引脚不同只要重新改脚定义),直接写入和读出数据
 [driver488.rar] - Linux环境arm2440上的dma驱动程序开发源代码。
 [AD7888_S3C2410_SPI_Linux_drivers.rar] - AD7888与S3C2410的SPI接口及Linux下嵌入式驱动的实现
 [ad7714.rar] - AD7714的单片机接口程序,功能完善.有注释
 [i2c_rtc_Linux.zip] - 嵌入式arm-Linux 2.6内核 s3c2410 的i2c总线驱动程序,以及i2c时钟设备驱动程序
 [pc1415.rar] - gpio驱动程序: gpio驱动程序 PC14.15,Linux+arm平台
文件列表(点击判断是否您需要的文件):
  spidma driver
  .............\circular_buf.c
  .............\circular_buf.h
  .............\dma.c
  .............\dma.h
  .............\readme.txt
  .............\spi_dma_slave.c
  .............\spi_dma_slave.h