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: 本驱动程序在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: S3C2410 上面的关于SMS 完整工程源代码,包括LCD、Flash、DMA、mmu、Power、Timer等驱动,以及SMS声音文件-S3C2410 above complete the project on the SMS source code, including LCD, Flash, DMA, mmu, Power, Timer, etc. drives, as well as SMS sound files Platform: |
Size: 1771520 |
Author:万兵 |
Hits:
Description: NAND Flash Boot
Please select function :
0 : USB download file(通过USB下载文件)
1 : Uart download file(通过串口下载文件)
2 : Write Nand flash with download file(将下载的文件烧写到NandFlash)
3 : Load Pragram from Nand flash and run(从NandFlash装载文件并运行)
4 : Erase Nand flash regions(擦除NandFlash区域)
5 : Write NOR flash with download file(将下载的文件烧写到NorFlash)
6 : Set boot params(设置Linux启动相关参数)
7 : Set AutoBoot parameter,1:linux 2:wince(设置WINCE自启动)-NAND Flash BootPlease select function: 0: USB download file (through the USB to download files) 1: Uart download file (through the serial port to download files) 2: Write Nand flash with download file (the downloaded file to the programmer NandFlash) 3: Load Pragram from Nand flash and run (from the NANDFLASH loading files and running) 4: Erase Nand flash regions (Erase the NANDFLASH region) 5: Write NOR flash with download file (the downloaded file to the programmer NorFlash) 6: Set boot params ( Linux set to start the relevant parameters) 7: Set AutoBoot parameter, 1: linux 2: wince (set up since the launch of WINCE) Platform: |
Size: 409600 |
Author:yang |
Hits:
Description: 自己写的支持S3C2410下的实时DMA操作的linux平台驱动程序
功能完善-S3C2410 support himself under the operation of real-time DMA driver linux platform functions Platform: |
Size: 31744 |
Author:陈朝阳 |
Hits:
Description: 本程序主要是针对linux 下s3c2410下,串口驱动进行开发,针对高速率的串口数据采集,以DMA方式读取串口通信数据,并提供串口RS422的通信协议定义。次程序在2410上以成功测试过。-This procedure is mainly directed against s3c2410 under linux, the serial driver developed for high-speed serial data acquisition, DMA mode to read the serial communication of data and provides RS422 serial communication protocol definition. Meeting in 2410 on the procedure to have been successfully tested. Platform: |
Size: 116736 |
Author:lisheng |
Hits:
Description: 包含了移植linux3.6.9到s3c2410的详细步骤和错误的解决办法,
其中dma.c的改动可以解决高版本内核声音断续的问题,这也是很多移植教程里所没有提到的.-linux kernel 3.6.9 transplantation to s3c2410 board
it contains the detailed steps and error solutions
The dma.c changes can resolve the kernel sound intermittent problem in high version of kernel. which a lot of other transplantation tutorials are not mentioned. Platform: |
Size: 105472 |
Author:loupen |
Hits: