Question regarding interrupts in DSP56F805

Started by Chandrasekar Ramkumar in Freescale DSPs16 years ago 2 replies

Hi Rick, I read thru the AN2283 document, which explains the interrupt structure in 805. In my program i have used the Transmit buffer 0 to...

Hi Rick, I read thru the AN2283 document, which explains the interrupt structure in 805. In my program i have used the Transmit buffer 0 to store the message. I initially stored the message in Transmit buffer 0 and clear the TXE0 flag by writing 1 to it. I also set TXEIE0 to give a transmit interrupt. But after this the MSCAN does not set the TXE0 flag to transmit the messag


Flash memory

Started by karine michalet in Freescale DSPs18 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


RE: Software Interrupt

Started by Victor Miramontes in Freescale DSPs18 years ago

All, Has anyone got information about possible conflicts using the SWI? Anybody try using it? Thanks Victor ...

All, Has anyone got information about possible conflicts using the SWI? Anybody try using it? Thanks Victor


Command Vector Register (CVR)

Started by Johan Lens in Freescale DSPs19 years ago

Hi, we're having troubles with the CVR: normally the program should jump to a subroutine when a interrupt is given, but in...

Hi, we're having troubles with the CVR: normally the program should jump to a subroutine when a interrupt is given, but in our case it doesn't. Can anyone help us? Best regards, Johan & Alexander


I2C interface for 568xx

Started by Santi Corera in Freescale DSPs18 years ago 4 replies

Is there any application note or available code to implement the I2C protocol ? I am interested specially in mastering the bus and,...

Is there any application note or available code to implement the I2C protocol ? I am interested specially in mastering the bus and, if possible, ussing a timer interrupt (probably associated to the sclk signal) Thanks in advance.


DSP56807 with SDK and ISR written in assembly

Started by Christian Brauchli in Freescale DSPs18 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


More comments on the Small C port to 56800

Started by David D in Freescale DSPs18 years ago

In looking more at the C compiler this morning, I just noticed that there is no means of defining a subroutine such that it ends...

In looking more at the C compiler this morning, I just noticed that there is no means of defining a subroutine such that it ends with an RTI and can be called by editting the vecinit.asm as an interrupt service routine. This can be done by hand, but it would probably be


SCI Interrupt (DSP 56803)

Started by Olamide... in Freescale DSPs17 years ago

I can use normal poling to get data and output data. I want to use interrupts though, and its not working. I change the...

I can use normal poling to get data and output data. I want to use interrupts though, and its not working. I change the 56803_vector_pROM.asm file (i.e. put my isr function in the right vector address, but it still does not work. Please i need Help ASAP. Thanks u much..


RE: Thanks again, Art

Started by Art Johnson in Freescale DSPs18 years ago

Actually I just remembered a situation where we have seen this sort of thing (ie unhandled interrupt) in our systems. It happens if...

Actually I just remembered a situation where we have seen this sort of thing (ie unhandled interrupt) in our systems. It happens if we leave the parallel JTAG cable connected to the system after the program has been downloaded. Of course, this is the normal situation when you are debugging


DSP56F805 ADC Highlimit

Started by drexlmeier in Freescale DSPs17 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


Strange DSP56F807 problem

Started by Yochum, William in Freescale DSPs18 years ago

Greetings: I have recently found a very unusual problem that to the best of my knowledge appears to be in the 807 hardware. I'm...

Greetings: I have recently found a very unusual problem that to the best of my knowledge appears to be in the 807 hardware. I'm hoping the gurus on this list might provide some input. I have a situation where I am servicing an interrupt, and I'm allowing a higher


Interrupt/context problem?

Started by Jarrid Gross in Freescale DSPs18 years ago 14 replies

I have been having some tough problems all along, and had hoped that upgrading to CW5.0 + 5.02 patch would cure me, but it didnt... ...

I have been having some tough problems all along, and had hoped that upgrading to CW5.0 + 5.02 patch would cure me, but it didnt... Heres what happens. uint32 bogie_call(float * flt_arg_ptr, uint32 long_arg) { float f; f = 100; //


Static vars declaration

Started by alberto_reit in Freescale DSPs16 years ago 1 reply

Thanks Harrold to you for your answer but I've discovered that the problem was an interrupt that was going to change some unsaved ...

Thanks Harrold to you for your answer but I've discovered that the problem was an interrupt that was going to change some unsaved register. Do you know how can avoid this problem? (i'm new in motorola uP development). I have got another question if someone can answer to me: I've decl


Local variable declaration

Started by hyzhou_14850 in Freescale DSPs18 years ago 1 reply

Hi, everyone: I am experiencing a strange problem with my DSP56803EVM and CodeWarrior 5. My application talks to a PC...

Hi, everyone: I am experiencing a strange problem with my DSP56803EVM and CodeWarrior 5. My application talks to a PC through the EVM??s serial port and the user LED toggles if the 1ms interrupt works fine. The communication was OK when the CodeWarrior target sett


Interrupt with SDK

Started by zuffpasc in Freescale DSPs17 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); ....


Using ESSI with DMA on a DSP56853

Started by StevenLo_98 in Freescale DSPs16 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


mscan example

Started by aaronedsinger in Freescale DSPs17 years ago

Hello. I am just getting started using the MSCAN on my 56F807 evaluation board. I haven't been able to find any sample code for ...

Hello. I am just getting started using the MSCAN on my 56F807 evaluation board. I haven't been able to find any sample code for this yet (mscan initialization, interrupt driven rx/tx for 56F8xx). If anyone could point me to some code or would send me an example, that would be really


'826 - Creating 10msec Timer interrupts

Started by bmbmz123 in Freescale DSPs17 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


Re: Interrupt concept DSP56801EVm

Started by Mariano Filippa in Freescale DSPs16 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.


Output SPI commands from Timer Interrupt

Started by uwmechlab in Freescale DSPs17 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