Chinaunix首页 | 论坛 | 博客
  • 博客访问: 29930603
  • 博文数量: 230
  • 博客积分: 2868
  • 博客等级: 少校
  • 技术积分: 2223
  • 用 户 组: 普通用户
  • 注册时间: 2009-10-08 21:48
个人简介

Live & Learn

文章分类

全部博文(230)

文章存档

2022年(2)

2019年(5)

2018年(15)

2017年(42)

2016年(24)

2015年(13)

2014年(1)

2012年(5)

2011年(58)

2010年(56)

2009年(9)

我的朋友

发布时间:2017-05-22 10:47:53

//驱动代码点击(此处)折叠或打开/** This program is free software; you can redistribute it and/or modify* it under the terms of the GNU General Public License as published by* the Free Software .........【阅读全文】

阅读(2961) | 评论(0) | 转发(0)

发布时间:2017-05-18 15:57:29

点击(此处)折叠或打开/* Copyright (c) 2011, RidgeRun * All rights reserved. * * Contributors include: * Todd Fischer * Brad Lu *  * Redistributio.........【阅读全文】

阅读(940) | 评论(0) | 转发(0)

发布时间:2017-05-18 15:29:05

Please note that Pin configuration/muxing is a non-trivial part of the overall system design. It is easily possible to do illegal configurations when it comes to multiplexed pins (e.g. one pin driving low and the other one driving high). Even more though on SoCs where certain settings in this resp.........【阅读全文】

阅读(1904) | 评论(0) | 转发(0)

发布时间:2017-05-18 15:22:52

其原理图如下: 一个三极管,左边是一个外部信号,当POW_SW为高的时候,表明IMX CPU外部供电断开了。此时PMIC自动切换到电池供电。 就这个NPN型的三极管而言,POW_SW高,三极管的基极高,基极和发射极导通,集电极和发射极也导通,IMX端GPIO_7_11被拉低。 为了确保这个过程顺.........【阅读全文】

阅读(2752) | 评论(0) | 转发(0)

发布时间:2017-05-18 15:22:14

1. dts configuration./kernel_imx/arch/arm/boot/dts/imx6sl-evk.dts[plain] view plain copy ......  &iomuxc {          pinctrl-names = "default",&nbs.........【阅读全文】

阅读(1945) | 评论(0) | 转发(0)
给主人留下些什么吧!~~

config20102009-11-19 19:38

外设fpga做的8k的memory,用arm9去读写它,在linux2.6系统下;这样做对吗? 实际地址映射到虚拟内存中,用得到的虚拟地址去读写。 地址总线:a1-a14 数据总线:d0-d15 #define FPGA_BASE_ADDR (0x18000000)//片选为nGCS3 #define BWSCON (0x48000000) #define BANKCON3 (0x48000010) #define IP_SIZE (0x1FFF)//13根地址线8K的物理空间 static void *bwscon,*bankcon3,*fpga_base_addr; bwscon = ioremap_nocache(BWSCON,0x0000004); bankcon3 = ioremap_nocache(BANKCON3,0x0000004); fpga_base_addr = ioremap_nocache(FPGA_BASE_ADDR,IP_SIZE); writel(readl(bwscon)|0xD000,bwscon); writel(0x7FFC,bankcon3); for(i=0;i

回复  |  举报
留言热议
请登录后留言。

登录 注册