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.

TMS570LS1224: How to set MIBSPI5SOMI_0 as GIO

Part Number: TMS570LS1224
Other Parts Discussed in Thread: HALCOGEN

Hai, I would like to set mIBSPI5SOMI_0 as GIO but fail to do so. Below are steps that I have made

HalCoGen Software

1) PINMUX Tab -> set MIBSPI5sOMI_0 as enable

2) MIBSPI5 Tab -> MIBSPI5 Port -> SOMI Pin Mode set as GIO, SOMI Direction as DIR

3) save Project and generate code

Code Composer Studio

1) #include "mibspi.h"

2) mibspiInit();

3) gioSetBit(mibspiPORT5, PIN_SOMI, gioGetBit(mibspiPORT5, PIN_SOMI) ^ 1);