Interrupts in Comp.Arch.Embedded
Comp.Arch.Embedded is a worldwide Usenet news group that is used to discuss various aspects of Embedded Systems development.
We found 314 threads matching "Interrupts"
You are looking at page 1 of 8.
The most relevant threads are listed first
So far in June, you have voted 0 times ou of a total of 16 votes by the community.
Please help us clean the archives from unuseful discussion threads by using the voting system! Details here.
vijayguru - 6 years ago
how to handle 4 interrupts in pic18f452 out four interrupts 2 are low
interrupts and other two are high but we are having only two vector
address plz suggest me anybody
...
I am porting a touch-panel driver to a WinCE 5.0 device.
It is interrupt driven, using the SYSINTER_TOUCH &
SYSINTR_TOUCH_CHANGED interrupts.
To debug it, I need to simulate these interrupts from a timer thread,
either on the driver itself or from an application.
How do I do that?
...
kadanamalli@gmai - 2 years ago
I am new to embedded systems. I have few questions
a)Can key board clicks be considered as hardware interrupts or software
interrupts?
b) How are interrupts different from function calls or subroutines?
In both cases current state of execution is saved (in stack) and the
Interrupt servic...
KIRAN - 4 years ago
Hi Guys,
I am working on some RTOS, in which I see lot of interrupts "enabling"
and "disabling" code in most of the RTOS API's to protect kernel data.
For example, Semaphore API's, Message Queue APIs, Runtime memory
management API's. Is enabling / disabling interrupts only ...
Hi all,
I have been writing code for the ds80c320 and xa-g49 and need a few
questions answered that i'm unsure about.
1. Say i have timer 0 set to interrupt on overflow. If in another interrupt
routine I disable all interrupts, then timer 0 happens to overflow, and then
I enable all interru...
Hi,
I am designing a module where low voltage threshold for interrupts
are desirable. A high of 0.5V and low of 0.2V are ideal but I am not sure
if current interrupt hardware can distinguish this kind of subtle
difference.I would appreciate it if anybody could tell me whether this is
possible...
karthikbg - 7 years ago
Hi,
1) I have 200 interrupts and the corresponding Interrupt service
routines for those.
ISR ()
{
If (INTERRUPT_FLAG == 1)
DO_ISR_ACTIVITY
INTERRUPT_FLAG = 0;
}
When i am doing the 'INTERRUPT_FLAG=0' in the above code, One of the
interrupt gets fired, but not handled a...
Hello,
I'm using the MPC500 quickstart libraries, but I'm having trouble
using external interrupts. My board is a PB-0555 manufactured by
Axiom, and I'm using Codewarrior. I'm using the following code to
initialize external interrupts:
int init(void)
{
ioctl(USIU, USIUINT_INIT, NULL);
...
Started by Unknown 7 years ago
If the 8051chip is servicing a lower priority interrupt and I want it
to be interrupted by a higher priority interrupt, do I have to enable
interrupts - EA = 1 - as sson as I enter lower priority ISR. In other
words, does the 8051 disables all interrupts when it enters an ISR ?
...
Radha_Purnima - 5 years ago
how exactly are the interrupts get served in the real time embedded
products like a washing machine,refrigirator?
is it like, we will write a program where we continuously check a
particular status bit of the device has been set or not...or those
interrupts will be hard wired to a interrupt pin (...
karthikbalaguru - 6 years ago
Hi,
Is it a good idea to disable interrupts while sharing data (Critical
Sections) ?
Thx in advans,
Karthik Balaguru
...
Started by Unknown 8 years ago
My problem is to test my driver software ,but the asic chip is not
ready yet.I can simulate the registers of the asic easyly,but the
HW interrupts which will be generated by asic chip is necessary to
test my interrupt handler and interrupt driven SW.
For X86 processor I know that also SW interr...
Prakhar - 6 years ago
Hello,
I am developing a program which creates many tasks, schedules them and
responds to external interrupts, when they ouccr.
In my program in UCOS-ii, I have enabled the external interrupts (the
values of the resgisters are set correspondingly).
Now, I want to write the interrupts handler ...
beartech - 11 months ago
Hello, using TC1796 microprocessor, can't disable and enable interrupt
around critical sections of code. Any suggestions?
Referring to the Tricore Architecture Volume 1 manual:
The processor is running in User-1. In this mode you should be able to
disable and enable interrupts.
checked in deb...
Started by
joshc 6 years ago
I know this is implementation specific but to make it a little less
ambiguous let's deal with an XScale or any ARM core for that matter.
Under what conditions would you _miss_ interrupts? Let's say I have a
UART that only generates one interrupt to the interrupt controller but
the source of this...
moon - 4 years ago
Iam using XPS 8.2i.I have built a custom peripheral and attached it to
MicroBlaze (v 5.0) via OPB bus.My peripheral generates the two
interrupts.These interrupts pins are input to the interrupt controller
INTC (1.00 c).
Initially both interrupts are disabled.Then only high priority
interrupt is...
ishita - 7 years ago
Hi all,
I want to know exact difference between software interrupts and
hardware interrupts.
I also want to know whether timer interrupt in 8051 is a software
interrupt or a hardware interrupt.
Best regards,
Ishita
...
galapogos - 7 years ago
Hi,
I'm working with an MCU that has 4 interrupts on external PINs, and I
wish to interrupt on an active low input. However, 3 of the interrupts
are active high interrupt while the last one, though it's an active low
interrupt, is also labelled a non-maskable interrupt. I want to be able
to mas...
panfilero - 6 years ago
Hello
I'm having a heck of a time trying to get interrupts to work on my
MCU. All my coding is in C, and basically I want to jump to an isr
whenever I sense something in my serial port. So I wrote a function
like this:
interrupt 20 void isr(void) {....}
the function just spits out some...
Hi,
im learning how to use the AT91RM9200..right now im trying to tackle
the AIC. iv set everyhting up, earmarking PIOA0 for an external
interrupt through a switch connected to it, so that theoretically
whenever the switch is pressed, an interrupt is generated that sends a
string via the debu...
ElderUberGeek - 7 years ago
Hi. When counting pulses using a microcontroller (say from an encoder
or pulse generator), there are two methods: polling and using
interrupts. Two alternative designs can be used (well, at least), one
is to have the Microcontroller do it directly, and the other is to use
a dedicated chip to do ...
eneloop - 2 years ago
Hello, my name is Sammy.
I try to write an interrupt service routine for the keyboard interrupt.
I'm using a Motorola 68HC08 and freescale's Codewarrior.
Port A is connected with a button. Port B is connected with LED.
If I push the button, LED should switch on. If I push it again LED should...
msg - 6 years ago
Greetings:
I don't expect that current readers of this newsgroup will have direct
experience with this issue but I could be surprised :-) I will
appreciate related answers in any case.
I have a problem with software timer interrupt status on the i8096;
's/w timer 0' interrupts are replaced...
Roger Walker - 6 years ago
Hi Group,
Intro
I've been programming for a long time (to long to mention!), but 99%
of my programming has been for 'desktop' PCs under DOS and UNIX using
C. I've rarely had to worry about interrupts, watchdogs etc. Well now
I have to! The target will be a Radio with an 8-bit NEC Micro
cont...
Hagar - 4 years ago
Hi all.
I'm trying to use C++ and IAR for TMS470 uC's but I'm getting some weird
troubles with C++.
For example: I have a simple test code to receive CAN frames using
interrupts. It compiles ok but when the frame arrives the application
blows!
If I use the same logic and configurations with C...
visweswara - 7 years ago
Hi,
I have a fundamental question of how interrupts in uC/uPs actually
works? Many tell what happens when interrupts occur , like the program
flow changes from the main program to ISR. But how exactly this happens
without the interference of CPU?
What I understand is interrupt gets the atte...
Using G++ (i.e. C++) for a Hitachi H8S micro, if we have inline
functions to enable and disable interrupts using asm volatile like this
inline void EnableInterrupts(void) {
asm volatile("andc #0x3f,ccr" : : : "cc", "memory" );
}
inline void DisableInterrup...
Hi,
We are experiencing some issues with external interrupts resetting an
Analog Devices ADuC842 controller (8051 family). The system we are
working on analyses sensorial data from a rotary encoder connected to
EX0. The interrupt is configured to be level-triggering. In our
current set...
Ghostboy - 3 years ago
Hi,
Below you find a part of the code of the PCI core.
I can send a value from the computer to the FPGA and the LEDs on the
development board will always change to the given value.
The problem I have is that not all of the interrupts are detected by the
computer. Sometimes it does, sometim...
Hello,
I'm definitely not a C programmer so the answer is probably obvious, but
anyway here is my question:
I've a small 4x2 keyboard that's handled through interrupts.
Each of the 2 columns is connected to an IT input (resp. INT0 & INT1)
I want to serve both interrupts through the same ...
Started by
Aria 8 years ago
Hi,
I'm very new to the motorolla chips (or programming MC for that
matter). i am tryin to figure out how to write an interrupt service
routine for the Keyboard interrupt.
> From a not so reliable sample code i have:
interrupt 15 void KBI_ISR (void) {
...some code
}
is thi...
Marek Omama - 1 year ago
I am trying to figure out how reentrant interrupts are supposed to
work on ARMv7. According to the ARM document DUI0203H, this is what
you have to do:
Example 6.16. Nested Interrupt (ARMv6, non-vectored interrupts)
IRQ_Handler
SUB lr, lr, #4
SRSFD #0x1f! ; Save LR_i...
Slavisa Zigic - 5 years ago
We are trying to use PCI backplane with multiple PCI cards including USB
card. The embedded processor is X86 with DOS and 32 bit extension
(DPMI). The PCI cards are producing shared interrupts and we are having
problems of different types, which we suspect are either in our driver
software or ...
nesta - 4 years ago
Hi,
I've been pondering on using the 32Khz watchdog timer in Omap5912. I'm not
sure if it is supported in 5912.
Any one has been successful in using a watchdog timer on omap5912.
Issues:
As per the Literature Number: SPRU759A, I am able use the 32-bit wdog
timer, however after the system...
ratemonotonic - 6 years ago
Hi all ,
I am using AVR Studio + WinAVR to develop software for ATmega2560.
Before the hardware arives I am trying to get used to the uC by
running software on the simulator that comes with AVR studio.
I have all the 4 UARTS enabled and thier TX and RX interrupts enabled.
When I some tests ...
I am using the M32C/83 and bit banging I2C out on port 9. Port 9 requires
the data direction register to be unlocked via PRCR before writing to PD9.
Occasionally, PD9 isn't getting set and one of my I2C pins does not go low
when it should. Bad things happen after that.
The H/W manual stat...
Hi!
I'm currently trying to use the onboard timer on the Adlink PCI7224 [1]
to generate fast interrupts under WinNT/RTX. But I couldn't manage it to
generate an interrupt.
The interrupthandler is attached and reacts on software triggered
interrupts. But also the timer i8254 is running, n...
dimithri@gmail.com - 7 years ago
Hello people,
I'm wondering if someone can help me with internal interrupts. I'm
using the PIC18f452 ADC to get a reading from a wall sensor (its an IR
transmit receive circuit) which gives out numbers ranging from 0 to 500
(these numbers correspond to how far the sensor is from the wall). Wha...
Ether Jones - 7 years ago
Does anyone know how to "push flags" on the HCS08 series
microcontrollers?
I have a section of code that I need to make non-interruptable. But I
can't simply do this:
DisableInterrupts
EnableInterrupts
... because I don't know whether or not interrupts were disabled in t...
Hi folks,
We are contemplating using a CS8900 ethernet MAC/PHY chip in a project
(interfacing to an FPGA-based soft-core processor). To speed things up,
we would like to prototype first on a ready-made dev board.
The problem: All the dev boards we have found so far (e.g.
embeddedethern...
|
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
next