DSPRelated.com

#pragma interrupt error

Started by Jan Humpl in Freescale DSPs19 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


New Member's Hello --

Started by Robert Smith in Freescale DSPs19 years ago 2 replies

Hello Group -- I am an experienced embedded controller developer who has been using the 68HC11, 68332, and 68HC08/05 family devices. I'm...

Hello Group -- I am an experienced embedded controller developer who has been using the 68HC11, 68332, and 68HC08/05 family devices. I'm looking for more up-to-date controllers to replace the HC11 and others as the product line matures. The 56F800/E family looks pretty interesting! For my first question -- The 56F8013 Demo kit that I pu


Different value from same register?

Started by Hardeep in Freescale DSPs19 years ago 1 reply

Hi, I am currently working with ESSI on the DSP56858. When I break in my program and view the Status register (by looking at the...

Hi, I am currently working with ESSI on the DSP56858. When I break in my program and view the Status register (by looking at the Registers in CodeWarrior), it appears that I am getting a different value from when I break after copying the value of the Status register into a variable. Does anyone know why I am receiving two different results from


Process gain K

Started by Markus Steindl in Freescale DSPs19 years ago

Dear all, I tried to contact you last week, but unfortunately you haven\'t answerd my question yet. So, I request you to give me a hand in...

Dear all, I tried to contact you last week, but unfortunately you haven\'t answerd my question yet. So, I request you to give me a hand in that case, cause it is very important for me! Following is my first email to you from last week! Thank you! My name is Marcus and I have to do a control engineering project on matlab. My purpose is to identify a process from given


8357 FlexCan issue

Started by yxp0400 in Freescale DSPs19 years ago

Hi guy, I am currently debugging an issue on 8357 FlexCan module. The problem is sometimes, FlexCan seems just take whatever on the...

Hi guy, I am currently debugging an issue on 8357 FlexCan module. The problem is sometimes, FlexCan seems just take whatever on the CAN bus at that moment and move it into a MB, even though that frame has different ID. I can reproduce this issue by sending two CAN frames to a 8357 side by side ( the interval between these two frame i


Problem on use PWM as output on 56807

Started by lisong_yuan in Freescale DSPs19 years ago 3 replies

I want to configure 4 of PWMA pins as output pin. But I can not get the output. The following is my code. Please help asap. Thanks. ...

I want to configure 4 of PWMA pins as output pin. But I can not get the output. The following is my code. Please help asap. Thanks. void initPwmAReg(void) { setPwmAControl(0x00001); // 0x0001 PWMEN Enable setPwmAOutputControl(0x8F0F); setPwmAConfigReg(0x000E ); setPwmAModulo(200); setPwmA_ENHA(); setPwmAChann


Can someone navigate me what should I do to start developing with DSP56F801?

Started by pitchayav in Freescale DSPs19 years ago 1 reply

Never before, I am new for DSP developing. I have just study some materials which are linked from Freescale website. Those included with ...

Never before, I am new for DSP developing. I have just study some materials which are linked from Freescale website. Those included with how to use CodeWarrior and some information about the processor, but I have some questions to ask about: 1. Where can I find any tutorials or any example source code (in C) about the basic programming of DSP56800 family suc


AW: bitwise operation in simple C

Started by Anonymous in Freescale DSPs19 years ago 1 reply

You have to write your own macros. For example: #define BIT0 0x0001 #define BIT1 0x0002 #define setRegBit(reg, bit) reg |=...

You have to write your own macros. For example: #define BIT0 0x0001 #define BIT1 0x0002 #define setRegBit(reg, bit) reg |= bit #define clrRegBit(reg, bit) reg &= ~bit Now you can write setRegBit(porta,BIT1) Maik Schormann ________________________________


interface between 3.3v and 5v

Started by in Freescale DSPs19 years ago 4 replies

hi.... i'm designing a circuit including 5v and 3.3v for the first time and need support to interact them with each other. except...

hi.... i'm designing a circuit including 5v and 3.3v for the first time and need support to interact them with each other. except dsp all circuit elements feeds from 5v. i'll drive a 2x16 lcd .. i'll read from 4 ADC input and i'll use 4 PWM signal... which buffers (easy to find) should i use? bye...


Asking for any suggestions about develop DSP56F801 on CodeWarrior IDE 5.6.1.1658

Started by pitchayav in Freescale DSPs19 years ago 1 reply

Hello, I am new on CPU programming also DSP. I have a job to make the test board that has DSP56F801 to control the board. May I ask for...

Hello, I am new on CPU programming also DSP. I have a job to make the test board that has DSP56F801 to control the board. May I ask for how to get start with this? Also, which any basics that I have to know about using the CodeWarrior IDE version 5.6.1.1658 compiler. Then, if I study to use "processor expert" on CodeWarrior which spent a lot of time


Ask a Question to the DSPRelated community

To significantly increase your chances of receiving answers, please make sure to:

  1. Use a meaningful title
  2. Express your question clearly and well
  3. Do not use this forum to promote your product, service or business
  4. Write in clear, grammatical, correctly-spelled language
  5. Do not post content that violates a copyright