Forums Search for: Interrupts
Ports and interupts overview
inI have to write a report on the ports and interrupts of the 68HC12 microcontroller and I'm fairly new to it. The book I have does not have...
I have to write a report on the ports and interrupts of the 68HC12 microcontroller and I'm fairly new to it. The book I have does not have enough detail for this report and I have tried for hours to find the information on the internet but cannot come up with a search phrase that brings me to the one website that has all this information in great detail. I was wondering if any members of this
Re: Not returning from Interrupt (Figure this one out!)
inCan you help me out Hi everyone I am using the the Dragon 12 Plus and the GNU compiler. I am having a major problem using interrupts to...
Can you help me out Hi everyone I am using the the Dragon 12 Plus and the GNU compiler. I am having a major problem using interrupts to completing my project. For my project I am using a sensor to measure a distance and when the distance is under 30 ins it should activate a timer that would count to 10 (displayed on the seven segment) and stop but if the sensor measures under 30 ins again it s...
problems with Cosmic C's @interrupt
inHi, I have been trying to get interrupts working on my B32 board for a couple of days now and am really stuck. My problem is with...
Hi, I have been trying to get interrupts working on my B32 board for a couple of days now and am really stuck. My problem is with the @interrupt qualifier. Whenever I use it I get a linking error "unexpected bank location" The manual clarifies this as, "an inter
CW stimulator file
We recently downloaded the most current version of code warrior, v4.5. When we try to use the stimulation file, a message appears saying the...
We recently downloaded the most current version of code warrior, v4.5. When we try to use the stimulation file, a message appears saying the stimulation is running in demo mode. Has anyone else experience this problem? Also, the input capture and output compare interrupts don't seem to be working, and TCNT is not incrementing. The same file runs perfect on CW 3.0 S. Prince CSUN ...
Non-Maskable Interrupt
inHi Is XIRQ a reasonable substitute for NMI as found on MC6801/HD6301? I can't find a manual to describe it. NMI was edge...
Hi Is XIRQ a reasonable substitute for NMI as found on MC6801/HD6301? I can't find a manual to describe it. NMI was edge triggered and would interrupt other interrupts. This is handy because I have a high speed data transfer from an analog to digital converter and which uses
SCI Interrupt !! Help Please ...
inHi everyone, I'm using an HCS12 microprocessor [MC9S12DP256] with a D-Bug12 V 4, and I tried to use the SCI interrupt, but for...
Hi everyone, I'm using an HCS12 microprocessor [MC9S12DP256] with a D-Bug12 V 4, and I tried to use the SCI interrupt, but for some reason the interrupt handler never been called even though I enabled all SCI interrupts, enabled reciever and transmitter, and I used the vect
C32 Bug for Timer Interrupts?
inHi, I was wondering if anyone had any knowledge of a bug on the timer port of the C32. I have several C32's where the one or more of the...
Hi, I was wondering if anyone had any knowledge of a bug on the timer port of the C32. I have several C32's where the one or more of the pins fails to work as an input capture. The same code works on all of the other pins, and the problem occurs on several different board? Anyone know of or have similiar issues? Thanks
Interrupts
inHi, I am using MC9S12DP256 Controller. Kindly let me know, how do I handle the timer interrupt. what is the interrupt function to handle the...
Hi, I am using MC9S12DP256 Controller. Kindly let me know, how do I handle the timer interrupt. what is the interrupt function to handle the timer interrupt. Can I use the counter module along with the timer simultaneously. Thanks
Real Time Clock / Interrupts
inIm using a 9s12 part and was wondering how to get the real time clock as accurate as possible. I took all of the possible...
Im using a 9s12 part and was wondering how to get the real time clock as accurate as possible. I took all of the possible dividers and dumped them into a spread sheet and calculated which would be the most accurate for clicking off one second. I found that a divider of 5*2^
Deferred Service routine
inEdward and All I am not clear about your answer for Query 1:- I have an Interrupt - A ISR executing and I have cleared the interrupt at...
Edward and All I am not clear about your answer for Query 1:- I have an Interrupt - A ISR executing and I have cleared the interrupt at the begining and enabled the interrupts by setting _CLI. Now assume that my Interrupt- A occurs , then in normal situation the Interrupt will start executing but in practical situation I dont want this to happen. What I want is that if something like this...
processor expert vs interrupts in ram
ProcessorExpert does a nice job of coordinating the interrupt vector in high memory (FF80 to FFFF) with code in NON_BANKED memory. A typical ...
ProcessorExpert does a nice job of coordinating the interrupt vector in high memory (FF80 to FFFF) with code in NON_BANKED memory. A typical interrupt service routine is referenced, declared, and defined in 3 parts, for example: VECTORS.C SerialPort_Interrupt, /* 41 Serial interrupt */ SerialPort.H: #pragma CODE_SEG __NEAR_
Re: Please help with SCI0 interrupt on DEMO9S12NE64
Under DBug-12 SCI0 interrupts are not available. The document Reference Guide For D?Bug12 Version 4.x.x A Debug Monitor For The MC9S12Dx256,...
Under DBug-12 SCI0 interrupts are not available. The document Reference Guide For D?Bug12 Version 4.x.x A Debug Monitor For The MC9S12Dx256, MC9S12A256, MC9S12Dx128, MC9S12H256 & MC9S12A128 Microcontrollers Written By Gordon Doughman Field Applications Engineer Software Specialist states on page 11: Note that even though there is an entry in the table for SCI0, replacing the default v
Fwd: help plz
acn any one help me on these question plz, i am using s12DP256B , 2 MHz clock i dont know how to write the code in C using CodeWorrier ( am just...
acn any one help me on these question plz, i am using s12DP256B , 2 MHz clock i dont know how to write the code in C using CodeWorrier ( am just learning C languge) ** ** *1) Use Module down counter to create 10 ms periodic interrupts. In the ISR a global 16-bit variable called tick. * ** *2) Using the 10ms interrupt routine write a program to read input switched connected to a port say ...
Interrupt from PH port
inHi, Problem concerns the service of interrupts from PH port. I have 2 independents sources of events. On the beginnig...
Hi, Problem concerns the service of interrupts from PH port. I have 2 independents sources of events. On the beginnig I've tested service of this events on IC (input capture) of MCU and every things have worked properly. Now I reconnect these sources of e
Analog to Digital Converter?
inHi there, I am trying to configure the AtoD converter from Channel 11 to 15 and for some reason I can't get it working. If the channel...
Hi there, I am trying to configure the AtoD converter from Channel 11 to 15 and for some reason I can't get it working. If the channel is from 0 to 15 then it seems to working. Any help would be apreciated. Here is the AtoD initialization code for channel 11 - 15: (This doesn't work). Note: Rest of the channel will be either interrupts or
ms68hc912d60a TIOS anomaly
inI was going through a bit of frustration debugging a very large program last week and noticed that Port T timer interrupts had all...
I was going through a bit of frustration debugging a very large program last week and noticed that Port T timer interrupts had all been set up to receive negative edge transitions on this port with PUs activated for port T. On start up, once in a while, I noticed that TC6 was giving a stea
Timer Interrupts
inHi All, I'm using a 9S12XDT512, in which I configure Timer 4 to generate an interrupt every 4 mS and the RTI is configured to generate an...
Hi All, I'm using a 9S12XDT512, in which I configure Timer 4 to generate an interrupt every 4 mS and the RTI is configured to generate an interrupt every 5 mS. After power-up all seems well, further in my code, I enter a loop in which case both the TC4 and RTI cease operating. I've checked, and their interrupt bits are still enabled, the counter is still running, but no interrupt...
Timer Capture Interrupts Please Help
inHello, I've been trying to figure this out for some time now and think I'm having a little trouble with the concept in addition to some other...
Hello, I've been trying to figure this out for some time now and think I'm having a little trouble with the concept in addition to some other details. I'm trying to get a timer capture interrupt working on my cards12 (mc9s12d64) using ICC12 and a NoIce Debugger. At this point, I'm just trying to get the interrupt working and then eventually will want to time stamp a 5V pulse coming into the c...
Getting uCOS-II running on a HCS12
inHi, I?m trying to get uCOS-II running on a HCS12 from the IC68HC12-patch from www.ucos-ii.com. I?m having a problem with...
Hi, I?m trying to get uCOS-II running on a HCS12 from the IC68HC12-patch from www.ucos-ii.com. I?m having a problem with hcs12dp256.h and tick-interrupts. Does anyone know about these problems, or have a patch for HCS12? Grateful for all help. THX i
XGATE??
inHi All, I am in need of more output compare style ECT outputs than the standard S12 supports. I was thinking that I could achieve this by...
Hi All, I am in need of more output compare style ECT outputs than the standard S12 supports. I was thinking that I could achieve this by dedicating one standard OC channel to do all the timer work and generate interrupts, and then using a clever software approach with linked lists of pending timer events with a pointer to a general purpose output that it would perform the timer event