DSP56F805 ADC Highlimit

Started by drexlmeier in Freescale DSPs16 years ago

Hi, does anybody know where I can find information about the ADC Highlimit interupt.(LowLimit/ZeroCorssing resp.) I?m...

Hi, does anybody know where I can find information about the ADC Highlimit interupt.(LowLimit/ZeroCorssing resp.) I?m interested in general infromation like: How do I have to Configure the ADC. When does the interrupt occure? Which values are compared with the Limit Regi


I can't enter 805's input capture interupt

Started by xiong2046296 in Freescale DSPs14 years ago

Hi,everyone: I use 05EVM and Metrowerks SDK2.4, also i use the embedded RTOS uc-osII2.51 to develop . Now i have four tasks and three...

Hi,everyone: I use 05EVM and Metrowerks SDK2.4, also i use the embedded RTOS uc-osII2.51 to develop . Now i have four tasks and three interrupts. They are two quadTimer tasks----timerB_0 and TimerB_1, which TimerB_0 have two interrupts--- callbackOnCompare and callbanckOnInputedge .The third interrupt is Pwm_A_reloadcallback. Now i can't enter the


56f80x interrupt/pipeline problem?

Started by bergy50us in Freescale DSPs15 years ago

I'm running a round robin multitasker on a 56F801. Interrupts are heavily used, but not for task switching. When I go to change...

I'm running a round robin multitasker on a 56F801. Interrupts are heavily used, but not for task switching. When I go to change the stack pointer (SP) I find that I must lock out interrupts around the following: move x:(r3),sp nop move x:(sp)-,r1 move


Interrupt GPIO

Started by Maria in Freescale DSPs16 years ago

Hi all! I do not understand. My code {.......... /*Initialize PORT B*/ hard.PortB = gpioOpen (BSP_DEVICE_NAME_GPIO_B, NULL);...

Hi all! I do not understand. My code {.......... /*Initialize PORT B*/ hard.PortB = gpioOpen (BSP_DEVICE_NAME_GPIO_B, NULL); periphMemWrite(0,PORTB_BASE+PORT_DDR); periphMemWrite(0,PORTB_BASE+PORT_PER); periphMemWrite(255,PORTB_BASE+PORT_IENR); periphMem


Using ESSI with DMA on a DSP56853

Started by StevenLo_98 in Freescale DSPs15 years ago 7 replies

Hi all, Can someone offer some help with DSP56853 DSP ESSI with DMA? My application is used the 56853 to interface a multiple...

Hi all, Can someone offer some help with DSP56853 DSP ESSI with DMA? My application is used the 56853 to interface a multiple channel audio codec from Analog device. My 1st attempt was to code it with interrupt driven routines and that was ok. I used one of the D


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


Output SPI commands from Timer Interrupt

Started by uwmechlab in Freescale DSPs16 years ago

Perhaps someone can give me some guidance here: On my 56F8346 EVM board I have an SPI D/A converter that requires 2 bytes sent...

Perhaps someone can give me some guidance here: On my 56F8346 EVM board I have an SPI D/A converter that requires 2 bytes sent out the SPI0 port to output a voltage. Since this is meant for a control system experiment I need to generate a time base to do this. I tried creating


Interrupt with SDK

Started by zuffpasc in Freescale DSPs16 years ago 1 reply

Hello, I'm trying to implement an ISR for IRQA with SDK... So, I define it in appconfig.h: (as said in the SDK help) ...

Hello, I'm trying to implement an ISR for IRQA with SDK... So, I define it in appconfig.h: (as said in the SDK help) #define INTERRUPT_VECTOR_ADDR_8 FMy_IREQA_Routine and in my main C file, I put this: void FMy_IREQA_Routine (void); ....


AW: PCMaster Baud rate

Started by Bende Georg in Freescale DSPs16 years ago

The maximum speed I was able to use PCMaster was 38400, but in this case the routine was called every 300 microseconds....

The maximum speed I was able to use PCMaster was 38400, but in this case the routine was called every 300 microseconds. Alternatively you can make it interrupt-driven but don't expect too much speed increase because it's pretty tough to process commands and assemble the packets on that spe


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


GPIO Interrupts

Started by bobhopf in Freescale DSPs16 years ago

I am processing 4 pulse inputs on port B of a 56827, each about 200nsec and somewhat random occurance. I had been losing interrupts ...

I am processing 4 pulse inputs on port B of a 56827, each about 200nsec and somewhat random occurance. I had been losing interrupts (missing pulses) when he pulses occurred within the interrupt processing time. The cause appears to be reseting the IPR via IESR with a BFSET vs a MOVE


ADC does not start

Started by alberto_reit in Freescale DSPs15 years ago

Hallo to all, I'm using a 58F4046, it has 2 adc converter module ADCA and ADCB. I've tried ADCA in simultaneous scan mode and it...

Hallo to all, I'm using a 58F4046, it has 2 adc converter module ADCA and ADCB. I've tried ADCA in simultaneous scan mode and it works fine and generates the " on end" interrupt. I want to do the same with ADB but it doesen't work. I can see it by placing a breakpoint in th


56f807 + SDK + ucos

Started by max_mont in Freescale DSPs16 years ago

Hi, I'm developing an application on the 56f807 with SDK and ucos II. The application is running very well. But when it runs...

Hi, I'm developing an application on the 56f807 with SDK and ucos II. The application is running very well. But when it runs during a long time, all the interrupts are disabled, including the OS timer (D0), excluding the PWM reload interrupt. This problem appears,


Linking constant to x flash

Started by ljube20022000 in Freescale DSPs17 years ago 1 reply

Hi, I am trying to link constant coefficients that i declared in my filtercnt.asm file to x.flash between locations 0x2000 and...

Hi, I am trying to link constant coefficients that i declared in my filtercnt.asm file to x.flash between locations 0x2000 and 0x200A. I am using this constants in interrupt service routine. All my other initilaized data from my main.c file is linked at address location 0x200F.


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

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

Hi Boaz What version of CodeWarrior are you using? I think it was version 5.0.2 or 5.0.3 that had problems with pragma...

Hi Boaz What version of CodeWarrior are you using? I think it was version 5.0.2 or 5.0.3 that had problems with pragma interrupt, at least if you checked "deferred inlining" under Language Settings under Target settings. The absence of an RTI at the end of an ISR wou


DSP56F827: IRQB Problem: active when shouldn't

Started by bmbmz123 in Freescale DSPs16 years ago

Hello, A strange behaviour from the IRQB - it calls the NORMAL-Interrupt even though it is disabled. At init stage, the IRQB...

Hello, A strange behaviour from the IRQB - it calls the NORMAL-Interrupt even though it is disabled. At init stage, the IRQB is disabled. At debug, I read IPR=0xFE05, which is ok. The init is done while archDisableInt() is in effect. When I enable interrupts


AW: help.......we are beginer

Started by Bende Georg in Freescale DSPs14 years ago

AFAIK the only way ist to check it in the interrupt routine with reading the GPIO data register. Georg Bende > -----Urspr?ngliche...

AFAIK the only way ist to check it in the interrupt routine with reading the GPIO data register. Georg Bende > -----Urspr?ngliche Nachricht----- > Von: motoroladsp@moto... > [mailto:motoroladsp@moto...] Im Auftrag von rficoca2 > Gesendet: Montag, 25. April 2005 22:24 > An: motoroladsp@moto... > Betreff: [motoroladsp] h


MSCAN and CanReadCallBack interrupt problem

Started by jamessconnors in Freescale DSPs15 years ago 2 replies

I am using the mscan drivers from SDK3.0 and the example program can.h which comes with that version of the SDK. In their CAN ...

I am using the mscan drivers from SDK3.0 and the example program can.h which comes with that version of the SDK. In their CAN example they setup a function "CanReadCallBack" to handle newly received CAN messages. It is setup in the appconfig.h file as #define CAN_RAW_CALLBA


Re: Interrupt concept DSP56801EVm

Started by Mariano Filippa in Freescale DSPs15 years ago

It's been a while since I don't program the DSP, but I'll give it a try. First, check this >>> asm(bfset #0012,X:IPR); Is it...

It's been a while since I don't program the DSP, but I'll give it a try. First, check this >>> asm(bfset #0012,X:IPR); Is it decimal 12 or hex 12 ?? IPR = b xxxx xxxx xx11 x11x for both IRQ A and B enabled and edge sensitive (user's manual p. 4-4) Check this setting.


Unsigned long substraction problem...

Started by Nitin Madhukar Yewale in Freescale DSPs17 years ago

Hi, I am doing simple subtraction of two long variables, out of which one variable I have declared as volatile unsigned long...

Hi, I am doing simple subtraction of two long variables, out of which one variable I have declared as volatile unsigned long TODCounter = 0; I am updating TODCounter variable in TOD Interrupt routine. I have different timeout duration for different operatio