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.

C5509A GPIO_pinWriteAll()

I have a multi-part question.

1) Is the September 2004 release of the TMS320C55x Chip Support Library API Reference Guide the most recent?

2) Why does the above mentioned literature specifically state that the GPIO_pinWriteAll() function is available for the C5509A (p. 8-15) when the compiler and linker say otherwise?  A quick search of the "include" sub-folder for the C55xxCSL library shows that csl_gpio5502.h is the only header that declares this function.

3) Obviously (I hope), I am using CSL with the C5509A, so I am including csl_gpio5509a (the above mentioned reference guide does not specify which headers need to be included for each module).  So. . .

. . .How do I read/write multiple GPIO pins on a C5509A with CSL?

 

  • Audi,

    A person I had been working with, TommyG, might be able to answer this.

    Hopefully he is listening :-)

    Tony

  • Audi,

    According to the CSL Product Folder (http://focus.ti.com/docs/toolsw/folders/print/sprc133.html), the latest version of the CSL for the C5509A device is v2.31.00.9 which was released on March 24, 2005.  The latest Reference Guide (SPRU433J) is indeed dated September 2004.

    I see in Table 8-1 that GPIO_pinWriteAll() is only for C5501/02 devices.  It appears that there is an error in the Reference Guide on the support of the pinWriteAll() function for devices other than C5501/02.  I'll will report this to the C5000 team to get it corrected.  GPIO_pinWrite seems to be the correct function for the C5509A.

    I haven't tried to use CSL for GPIO on the C5509A.  However, the Reference Guide, sec 2.2.1 example shows what you are doing should be correct.

    Regards.

  • TommyG,

    You mentioned that you "haven't tried to use CSL for GPIO on the C5509A."  Does that mean you use some other method?  How do others read/write multiple GPIO pins?

     

  • Audi,

    Sorry for not being clearer.  The CSL is the recommended method.  I meant I hadn't used that particular module myself for C5509A, but others have and do.

    Regards.