Program xFlash & interrupt problem

Started by Anonymous in Freescale DSPs17 years ago 2 replies

Does anyone know if is necessary to disable all interrupt ISR when programming or erasing xFlash data ? I'm using 56805...

Does anyone know if is necessary to disable all interrupt ISR when programming or erasing xFlash data ? I'm using 56805 microcontroller in single chip mode. Thanks Giuliano


DSP56824EVM GPIO_B interrupt

Started by zortanda2002 in Freescale DSPs17 years ago

hi all, i'm having trouble using the GPIO_B on the DSP56824EVM board as input interrupt. Anyone have any pointers? help...

hi all, i'm having trouble using the GPIO_B on the DSP56824EVM board as input interrupt. Anyone have any pointers? help will be much appreciated. nick


AW: Using bitfields

Started by Bende Georg in Freescale DSPs15 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


IRQA interrupt flag on 56F803

Started by rootesracer in Freescale DSPs16 years ago 4 replies

I have a unique hardware problem that I am trying to resolve in software. The problem is that under some conditions, I am...

I have a unique hardware problem that I am trying to resolve in software. The problem is that under some conditions, I am getting an edge triggered interrupt on IRQA, that sometimes because of a logic glitch, I get a second edge 100ns or so later, which causes me to exec


Setting Interrupt Priorities in Software

Started by Elefante Alessandro in Freescale DSPs16 years ago

Hi people, Is it possible to write the following assembler code that I find in CodeWarrior6-Manual (to control the...

Hi people, Is it possible to write the following assembler code that I find in CodeWarrior6-Manual (to control the Interrupt priority in software) with C code? Can you show me how to do? Actually it doesn't seem possible to control how to save the interrupted rou


I2S on 56F series...

Started by Lee in Freescale DSPs16 years ago

I'm trying to use the codec on the 827EVM board. While I understand the I2S protocol, I'm not clear on how things work on the...

I'm trying to use the codec on the 827EVM board. While I understand the I2S protocol, I'm not clear on how things work on the software side. Since the dsp is interrupt, rather than DMA, driven, if I configure the I2S frame to be 16 words long, and only use 2 words, how many interrupt


MSCAN problem

Started by in Freescale DSPs17 years ago 7 replies

I have following problem with DSP56807 CAN controller: Using 56807 in CAN application in classic way : 'TX empty' interrupt ...

I have following problem with DSP56807 CAN controller: Using 56807 in CAN application in classic way : 'TX empty' interrupt routine fills the MSCAN registers with new message from the FIFO buffer. Received CAN messages are processed in 'Rx full' interrupt routine... The proble


#pragma Interrupt

Started by chandooramkumar in Freescale DSPs14 years ago 2 replies

Hi, I am trying to program an ISR in MSCAN recieve routine. I went thru the archives and found a message frm Art Johnson which was...

Hi, I am trying to program an ISR in MSCAN recieve routine. I went thru the archives and found a message frm Art Johnson which was regding the usage of #pragma Interrupt. It will be gr8 if someone culd send me the J1939_task.c file to refer to ISR programming. I am attachin the message frm Art BELOW... Thanks, Chandru RE: si


Interrupt based data reception using SPI port doubt

Started by Nitin Yewale in Freescale DSPs17 years ago

Hi, I am using SPI port for data transmission in 56f826. I would like to know the difference between Spi0ReceiverFullError through...

Hi, I am using SPI port for data transmission in 56f826. I would like to know the difference between Spi0ReceiverFullError through pArchInterrupts and SPI_RX_INTERRUPT_ENABLE using ioctl function. I want to read data only when it arrives to SPI port i.e. interrupt bassed on RX.


Software pll...

Started by rajeshkvs in Freescale DSPs13 years ago

Dear forum members, I'm have experimented with Analog-PLL, but, Im'm new to DSP and software PLL. I believe that usually, the input signal is...

Dear forum members, I'm have experimented with Analog-PLL, but, Im'm new to DSP and software PLL. I believe that usually, the input signal is sampled at a very fast rate and is fed to a SPLL to track the frequency&phase. Has anyone tried to lock to an input square wave, which acts as an external interrupt source (i.e., it triggers an interrupt on it's rising edge)? The frequency of ...


#pragma interrupt error

Started by Jan Humpl in Freescale DSPs14 years ago 3 replies

Hi! I've urgent problem with "#pragma interrupt" directive compilation. Although compiled function uses Y0 register compiler don't save it....

Hi! I've urgent problem with "#pragma interrupt" directive compilation. Although compiled function uses Y0 register compiler don't save it. Can anyone explain this? And can you suggest how to solve / bypass this problem? I wouldn't like to disassemble every isr and check if all registers are saved everytime i change isr code. And also i wouldn't li


AW: Interrupt with SDK

Started by Bende Georg in Freescale DSPs16 years ago

As I do it: I define the function in the appconfig.h right after the vector definition: #define INTERRUPT_VECTOR_ADDR_8...

As I do it: I define the function in the appconfig.h right after the vector definition: #define INTERRUPT_VECTOR_ADDR_8 FMy_IREQA_Routine void FMy_IREQA_Routine (void); And I put the #pragma directive before the function: #pragma interrupt void FMy_IREQA_Rou


Interrupt Code SCI [ motorola 56803 | codewarrior]

Started by Olamide... in Freescale DSPs16 years ago

I know how to write regular sci code and just call them using a while loop. I want to use the SCI interrupt though, so when...

I know how to write regular sci code and just call them using a while loop. I want to use the SCI interrupt though, so when it recieves data, it does what i exactly want it to do at that time. I use codewarrior 4.26, and i am working on a Motorola 56803 board.


Interrupt on a gpio state change

Started by Bruno Tremblay in Freescale DSPs15 years ago 1 reply

Hi, I want to use two GPIO pin as interrupt in my application. Since I didn't found any information on how to do it with the...

Hi, I want to use two GPIO pin as interrupt in my application. Since I didn't found any information on how to do it with the SDK, I must write and find a way to call an ISR on a pin change. For now, I know how to set the GPIO registers and write my ISR. But I don't how


Interrupt stack pointer corruption

Started by ljube20022000 in Freescale DSPs17 years ago 4 replies

Hi all, I have a problem with my stack pointer when i enter interrupt service routine. First thing i do is pushing all used...

Hi all, I have a problem with my stack pointer when i enter interrupt service routine. First thing i do is pushing all used registers to the stack ;push all registers to the stack ; move x0,x:(SP)+ ; move y0,x:(SP)+ ; move r2,x:(SP)+ ; move a0,x:(SP)+ ;


RE: DSP56F827 - Un-handled Interrupt: finding sour ce??

Started by Corey, Rick in Freescale DSPs16 years ago 1 reply

Hi Boaz I see on p.4-13 of the 56800 Family Manual (ITCN), a test register TCSR, with bits 8..13 called "vector". That's just...

Hi Boaz I see on p.4-13 of the 56800 Family Manual (ITCN), a test register TCSR, with bits 8..13 called "vector". That's just enough bits to encode the 64 interrupt vectors. Text says that these bits "show the output of the current active vector".


Multiple Interrupts in GPIO and Flash Memory Data

Started by amacedosilva in Freescale DSPs16 years ago 1 reply

Hi... Multiple Interrupts in GPIO -I can configurate most than one GPIO Pin to generate a Interruption, All those pins had...

Hi... Multiple Interrupts in GPIO -I can configurate most than one GPIO Pin to generate a Interruption, All those pins had the interrupt vector of 23! To know which pin make the Interruption I must read the register IPR (Interrupt Pending Register). But I?m using


I2C Communication Interrupt Priority

Started by tomc...@yahoo.com in Freescale DSPs6 years ago

Hello: I am writing some simple pass-thru-with gain code for the 56371. How should one setup the interrupt priority so that my external...

Hello: I am writing some simple pass-thru-with gain code for the 56371. How should one setup the interrupt priority so that my external micro (connected to the 56371 I2C port) can from time to time change the gain registers in the 56371 without upsetting the interrupts on the I2S signal ports? Any direction or sample code would be greatly appreciated. Thank you in advance for your help...


RE: Interrupt/context problem? RE: 1-27759674 Bug Number: WB1- 39699 USEFUL follow-up

Started by Corey, Rick in Freescale DSPs17 years ago

Hello Metrowerks Tech Support RE: Service Request Number: 1-27759674 Bug Number: WB1-39699 Let me follow up my Email...

Hello Metrowerks Tech Support RE: Service Request Number: 1-27759674 Bug Number: WB1-39699 Let me follow up my Email from earlier today. I am thinking that the compiler must be confused about where the scope of "#pragma interrupt saveall


Flash memory

Started by karine michalet in Freescale DSPs17 years ago 1 reply

I send you my project (memoire test). I want to write in P.Flash memory my interrupt table (in test.asm) by creating my own section...

I send you my project (memoire test). I want to write in P.Flash memory my interrupt table (in test.asm) by creating my own section "section erwan". I want to use the DSP56800 Stationary project with Flash 56807 set up. The problem is none of my interrupt table is written in the