Re: GPIO driver for pxa270
- From: princyfrancis@xxxxxxxxx
- Date: 28 Dec 2006 02:43:55 -0800
Hi,
in pxa 270,there is a gpio controller.For making a gpio pin interrupt
enable ,we should register its irq to isr.Isn't it.So i think there
will be an irq for gpio controller.But i don't find it .
Is there any need to set anything in interrupt controller register?
please help me
princyfrancis@xxxxxxxxx wrote:
Hi,
Onething i know that we should register an interrupt.For that we should
implement an isr.with some irqs.how can we implement interrupt
registration.can we add something likeSYSINTR_GPIO.
please reply me.
princy wrote:
Hi SAR i don't know "the technique of accessing the physical address location
of GPIO".I am a new in driver development.I didn't worked in hardware side.So
don't know how to read the register ,configure the pins.Can you please help
me..i will grateful to u
"SAR" wrote:
For the PXA270 Architecture, you can find the data*** and look up the
address locations for the GPIO registers. The few that I remember are AFR,
DIR, READ and WRITE. Now these addresses are physical address locations. If
you know the technique of accessing the physical address locations, then
accessing GPIO is very easy.
--
SAR,
Windows CE/Mobile Developer.
"K. S. Huang" wrote:
Yes, so that's what I mean you need to leverage the BSP from other Windows
CE platform.
<princyfrancis@xxxxxxxxx>
???????:1166431378.838815.250630@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
thank u huang..
i am using wince5.0 as os and mainstone II bsp(pxa270 processor).
there is no specific diver for gpio configuration.
K. S. Huang wrote:
If you have OMAP 730/850/1030 series BSP (which is shipped with Windows
Mobile AK), the FSample. GSample dose provide a GPIO framework for common
use.
Otherwise, you may want to refer to the H4Sample BSP of Yamazaki which
provide a SPI and I2C simply bus driver and could be leverage as the GPIO
driver in your own BSP.
<princyfrancis@xxxxxxxxx>
???????:1166416578.317792.223040@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi all,
I want to write a gpio driver for pxa270 in wince.My requirement is to
monitor and read the status of a GPIO pin.That gpio pin is named as
spare input.That gpio pin changes its status whenever there is a pulse
comes.So i think the gpio pin must change its status on a interrupt
driven condition.
How the gpio driver can be implemented in wince.
please help me.
.
- Follow-Ups:
- Re: GPIO driver for pxa270
- From: bluesphere
- Re: GPIO driver for pxa270
- References:
- GPIO driver for pxa270
- From: princyfrancis
- Re: GPIO driver for pxa270
- From: K. S. Huang
- Re: GPIO driver for pxa270
- From: princyfrancis
- Re: GPIO driver for pxa270
- From: K. S. Huang
- Re: GPIO driver for pxa270
- From: princyfrancis
- GPIO driver for pxa270
- Prev by Date: Re: Serial driver
- Next by Date: Mass Storage Issue
- Previous by thread: Re: GPIO driver for pxa270
- Next by thread: Re: GPIO driver for pxa270
- Index(es):