This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

C6455 Synchronization problem

Hi

My tools:

IDE: CCS 3.3

OS: Win XP

DSP: C6455

RTOS: DSP/Bios

Board: Customized board

My project specifications:

1) I used an interrupt that enables via GPIO.

2) I used two tasks(task-A, task-B).

3) I used NDK and make two task in it(UDP send and recieve).

I assigned priority 15 to task-A,  priority 1 to task-B and priority 5 to NDK task( stack start). I expected when an interrupt happened, after the ISR function executed with according to priorities, at first task-A  and next task-B or NDK be  executed. I want task-A execute exactly after running my ISR function but this procedure doesn't happen .

Question 1:

What should I do?(I want DSP work compatible with my scenario)

Best Regards

  • Dariush,

    Please go to TI.com and search for "c6455 workshop" (no quotes). One of the matches should be the Integration Workshop for the C6455, which has the archived student guides and presentation material and labs. It goes through the mechanisms of DSP/BIOS and will show you how all of the synchronization tools can work. It does not specifically address your NDK task, but it might have a section on the basics of the NDK. If not, the DSP/BIOS material should help you understand the things you can do and how to do them with DSP/BIOS.

    Regards,
    RandyP
  • Dear RandyP

    I think a miss understanding happened, task-A and task-B is different from two tasks that I used in NDK(we can call them task-C and task-D that used for UDP send and receive).
    I accomplished your advise and downloaded '' Rev_2_20_Feb_2008 '' but I couldn't find my answer.
    I want task-A run immediately after finished my interrupt function running and other tasks runs in extra times.

    Please help me!!!

    Can I use semaphore between interrupt function and task-A? Please, give me a suggestion.


    Regards
  • Hi

    Please, answer me. I'm waiting for you.

    Regards

  • Dariush,


    I see that you have started a new thread on this topic looking specifically for information on the semaphores to use for task synchronization. That new thread is here, for future reference by the readers.

    I am sorry you did not find your answer in the material you downloaded in this thread. Hopefully, the training and documents that Titus referenced in the new thread will be more helpful to you.

    As you learned from the IW6455 workshop's Chapter 2 on DSP/BIOS, semaphores are what you use for this synchronization. This was shown with pseudo code on page 2-17 in the Scheduling slide. The lab2 associated with that chapter, which hopefully you were able to look through, had real code examples doing the same thing.

    Please let Titus know if you are able to learn more from the training material that he provided links to. It will help us to help others better in the future.

    Regards,
    RandyP