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.

start

Other Parts Discussed in Thread: TMS320C6747

good day
I am starting to dsp and now I'm trying to use the tms320c6747 of texas, can somebody help me where to find information on how to get what is needed and a program ready for GPIO ready when I need to read four keys and drive led by 4 hours it is and one more thing to tms320c6747 csl I use or have a way or cslr mehor.

Thanks in advance for attention Leandro.

  • Leandro,

    I'm not 100% sure of exactly what you are asking, but I will give you some info.  Let me know if this is not clear.

    I know you are asking about GPIO. 

    The GPIO Register locations can be found in the 6747 Datasheet here: http://focus.ti.com/lit/ds/symlink/tms320c6747.pdf

    There is a GPIO User's Guide can be found here: http://focus.ti.com/lit/ug/sprufl8b/sprufl8b.pdf  It is in this document where you will find what each bit in the registers do.

    This is essentially all you need to start using GPIO.  I assume the keys that you mention are also GPIO, is that correct?  From here you can configure 4 GPIO pins as inputs, and connect those to the 4 keys.  You can configure 4 GPIO pins as outputs, and connect those to the LEDs. You can do the configuration by manually writing to these register locations.

    You also mentioned CSL.  CSL makes the above stuff easier.  The register layer (CSLR) is simply an abstraction of the GPIO registers which allows you to program them with mnemonics rather than having to do all of the bit shifting and masking yourself.  You can find information on CSL here: http://processors.wiki.ti.com/index.php/Chip_support_library

    In some cases, you are only given the CSLR.  This is the case for GPIO. What this means is that there are no functions for CSL, just register macros.  The only function you will have is a call to get the handle to the GPIO interface.  Then, with the CSLR layer, you can use the macros defined in cslr.h to create values based on the mnemonics and then write those values to the GPIO registers.

    Regards,
    Dan