上一页 1 ··· 7 8 9 10 11 12 13 14 15 下一页
  2011年12月5日
摘要: 1http://www.doc88.com/p-28431595979.html2智能化嵌入式可编程控制器及其集成开发系统的研制3http://www.docin.com/p-62693005.html#4.http://www.doc88.com/p-43249953091.html 阅读全文
posted @ 2011-12-05 08:41 _song 阅读(183) 评论(0) 推荐(0) 编辑
  2011年12月3日
摘要: spi驱动模型和i2c的类似,都按照主机外设分离来设计的。但我觉得比i2c的要简明好多。上文配置的spi驱动最外层是platform总线然后是spi总线然后是字符设备。spi驱动模型分为spi主控制器驱动,对应结构体spi_master-spi_s3c24xx.c。控制怎么发。spi外设驱动,对应结构体spi_driver-----spidev.c。实现与用户的接口。***************************************************************************************对于te6410,linux2.6.36.2 2012- 阅读全文
posted @ 2011-12-03 15:58 _song 阅读(1128) 评论(0) 推荐(0) 编辑
摘要: spi_master/* linux/drivers/spi/spi_s3c24xx.c * * Copyright (c) 2006 Ben Dooks * Copyright (c) 2006 Simtec Electronics * Ben Dooks * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the F... 阅读全文
posted @ 2011-12-03 08:37 _song 阅读(790) 评论(0) 推荐(0) 编辑
摘要: 硬件协议http://www.mct.net/faq/spi.htmlhttp://en.wikipedia.org/wiki/Serial_Peripheral_Interface_Bushttp://baike.baidu.com/view/245026.htm软件①.添加spi平台设备在arch/arm/plat-s3c24xx/devs.c已经定义了spi平台设备3c_device_spi0和3c_device_spi1,如下/* SPI (0) */ static struct resource s3c_spi0_resource[] = { [0] = { .start =... 阅读全文
posted @ 2011-12-03 05:59 _song 阅读(591) 评论(0) 推荐(0) 编辑
摘要: ti系列Precision ADC (10MSPS)http://focus.ti.com/paramsearch/docs/parametricsearch.tsp?family=analog&familyId=2020&uiTemplateId=NODE_STRY_PGE_T1.adc0808 8通道并口http://baike.baidu.com/view/3791579.htmhttp://www.ti.com/product/adc08082.adc0809 8通道并口 IN0~IN7:8路模拟量输入端。 2-1~2-8:8位数字量输出端。http://baike.b 阅读全文
posted @ 2011-12-03 03:38 _song 阅读(215) 评论(0) 推荐(0) 编辑
  2011年12月2日
摘要: updating...i2c驱动目录[root@localhost i2c]# pwd /opt/FriendlyArm/mini2440/linux-2.6.32.2/drivers/i2c [root@localhost i2c]# tree //.有省略 |-- Kconfig |-- Makefile |-- algos | |-- Kconfig | |-- Makefile | |-- built-in.o | |-- i2c-algo-bit.c | |-- i2c-algo-pca.c | |-- i2c-algo-pcf.c... 阅读全文
posted @ 2011-12-02 08:07 _song 阅读(710) 评论(0) 推荐(0) 编辑
摘要: micro2440装备的是at24c08配置内核的i2c主机控制器驱动Device Drivers ---> I2C support --->I2C Hardware Bus support ---> S3C2410 I2C Driver 。这里把它配置成模块形式,并重新编译烧写内核。查看该项目的help:symbol: I2C_S3C2410 [=m],然后再根据Kconfig和Makefile可知对应的原文件是i2c-s3c2410.c。编译出的模块文件是 i2c-s3c2410.ko,将其下载到板子上insmod时出现如下信息:[root@FriendlyARM plg 阅读全文
posted @ 2011-12-02 07:04 _song 阅读(368) 评论(0) 推荐(0) 编辑
  2011年12月1日
摘要: 硬件http://www.i2c-bus.org/how-i2c-hardware-works/http://www.xinqi.cn/pdf/cun/at24cxx.pdfhttp://download.csdn.net/detail/songqqnew/4438714http://download.csdn.net/detail/songqqnew/4438746测试***********************************************************************************************使用ioctl( ,I2C_SMBU 阅读全文
posted @ 2011-12-01 18:56 _song 阅读(1194) 评论(0) 推荐(0) 编辑
摘要: algorithm ['ælɡəriðəm]算法 genetic algorithm遗传算法encryption algorithm加密算法pseudo ['psju:dəu] n. 伪君子;假冒的人adj. 冒充的,假的pseudo-terminal 伪终端 阅读全文
posted @ 2011-12-01 10:17 _song 阅读(786) 评论(0) 推荐(0) 编辑
摘要: 核心板已经是最小系统板了,只要从外部把5v的电源供上,核心板就可以正常进入nor或nand的bootloader。J1短接进入nand的bootloader,J1断开Nor。(我的板子nand里是uboot,nor里是supervivi)继续进入linux会卡在dm9000处。就在内核中把dm9000设备移除,如下,重新编译烧写即可。/opt/FriendlyArm/mini2440/linux-2.6.32.2/arch/arm/mach-s3c2440/mach-mini2440.cstatic struct platform_device *mini2440_devices[] __in 阅读全文
posted @ 2011-12-01 09:22 _song 阅读(303) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 下一页