EmbeddedRelated.com

Re: GPIO interrupt edge triggering

Started by pana...@yahoo.com in AT91SAM ARM14 years ago 1 reply

Hi dear friend, I'm working on linux2.6.30 kernel for At91sam9261-ek like board, in our board we have connected the irq pin of ads7846 to a...

Hi dear friend, I'm working on linux2.6.30 kernel for At91sam9261-ek like board, in our board we have connected the irq pin of ads7846 to a gpio(PIN_PA22) instead of IRQ2(PIN_PC2), therefore we have encountered a problem in the kernel for activation of gpio interrupt instead of IRQ. My question is, How can I redirect the interrupt routine from IRQ to gpio? Also I have done the following m...


Redirect ADS7846 interrupt from IRQ ro GPIO

Started by pana...@yahoo.com in AT91SAM ARM14 years ago

Hi dear friend, I'm working on linux2.6.30 kernel for At91sam9261-ek like board, in our board we have connected the irq pin of ads7846 to a...

Hi dear friend, I'm working on linux2.6.30 kernel for At91sam9261-ek like board, in our board we have connected the irq pin of ads7846 to a gpio(PIN_PA22) instead of IRQ2(PIN_PC2), therefore we have encountered a problem in the kernel for activation of gpio interrupt instead of IRQ. My question is, How can I redirect the interrupt routine from IRQ to gpio? Also I have done the following m...


Redirect ADS7846 interrupt from IRQ to GPIO on at91sam9261ek like

Started by pasc...@hotmail.com in AT91SAM ARM12 years ago 4 replies

Hi there, I'm working on at91sam9261ek like board with linux 2.6.30 kernel. I need to redirect the interrupts from IRQ to gpio(PIN_PB6) for the...

Hi there, I'm working on at91sam9261ek like board with linux 2.6.30 kernel. I need to redirect the interrupts from IRQ to gpio(PIN_PB6) for the touchscreen. When i connect the IRQ and the gpio(PIN_PB6) with a wire, than i the touchscreen is working. The init function is called right, after login into linux on console i see "touchscreen0" device under "/dev/input". But of course i don't get a...


GPIO interrupt edge triggering

Started by James Li in AT91SAM ARM15 years ago 8 replies

Hi friends, I have a question regarding "gpio_irq_type" in linux2.6.28 kernel. I would like to trigger an interrupt on the falling edge of a...

Hi friends, I have a question regarding "gpio_irq_type" in linux2.6.28 kernel. I would like to trigger an interrupt on the falling edge of a GPIO pin (PC3) on at91sam9261ek. I have my own driver ready but it fails when request_irq(AT91_PIN_PC3, interrupt_isr, IRQF_TRIGGER_FALLING, "myInt", NULL) is called. However if I changed code to request_irq(AT91_PIN_PC3, interrupt_isr, IRQF_TRIG...


GPIO problem with AT91SAM7X256

Started by Bernd Walter in AT91SAM ARM17 years ago 5 replies

I'm using an AT91SAM7X256 with some relais driven trough an ULN2003. I know that the ULN2003 is designed for 5V pegel, but 3,3V gives...

I'm using an AT91SAM7X256 with some relais driven trough an ULN2003. I know that the ULN2003 is designed for 5V pegel, but 3,3V gives enough current to safely drive my relais. My problem is that I get a high impulse at power on of about 25ms, which is enough for the relais to switch. This pulse is a flat 3,3V signal, no power up glitches or something. Since the GPIO should reset to high-impe...


Error: module license 'unspecified' taints kernel

Started by pratibha_275 in AT91SAM ARM15 years ago 1 reply

Hi! After including my gpio module into the board AT91SAM9263, when i insmod the gpio.ko i get the following error DEV_GPIO: module license...

Hi! After including my gpio module into the board AT91SAM9263, when i insmod the gpio.ko i get the following error DEV_GPIO: module license 'unspecified' taints kernel Can anybody tell me the reason? ------------------------------------


General impressions of AT91SAM7 vs LPC21xx

Started by embeddedjanitor in AT91SAM ARM20 years ago 7 replies

I started out on a USB slave project a year back using an LPC2106 + an FTDI chip for the USB link. This was going to cost a...

I started out on a USB slave project a year back using an LPC2106 + an FTDI chip for the USB link. This was going to cost a bit (two chips etc and the GPIO speed of the LPC21xx is quite slow which would have been a problem. As it turned out I ran out of time through last


How to compile a kernel module for AT91SAM9263 board with buildroot linux

Started by pratibha_275 in AT91SAM ARM15 years ago 3 replies

We are using open source so we need to add our modules into the kernel. We are trying to compile a gpio module for our kernel.But we dont know...

We are using open source so we need to add our modules into the kernel. We are trying to compile a gpio module for our kernel.But we dont know the procedure. Can anyone tell if it is possible to add a *.ko file into the board just by copying it into the board or not? or is there any other way to register the driver into the board? Please help if you can. ------------------------------------ ...


Interfacing MPU6050 and AT91SAM7 using i2c protocol

Started by "ank...@gmail.com [AT91SAM]" in AT91SAM ARM10 years ago 1 reply

Hello, I am facing a problem in interfacing mpu6050 and AT91SAM7SE-EK using i2c protocol. I wanted to read temperature from a register of ...

Hello, I am facing a problem in interfacing mpu6050 and AT91SAM7SE-EK using i2c protocol. I wanted to read temperature from a register of MPU6050 but I am unable to do so. I did the following in my code: 1. Enabled the clock for twi 2. disabled the gpio pin and enabled the A-select register 3. Open drained the pins 4. cwgr value =0x2FFFF 5. mmr with the slave address 0x68, mread and 1 byt...


AT91SAM9263 TWI (I2C) interface to RTC......

Started by Kiran in AT91SAM ARM16 years ago 3 replies

Dear All, Any one tried working with TWI (I2C) in AT91SAM9263. I have interface TWI to RTC (DS1338). If TWI is enbled there no O/P from...

Dear All, Any one tried working with TWI (I2C) in AT91SAM9263. I have interface TWI to RTC (DS1338). If TWI is enbled there no O/P from these pins(PB4 & PB5), how ever if these pins are configured as GPIO & I2C run in software, it is working fine. Can any one tell me about H/W TWI (I2C). Regards, Kiran