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.

dm642

hi


I'm using a dsp dm 642 and my question is how can I write a value on one of the data bits of videos ports (example video port 0 D0),
Knowing that I have sought the addresses of each video port but I have not found.

thank you in advance for your answer.

  • Could you clarify your question? For example do you want to use one of the bits of the video port as GPIO, or you you want to output a certain value on the video port pins?

    If you mean just a single pin for GPIO purposes than you will want to take a look at chapter 5 of the video port manual SPRU629 which discusses using the various video port pins as GPIO.

  • hi

    the dm642 has 3 video port and each port has a portion for the data represented on 20digits, my question is how to force any value on one of these video port

    for example  I want :video port 0 d0 = 0x11.

    thinks

  • You need to send out video data with the corresponding bits set that way...

    Alternatively switch the desired pins to GPIO and set them to whatever state you want.

  • Hi

    Sorry for my ignorence , I'm just a beginner user of DM642. In fact,  I couldn't undrestand your idea, that's why I'am asking you for help: detziling your idea , and if you have some documents or exemple . thank you for your help. I'am looking forward your answer.

  • Hi

    Sorry for my ignorance , I'm just a beginner user of DM642. In fact,  I couldn't understand your idea, that's why I am asking you for help: detailing your idea , and if you have some documents or example . thank you for your help. I am looking forward your answer.

  • If you just want a single value on the video port bus that will be there constantly than the easiest way is setting the bus up as GPIO, for details on how to do this see chapter 5 of http://focus.ti.com/lit/ug/spru629f/spru629f.pdf.

    As Brad mentioned you could also just set it up to display video in the pattern of data you want to display. This would require the video port display driver (or equivalent driver software) which would take more effort to configure and would take up more system bandwidth since you would contantly be reading the value out of memory. Of course if you want to have the value on the video bus changing dynamically as you would in a typical video display situation than this is what you would need to do.

    I hope this helps, but to allow us to provide further feedback we would need more details on what you want to do and perhaps for clarification why.