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.

Compiler/LAUNCHXL-TMS57004: Using the SPI2nCS[0] as an GPIO

Part Number: LAUNCHXL-TMS57004
Other Parts Discussed in Thread: HALCOGEN

Tool/software: TI C/C++ Compiler

Hello,

I would like to use the SPI2nCS[0] as an GPIO.

In the documentation of the launch pad it is written that this could be done, but I don't know how to adress the pin.

For example the GIOA Pins I can adress with the registers gioPORTA->DIR to set the direction of the pin and gioPORTA->DOUT to set the value of the pin.

How can I achieve that with the SPI2nCS[0] pin?

Thank you in advance.

Sincerely,

Christian