DSP56F807 interrupts

Started by rotronics2001 in Freescale DSPs16 years ago

hello, can someone explain me how can i do to interrupt an interrupt subrootine? With "pragma interrupt" it doesn't work. ...

hello, can someone explain me how can i do to interrupt an interrupt subrootine? With "pragma interrupt" it doesn't work. Thank you.


AW: DSP56F807 interrupts

Started by Bende Georg in Freescale DSPs16 years ago

You habe to enable the interrupt(s) when entering one interrupt which is interruptable. Georg Bende Softwareentwickler ...

You habe to enable the interrupt(s) when entering one interrupt which is interruptable. Georg Bende Softwareentwickler Abteilung Elektronik Dr. Fritz Faulhaber GmbH & Co KG Daimlerstr. 23 71101 Sch?naich Tel: +49 7031 638294 >


MORE: '826 - when interrupts are active - Software is loosing it....

Started by bmbmz123 in Freescale DSPs16 years ago

Hello, Without interupts, sw is running ok. When I apply the interupts (archEnableInt), the sw is doing crazy stuff - some of...

Hello, Without interupts, sw is running ok. When I apply the interupts (archEnableInt), the sw is doing crazy stuff - some of the data is overrun, code sections are executed even though it is not supposed to. But, the sw is alive, doing other things it is supposed to!! It


Re STOP mode

Started by Graeme Fisher in Freescale DSPs15 years ago 1 reply

Hi All I would like to know whether the DSP56311 respondes to interrupts while in the STOP state. I know that IRQA will...

Hi All I would like to know whether the DSP56311 respondes to interrupts while in the STOP state. I know that IRQA will cause it to exit the STOP mode. However, What happens if IRQB is asserted while in the stop mode. Will there be a pending interrupt when the ST


GPIO interrupts: still no fun

Started by drmapl in Freescale DSPs16 years ago 1 reply

Hi code wizards (or warriors), I still haven't got my GPIO interrupt sorted using the 56F805EVM board and CW. I use the code below...

Hi code wizards (or warriors), I still haven't got my GPIO interrupt sorted using the 56F805EVM board and CW. I use the code below but I must miss something as it is not doing what I expect. I expect it to end up in the routine dirISR but it never gets there. I have tried using the s


Interrupt undefined in flash memory.

Started by schmighty80222 in Freescale DSPs17 years ago 2 replies

Hi there, My interrupts work in ExRam mode but are undefined in Flash mode. Any suggestions? schmighty ...

Hi there, My interrupts work in ExRam mode but are undefined in Flash mode. Any suggestions? schmighty


execution speed using debug

Started by Joe McCarron in Freescale DSPs17 years ago 1 reply

Does using the debugger slow down execution speed of the program? I've programmed some interrupts to occur periodically (timer int ...

Does using the debugger slow down execution speed of the program? I've programmed some interrupts to occur periodically (timer int errupts) and would like to know, when running under the the debugger, if the periods are accurate. Thanks Joe


'826 - Creating 10msec Timer interrupts

Started by bmbmz123 in Freescale DSPs16 years ago 3 replies

Hi, I am trying to cause an interrupt every 10msec, using TimerA0. I do not want to use the SDK. So, I initialzie the...

Hi, I am trying to cause an interrupt every 10msec, using TimerA0. I do not want to use the SDK. So, I initialzie the register using periphMemWrite: // counter enabled (CTRL) periphMemWrite (0x3e22, &ArchIO.TimerA.Channel0.ControlReg); // clear SC


CAN Functionality Options for DSP56F804EVM

Started by jamessconnors in Freescale DSPs15 years ago 1 reply

Hi, I am working with SDK3.0 and CW6.0. I have the big problem of not having the premium features that come with SDK3.0 The CAN...

Hi, I am working with SDK3.0 and CW6.0. I have the big problem of not having the premium features that come with SDK3.0 The CAN Driver is a premium feature. Is there a workaround for this, short of creating my own drivers for (open, write/read, ioctl and interrupts)? As for


Using bitfields

Started by Bende Georg in Freescale DSPs14 years ago 3 replies

Hi CodeWarriors, I'm using bit fields very extensively in my software. Recently I had a very strange bug: the values of these...

Hi CodeWarriors, I'm using bit fields very extensively in my software. Recently I had a very strange bug: the values of these bit fields were corrupted if there were a lot of interrupts in the same time in the system. It didn't happen at once - sometimes the system worked OK f


AW: Using bitfields

Started by Bende Georg in Freescale DSPs14 years ago

Hello, > Have you tried wrapping "interrupt-disable" and "restore interrupt level" > around the at-risk code? (Just to prove...

Hello, > Have you tried wrapping "interrupt-disable" and "restore interrupt level" > around the at-risk code? (Just to prove that interrupts are breaking it.) I'm not able to do this, since the affected bit fields are referred over 200 times in the s


stand alone

Started by zuffpasc in Freescale DSPs15 years ago 6 replies

Hello! Thank you for your previous answers!! Now my code is working with interrupts... but only with debugger because I've made a...

Hello! Thank you for your previous answers!! Now my code is working with interrupts... but only with debugger because I've made a "DSP 56800 EABI stationery project". Therefore my program can't work in "stand alone mode". How is the best way to make my progr


Re: Interrupts on the 56303

Started by Graeme Fisher in Freescale DSPs17 years ago 3 replies

Hi all Does anyone know how long in clock cycles it takes for an interrupt to be serviced form the time that the interrupt...

Hi all Does anyone know how long in clock cycles it takes for an interrupt to be serviced form the time that the interrupt occurs? I have set up one of my host port pins as an output and am using the timer1 compare interrupt to toggle that pin. If I set the reload value


DSP56807 with SDK and ISR written in assembly

Started by Christian Brauchli in Freescale DSPs17 years ago

Hello I have a small question according to ISR. I'm using the SDK to set up most of my Interrupts. Now I had to program 1 ...

Hello I have a small question according to ISR. I'm using the SDK to set up most of my Interrupts. Now I had to program 1 Interupt in assembly with the Priority 5. (This ISR uses about 50% of my DSP ressource.) The Interrupt handling and the timing according to the prio


DSP56F805 PRAM

Started by yurubutugralb in Freescale DSPs14 years ago 1 reply

Making a Bootloader (that must not use interrupts). Trying to write to PFIU from code resident in PRAM. When run...

Making a Bootloader (that must not use interrupts). Trying to write to PFIU from code resident in PRAM. When run full-mode, outside the IDE, the code in PRAM is not being jumped to. When in IDE, all OK. (CodeWarrior 5.1 non-SDK, no libs, straight C


ADC driver and Interrupts (DSP56F805)

Started by Roger Flor in Freescale DSPs17 years ago 1 reply

Hello! I am using a DSP56F805 EVM. I am trying to run the ADC. I started by running the ADC application found in the...

Hello! I am using a DSP56F805 EVM. I am trying to run the ADC. I started by running the ADC application found in the applications folder that comes with SDK. When I ran the program, it halts upon entry to main because that is what is in the debugger settings. The stack pane of


modulus (%) affects interrupts?

Started by Corey, Rick in Freescale DSPs15 years ago 19 replies

Hi Can anyone imagine a way that a modulus operator (%) in the main loop could slow down an ISR? I'm stumped. There's a...

Hi Can anyone imagine a way that a modulus operator (%) in the main loop could slow down an ISR? I'm stumped. There's a lot of "div"s in the library function, and two "rtsd"s . I'm using the 6.0.2 CW for 56800E (568357). I turned on Processor Expert


AW: '826 - when interrupts are active - Software is loosing it....

Started by Bende Georg in Freescale DSPs16 years ago

Try to increase stack size. These strange probs are almost always caused by stack overrun. Georg Bende Softwareentwickler ...

Try to increase stack size. These strange probs are almost always caused by stack overrun. Georg Bende Softwareentwickler Abteilung Elektronik Dr. Fritz Faulhaber GmbH & Co KG Daimlerstr. 23 71101 Sch?naich Tel: +49 7031 638294 &


56F803 MSCAN correct bit timings @ 50 kbps

Started by doggy_freestart in Freescale DSPs13 years ago 1 reply

Hello all, I'm having problems with our network running at 50kbps. Over a long time (many hours or a few days) the MSCAN module goes dead and...

Hello all, I'm having problems with our network running at 50kbps. Over a long time (many hours or a few days) the MSCAN module goes dead and is no longer communicating. The environment is pretty noisy, but the CAN signals are not distorted. There are no CAN error interrupts, and the error counter remains at 0. What are the timings you are using? I've tried many different timings, the be...


RE: [motoroladsp_unmoderated] Interrupt/context problem?

Started by Art Johnson in Freescale DSPs17 years ago

We have had problems with the MSCAN error interrupts (as I'm sure you've already read about), but I developed a work around that...

We have had problems with the MSCAN error interrupts (as I'm sure you've already read about), but I developed a work around that fixed the problem. It's described in my message "MSCAN problem" on October 3, 2002. Since fixing that problem, we have been having some program