Re: GPIO interrupt edge triggering

Started by pana...@yahoo.com in AT91SAM ARM7 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 ARM7 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 ARM5 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...


using gpio buttons for clicking on the at91sam9263ek

Started by kirtibr in AT91SAM ARM9 years ago

I am using a sam9263ek where user's pushbutton bp1 and bp2 connected to pc4 and pc5 respectively are supposed to generate left click and right...

I am using a sam9263ek where user's pushbutton bp1 and bp2 connected to pc4 and pc5 respectively are supposed to generate left click and right click.But that isnt happening.The earlier posts talk abt using a driver for gpio but i neednt do that coz putting a number of printks in the drivers/input/input.c file shows the interrupts are generated and recognised which can be seen from /dev/i...


GPIO interrupt edge triggering

Started by James Li in AT91SAM ARM8 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 ARM10 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...


problem with GPIO port c pins on AT91SAM9260 CU-ES

Started by Virupax SS in AT91SAM ARM8 years ago

Hi I am using AT91SAM9260 CU-ES atmel processor which is a revised version of the ( AT91SAM9260 CJ ) processor. I have the code in u-boot...

Hi I am using AT91SAM9260 CU-ES atmel processor which is a revised version of the ( AT91SAM9260 CJ ) processor. I have the code in u-boot and kernel to toggle the port C pins in the GPIO mode, which works in the board having the ( AT91SAM9260 CJ ) processor and the same pins ( PC1 , PC2 and PC3 ) are not getting toggled in the board with (AT91SAM9260 CU-ES ) processor. IS there a m...


Error: module license 'unspecified' taints kernel

Started by pratibha_275 in AT91SAM ARM8 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? ------------------------------------


Pin-Read-in-speed with AT91 uC ?

Started by Martin Maurer in AT91SAM ARM11 years ago 1 reply

Hello,   i need to read in a GPIO with 25 Mhz. How fast is a read of a GPIO ? Is there a difference between AT91SAMx and...

Hello,   i need to read in a GPIO with 25 Mhz. How fast is a read of a GPIO ? Is there a difference between AT91SAMx and AT91R40008 ? Or is it faster to read an


SAM7X device simulator

Started by Mark Butcher in AT91SAM ARM10 years ago

Hi All Please note that a simulator of the AT91SAM7X parts is available for free download. It is very simple to use and doesn't require...

Hi All Please note that a simulator of the AT91SAM7X parts is available for free download. It is very simple to use and doesn't require any installation. The first use is for GPIO configuration control, where the device shows its available ports, the pin numbers, the peripheral functions it can do and the presently selected one [Just hover the mouse cursor over the port of interest]. Th...


GPIO access Problem

Started by prashant sangal in AT91SAM ARM8 years ago 2 replies

Hello friends, I am facing an unusual problem. Just want to know if someone else has faced it. on my at91sam9260 board, i need to use PB6 to...

Hello friends, I am facing an unusual problem. Just want to know if someone else has faced it. on my at91sam9260 board, i need to use PB6 to PB31 as input. I have enabled the Peripheral Clock , masked IFER with 0xFFFF0000 and enabled the Pull-up. The register values confirm it too. when i read PDSR without connecting to my device, it gives me 0xFFFC0000 instead of 0xFFFF0000. Can anybody su...


83848 Ethernet PHY with the SAM7X256

Started by Stefan Wimmer in AT91SAM ARM11 years ago

Hi folks, I'm planning to use National's 83848 PHY with the X256. Almost all connections are self declaring but there are 2 signals from...

Hi folks, I'm planning to use National's 83848 PHY with the X256. Almost all connections are self declaring but there are 2 signals from the X256 that don't have complementary pins on the PHY: EF100 and ETXER. Anyboda know what shall/can do with them? Are they available as GPIO or are they "hardwired" to the Exxx functions as soon as the EMAC is enabled and configured for MII? ...


General impressions of AT91SAM7 vs LPC21xx

Started by embeddedjanitor in AT91SAM ARM12 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


Help a newbie on AT91SAM9260!!

Started by in AT91SAM ARM10 years ago 10 replies

Sorry to bother you with so simple questions, but I couldn't find a precise information anywhere. I need to develop an equipment with...

Sorry to bother you with so simple questions, but I couldn't find a precise information anywhere. I need to develop an equipment with Ethernet, USART, GPIO and USB Host functions. After searching a while for uC with these functions, I decided on using the AT91SAM9260. But I have no knowledge on ARM uC programming, ARM hardware development, neither other things. Hardware questions first! ...


Started by Virupax SS in AT91SAM ARM8 years ago

Hi I am using AT91SAM9260 CU-ES atmel processor which is a revised version of the ( AT91SAM9260 CJ ) processor. I have the code in u-boot and...

Hi I am using AT91SAM9260 CU-ES atmel processor which is a revised version of the ( AT91SAM9260 CJ ) processor. I have the code in u-boot and kernel to toggle the port C pins in the GPIO mode, which works in the board having the ( AT91SAM9260 CJ ) processor and the same pins ( PC1 , PC2 and PC3 ) are not getting toggled in the board with (AT91SAM9260 CU-ES ) processor. IS there a ma...


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

Started by pratibha_275 in AT91SAM ARM8 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 ARM3 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...


Selection of atmel controller ~ higher version of AT91SAM9260

Started by Vikas Sharma in AT91SAM ARM7 years ago 4 replies

Hi, I need to selet controller for my new board design. Can you please help me to meet its requirement. 1. 24 bpp pixel graphical LCD...

Hi, I need to selet controller for my new board design. Can you please help me to meet its requirement. 1. 24 bpp pixel graphical LCD drivers, 2. Device Drivers: Ethernet controller driver, CAN Driver, PCI driver, RTC Driver, Serial driver, SPI/EEPROM via GPIO, System clock driver, Timer drivers, Client parallel API's, Domain Name Service API's, Watch dog drivers. ** I want to us...


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

Started by Kiran in AT91SAM ARM8 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