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

希望对SPI下载  收藏√  我顶↑
  所属分类: Linux-Unix program
  开发工具: Unix_Linux
  文件大小: 17 KB
  上传时间: 2006-12-12
  下载次数: 177
  提 供 者: 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
 输入关键字,在本站40万海量源码库中尽情搜索:  帮助
 [driver488.rar] - Linux环境arm2440上的dma驱动程序开发源代码。
 [Linux11_mig1_11release.rar] - 关于嵌入式s3c2410开发平台上Linux2.6内核移植以及其驱动程序开发的讲解文档,讲叙的十分清楚,是难得的好文章!
 [Linux2410_kernel.rar] - Linux2.4.20针对三星公司的s3c2410开发板的内核改造。
 
 [ST16C554-Linux2.6.14.rar] - Linux 2.6内核下的16C554驱动程序源代码,工作在68模式下,其中包括驱动程序文档。
 [spi-tongxun.rar] - 用计算机并口模拟spi通讯的C源程序。 用计算机并口模拟SPI通讯的C源程序。
 [2410DMA.rar] - this for s3c2410 s dma.三星2410dma
 [spi driver.rar] - spi是一种新代的串口驱动。这是Linux下的,可以帮助我们学习这种新接口的原理!
 [leon3ps2.tar.gz] - sparc Linux2.6.11 leon3mmu 下键盘和鼠标驱动.
 [russia.tar_1TDJgPKfVTiS.gz] - QT 做的俄罗斯方快 基于Linux下的
 [s3c2440_kernel2.4.18_module_mmc.rar] - 三星s3c2440 ARM9芯片在Linux下的MMC卡驱动
文件列表(点击判断是否您需要的文件):
  spidma driver
  .............\circular_buf.c
  .............\circular_buf.h
  .............\dma.c
  .............\dma.h
  .............\readme.txt
  .............\spi_dma_slave.c
  .............\spi_dma_slave.h