Timers on 9263ek with linux
I’m having a problem with using the timers on AT91SAM9263-EK with linux kernel 2.6.27.
The problem is that when I write to the timers the system starts to do strange things, the touch screen stops to work. And the other problem is that I can`t register an interrupt for the timers, because it is used by the kernel.
Can some one help me? Thanks in advance.
Related Forum Messages
Hello, I have to design a real time system with a sub 10 ms accuracy using Montavista Linux. There will be an interrupt generated every 1 ms from the hardware. Is it possible to set the Montavista Kernel HZ variable to 1000 (1 ms interrupt)? So what I am asking is if the tick in the Montavista Kernel can be redefined ... I need to design Timers - I need to decide whether I will be using the kernel timers - or not. Additionally how do I need an event generated when a timer interval of (1/2) ms expires - Is it possible to do with a 1 ms timer ...hi.. i have worked on 8051 and ARM7 controllers but right now am working on a PIC18f4620 based project and for that i need to use timers. Acutally am struck up in timers. i started with timer0 and am not able to use this timer without interrupt. so can any body give me the idea of using this timers. thnx in advanceHi there Is there a way to use high resoultion timers (from rt preempt patch) on AT91? The best resolution I can get (220.127.116.11-rt14) is around 1ms. Is there any other way than using high res timers to get better resolution? When I enable CONFIG_GENERIC_TIME, CONFIG_GENERIC_CLOCKEVENTS and CONFIG_HIGH_RES I'm unable to compile at91 part of kernel. (firstly, problem is in at91sam926x_time.c because sys_timer structure is changed (no offset value). When I solve that problem is that timer implementation is using timer_tick()) Code:Here's something... I'm using the [strike]LCD[/strike] TFT Touch Shield on a Mega 2560, and I need a 62 ms timer interrupt, as I've attached a 30-pin SIPP RAM stick to the Mega (a la the 8-bit microprocessor Linux system) and it needs to be refreshed ever 62ms. The overall goal is to make the Mega emulate not a ARM system but Notch's DCPU-16 from his up-coming game 0x10c (I'm using the SIPP instead of four banks of 32Kbyte SRAM because I have it around.) That said, a bit of research says that any timers will interfere with the LCD Shield, because it ...I am about to start a project that will require two 16 bit timers. Is there a way to cascade the two 8 bit timers? Any plans for a future product with more 16 bit timers?While working on a project, i had to use timers an counters. So i tested it on my atmega32. i have given 8 codes which do different things. I have commented it. I have taken reference from www.avrfreaks.net. It will help to explore the use of timers in different modes. message me if any queries. Thanks Files - Timers and Counters [107.99 KB] (Jan 29, 2010)We have 2 problems: First: An aleatory noise on X. Second: Ignoring the first problem after 1 minute touching the screen the system causes Kernel Panic. Have somebody any idea about a posible origin of this kernel panic? Using Linux Kernel 2.6.27 + File system made with Buildroot uCLib. Using TSLib and Touch controller ADS7843.So I am having a small problem, and I believe it is no problem at all, just BASCOM`s simulator acting funny. I have two timers, T1 and T2, that are configured to output an interrupt at 1hz and 14.4KHz respectively. In simulation, if I stop one or the other timer, everything is peachy, each running timer behaves perfectly fine. However, if I enable both timers at the same time, I still get the 14.4KHz interrupt, but the 1Hz one stops firing completely. Both ISRs are very short. I believe this is just an artefact of the simulator's limited timers support, ...Hi! I am activating the "Run Timers in stop mode" in IAR EW 5.5, but when I press "Stop" during debugging, it doesn't seem to work. I have a fast PWM running with no interrupt enabled, and when debugging stops it goes either to low or high state. Does anyone has experience over this? Thanks in advance.Hello, I'm just getting started with embedded systems, and I am having trouble understanding some of the information I'm reading on the datasheets - for example on the summary sheet for the ATmega16A, it lists two 8-bit timers and one 16-bit timer. It also has 4 PWM channels. It is my understanding that to drive a PWM output, I need to use a timer. So with only three timers, how do I have 4 PWM outputs? So in specifying an MCU, if I want to independently control two DC motors with PWM and I want feedback from two encoders, do ...I'd like to understand how timers and interupts work (doesn't matter the MCU). I know that timers are registers whose value is incremented every time an instruction is executed. What happens when it reaches it's maximum value? And when does an interrput occurs? What happens after??Hello everybody I need to write my own uart driver (kernel module) for AT91SAM9260. How can I shutdown linux uart driver at the runtime to startup my driver without any collisions? I wrote kernel module and compiled linux kernel without uart's supply, but when I allow TXRDY interrupt in US_IER register, linux is hunging for ever. But there is a silence on the uart line. Maybe I just can run my kernel module instead of module that compilled with kernel and maybe I don't need to compile kernel without uart's supply? Help me please) My major target is to do all uart routines ...Hello, I want to boot a linux kernel from SD-Card. The board actually starts from the SD-Card with looking in the FAT Filesystem for the boot.bin and execute this. But i don't found any bootloader with an Interface for the SD-Card and FAT Filesystem to start the linux kernel. Does anyone know if the Soruche of Boot Program of the AT91SAM9263 is available? or if someone know where to find such a bootloader? Or are there some other hints how to boot linux on the AT91SAM9263 from SD-Card? I don't want to reprogramm that all from the scratch. Especially the ...Hi, I would like to set one of the AT91SAM9261 timers/counters (the so-called TC0, TC1, TC2) to generate an interrupt every 20 ms and attach a data acquisition function to this interrupt. I looked at the AT91SAM9261 free BSP released by Atmel but I couldn't find any driver for these timers. Are they included in the not-free Adeneo version of the BSP or do I need to write a driver myself? Thanks in advance, OresteHi, I would like to take advantages of the hardware TWI (I2C) functionality, which is available on the AT91SAM9G20. Therefore, I would like to write a Linux kernel module for it. However, when reading the documentation in the Linux kernel source tree regarding TWI (Linux kernel 18.104.22.168), I see some "worrying" comments. To start with, in the file /linux-22.214.171.124/drivers/i2c/busses/Kconfig, I read the following: Quote:I'm using ARM Cortex-R4 for my system. I'm little bit confused about which linux should I go for - Standard Linux Kernel with MMU disabled or uCLinux. On an eval board, I have run the standard kernel compiled with MMU disabled. I used cramfs filesystem which available on the official ARM website. After the kernel boots up, I receive the shell but I couldn't do much experimentation as I found that most of the time, the shell stops responding (particularly when I press for auto-completion). So, I'm still not sure whether MMU less kernel shall run smoothly if I use ...Hi all! I have a problem that is driving me crazy. I'm using atMega2560 only with internal RAM/EEPROM and a lot of peripherals connected (practically all I/O and all UARTS used). All is working ok except when I enable UART0 in async mode, 9600 baud 8N1, receiving via interrupt. Problem comes when I write in UDR0. All timers interupt (mostly overflow ones) stop working. I've seen a lot of things. Vectors are installed OK, if I change the code used by UART0 into other UART (changing UCSR0B by UCSRxB and so) all works well... Currently I'm using WinAVR compiler into ...hi, my project is to design a digital speed-o-meter. and i m using timer-1 as the frequency counter and timer-2 as the 2sec. delay interrupter for taking a sample. then calculate speed using that counted pulses by the counter. problem is ...both the timers are working perfect individually but when i use both the timers in the same program it does not work.help me....hello as u all know there are 2 timers in 89c51 and somone tell me that timers are basically integrated Circuit installed in microcontrollers like we interface ADC with 89c51. i want more timers in 89c51 can i interface more timers externaly just like adc. becuse i need 6 independant pwm channels and accurate time delays also 89c55 has 3 timers but not match my requirments.kindly guide me and i am not going to change my controler becuse i ma expert in prograing 89c55 then other avr and pic microcontroler. i used C language to program. thanks ....hi, i have 4 VMBRYLD modules, and on 3 channels ( 2 different modules) there are delayed of timers installed. when i power on the DC power (after powerfailure for example) all timers start running for the configured time. What could be the problem?
- Timers in Montavista Linux using Power PC
- Need help regarding PIC18f4620 Timers
- High resolution timers on AT91
- TFT Touch Shield & Timers
- 16 bit timers
- Timers and Counters
- TouchScreen Use causes Kernel Panic
- Timer interrupt issue: reality or simulator broken?
- “Run Timers in stop mode” problem, IAR EW 5.5
- PWM and Timers – How many can I use?
- Timers and interrupts
- Linux uart driver for AT91SAM9260
- AT91SAM9263B SD-Card bootloader
- Drivers for AT91SAM9261 Timers/Counters
- AT91SAM9G20: TWI + Linux
- Running MMU less Linux on Cortex-R4
- AtMega2560: when writing into UDR0 timers stops working
- Can we run two timers parrelely in PIC
- 89c51 interfacing with external timer ics
- Poweron of DC all timers start