Forums Search for: Interrupts
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
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
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...
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
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
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
Modulus down counter not working
inHello, I am using a Wytec microdragon with serial monitor & trying to get a 25ms interrupt. I had it working in a previous similar project, so I...
Hello, I am using a Wytec microdragon with serial monitor & trying to get a 25ms interrupt. I had it working in a previous similar project, so I believe the code should work. The keypad & lcd work fine. My question is: is there some input pin that could be affecting the modulus counter? As soon as the interrupts turn on all control is lost. Any code after (interrupts_on) is not executed - Je...
trouble with S12XS SCI controller
ini'm developing an uart driver based on interrupts. i've realized that when executing the ISr software failed to reset TDRE Flag.i made sure...
i'm developing an uart driver based on interrupts. i've realized that when executing the ISr software failed to reset TDRE Flag.i made sure tha i've followed all steps listed in the datasheet to do so which are: 1-reading the SCI Status Register. 2-Writing to the SCI Data Low register. but the ISR Continue to go in Loop. i wish tha anyone could help me figure this out. --------------...
'S12DP256 - errata for all 0K79X and 1K79X masks
in(I believe mask 1K79X is the latest version.) This bug's worth some advertising I think... Quote from errata sheet: SCI...
(I believe mask 1K79X is the latest version.) This bug's worth some advertising I think... Quote from errata sheet: SCI INTERRUPT ASSERTS ONLY IF AN ODD NUMBER OF INTERRUPTS ACTIVE MUCTS00510 The interrupt of the SCI is only asserted if an odd number of inte
Reg problem with Input capture interrupts
inDear all, I am using HCS12X evaluation board.I wrote a simple code to compute the wheel speed using the input capture...
Dear all, I am using HCS12X evaluation board.I wrote a simple code to compute the wheel speed using the input capture timer. I have connected the wheel speed outputs to the channels IOC0 - IOC3. Now the wheels are moving at a constant pace. The problem what I am facing is, as TIE(C0I) has higher priority than the remaining three(C1I,C2I,C3I), channel ...
PEmicro USB HCS08 / HCS12 Multilink - help needed
inHi all I am using the PEmicro USB HCS08 / HCS12 Multilink unit for programming / debugging. The unit is working good with simple projects,...
Hi all I am using the PEmicro USB HCS08 / HCS12 Multilink unit for programming / debugging. The unit is working good with simple projects, but when I am trying to run the CW debugger using this unit connected to the target board, and the project includes several active interrupts like: SCI + 2x PWM , the device lose synchronization and I can't debug Did anyone knows how to handle it...
Generating square wave using output compare
inI am trying to generate a 10 KHZ square wave using the timers' output compare on 9s12e128. Is there a way such that you only load...
I am trying to generate a 10 KHZ square wave using the timers' output compare on 9s12e128. Is there a way such that you only load the TCn registers once and then let it run? Or do you have to use interrupts or polling to find out if output compare ocurred then re-load the TCn register.
Address mark wakeup messages not being recognized
inI am using the 9S12A32 serial port and I want to use address mark wake up. I have set the SCI for 9 bits, one stop bit, no parity, interrupts...
I am using the 9S12A32 serial port and I want to use address mark wake up. I have set the SCI for 9 bits, one stop bit, no parity, interrupts on, transmitter and receiver on, address mark wakeup. I am manually setting (and later clearing) bit 8 in SCIDRH. Using the True Time Real Time Debugger, I can see characters coming into the receive buffer, but the interrupt is never triggered, ...
Timer interrupts
inHi Can u tell me how to clear timer interrupt flags if you have two timers running ? Do you have to wrtie TFLG1 = 0x01 or ...
Hi Can u tell me how to clear timer interrupt flags if you have two timers running ? Do you have to wrtie TFLG1 = 0x01 or TFLG1 |= 0x01 to clear Timer1 flag and TFLG1 = 0x02 or TFLG1 |= 0x02 to clear Timer2 flag in the isr ??? Thx for help Stefan
HCS12 Nested Timer Interrupts
inI am using the HCS12 eval board and have a mask set 1K79X part. While executing the Timer5 interrupt service routine, I need to be ...
I am using the HCS12 eval board and have a mask set 1K79X part. While executing the Timer5 interrupt service routine, I need to be interrupted by a higher-priority Timer4 interrupt service routine. However, it appears that the higher-priority Timer4 interrupt is never gaining acc