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: 17368 |
Author:y |
Hits:
Description: CAN总线芯片MCP2510在ARM芯片S3C2410上的完整驱动程序,MCP2510通过SPI接口与S3C2410对接,在Linux2.4操作系统下实现了底层带CAN接口的智能设备与上层设备进行通讯。-MCP2510 CAN Chip Chip S3C2410 ARM in the integrity of drivers, MCP2510 through the SPI interface and S3C2410 docking, the Linux operating system under the CAN interface with the bottom of the upper and intelligent communications equipment. Platform: |
Size: 19086 |
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: AD7888与S3C2410的SPI接口及Linux下嵌入式驱动的实现-AD7888 and S3C2410 the SPI interface and Linux driver under the realization of embedded Platform: |
Size: 185344 |
Author:hsl |
Hits:
Description: 基于linux和arm s3c2410的键盘驱动程序,动态加载内核模块,当按键按下,触发外部中断,通过spi和中断管脚,将键盘对应值在测试程序中显示。-Based on linux and arm s3c2410 keyboard driver, dynamically loaded kernel module, when the button is depressed, trigger external interrupt through the spi and interrupt pin, the corresponding value of the keyboard shown in the test procedure. Platform: |
Size: 9216 |
Author:rbk |
Hits:
Description: 这个程序实现了s3c2410的SPI口对max1227芯片的驱动。linux环境下用交叉编译环境编译之后,加载模块到内核之后就可以使用。-This procedure has the SPI port of S3C2410 chip max1227 driver. linux environment with cross compiler compiler environment, the loadable module into the kernel can be used after. Platform: |
Size: 2048 |
Author:李少春 |
Hits:
Description: 本程序是s3c2410在linux2.4.18系统平台的spi接口驱动程序,调试已通过,程序非常简练,用后请评分。-This program is used for S3c2410 SPI interface driver which applicated on Linux platform. Platform: |
Size: 2048 |
Author:安杰伦 |
Hits: