Re: GPIO driver for pxa270
- From: "bluesphere" <ads_bx@xxxxxxxxxxx>
- Date: Fri, 29 Dec 2006 23:50:53 +0100
There's a single IRQ for all the GPIOs (more or less)
and that's where the matter may get complex.
<princyfrancis@xxxxxxxxx> wrote in message
news:1167302635.401737.79380@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,location
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
side.Soof GPIO".I am a new in driver development.I didn't worked in hardware
helpdon't know how to read the register ,configure the pins.Can you please
theme..i will grateful to u
"SAR" wrote:
For the PXA270 Architecture, you can find the data*** and look up
are AFR,address locations for the GPIO registers. The few that I remember
locations. IfDIR, READ and WRITE. Now these addresses are physical address
thenyou know the technique of accessing the physical address locations,
Windowsaccessing 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
processor).CE platform.
<princyfrancis@xxxxxxxxx>
???????:1166431378.838815.250630@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
thank u huang..
i am using wince5.0 as os and mainstone II bsp(pxa270
Windowsthere is no specific diver for gpio configuration.
K. S. Huang wrote:
If you have OMAP 730/850/1030 series BSP (which is shipped with
for commonMobile AK), the FSample. GSample dose provide a GPIO framework
Yamazaki whichuse.
Otherwise, you may want to refer to the H4Sample BSP of
as the GPIOprovide a SPI and I2C simply bus driver and could be leverage
???????:1166416578.317792.223040@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxdriver in your own BSP.
<princyfrancis@xxxxxxxxx>
requirement is toHi all,
I want to write a gpio driver for pxa270 in wince.My
named asmonitor and read the status of a GPIO pin.That gpio pin is
is a pulsespare input.That gpio pin changes its status whenever there
interruptcomes.So i think the gpio pin must change its status on a
driven condition.
How the gpio driver can be implemented in wince.
please help me.
.
- 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
- Re: GPIO driver for pxa270
- From: princyfrancis
- GPIO driver for pxa270
- Prev by Date: Re: Conversion of YCbCr (4:2:2) to jpeg
- Next by Date: Re: Synchronization between ISR and IST - I2C Based device
- Previous by thread: Re: GPIO driver for pxa270
- Next by thread: Re: GPIO driver for pxa270
- Index(es):