Location:
![](/images/right.gif)
Search - ARM SPI linux
Search list
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: 基于linux和arm s3c2410的键盘驱动程序,动态加载内核模块,当按键按下,触发外部中断,通过spi和中断管脚,将键盘对应值在测试程序中显示。
Platform: |
Size: 9519 |
Author: rbk |
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:
Platform: |
Size: 18432 |
Author: 庄先生 |
Hits:
Description: 一个嵌入式linux的驱动程序例子,包含了McBSP的DSP启动例子-An embedded linux driver example, contains examples start McBSP of the DSP
Platform: |
Size: 168960 |
Author: liqiang |
Hits:
Description: ARM s3c2410 linux2.6下的spi驱动.-ARM s3c2410 linux2.6 under the spi driver.
Platform: |
Size: 2048 |
Author: zhouying |
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: 2410 spi 外接2515 can转换 驱动代码-2410 spi converter 2515 can drive external code
Platform: |
Size: 20480 |
Author: 徐斌 |
Hits:
Description: arm s3c2440 linux spi 驱动开发-arm s3c2440 linux spi driver
Platform: |
Size: 3072 |
Author: gf |
Hits:
Description: linux,arm环境,spi flash的驱动,含atmel,winbond等厂家的型号-linux, arm environment, spi flash drive containing atmel, winbond and other manufacturers of model
Platform: |
Size: 21504 |
Author: zhaomx |
Hits:
Description: 一种测量仪器的多处理机分布式控制方案, 并对DSP 与移植了Linux 操作系统的 之间 通信-A measuring instrument multiprocessor distributed control scheme and DSP and transplantation communication between the Linux operating system
Platform: |
Size: 529408 |
Author: lin |
Hits:
Description: 提出一种测量仪器的多处理机分布式控制方案, 并对DSP 与移植了Linux 操作系统的ARM之间SPI 通信设计进行了
着重阐述。对于这样的特定系统, 首先要完成Linux 下的SPI 驱动程序开发, 然后才能进行ARM 和DSP 下的应用程序开
发。对这几个方面进行了详细介绍, 给出了一种ARM 与DSP 通信的通信协议, 并基于此协议实现了ARM 与DSP 的SPI
通信。-SPI Data communication method
Platform: |
Size: 466944 |
Author: lingxfeng |
Hits:
Description: 现有STC12C5616和CC2530两个单片机。需要两个单片机SPI通信(5616为master,2530为slaver)-Run on arm platform, linux, using qt software development, can accept serial data, and open the window curves method using real-time display. Procedures used in serial port as well as qt graphical interface, and c++ knowledge.
Platform: |
Size: 9216 |
Author: 雷奇 |
Hits:
Description: 来自 Linux 基金会的实时操作系统 Zephyr 发布了 1.0 内核-Very small memory footprint approx. 8 kB.
Multiple architecture support: x86, ARM and ARC.
Arduino* 101, Arduino* Due, Intel* Quark* SE and NXP* Kinetis* K64 processor support.
Connectivity features: Bluetooth Low Energy (BLE) and 6lowPAN support.
Constrained Application Protocol (CoAP) and Datagram Transport Layer Security (DTLS) support.
I/O drivers: ADC, GPIO, I2C, SPI.
Zephyr SDK for application development.
API documentation.
Platform: |
Size: 26776576 |
Author: fgfgfgf |
Hits:
Description: 在Linux下RFID的SPI驱动,可以移植到ARM平台上直接使用(In Linux under RFID SPI driver, can be transplanted to the ARM platform, direct use)
Platform: |
Size: 235520 |
Author: mn7026
|
Hits: