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.

TMS570LS3137: MibSPI ENA pins as gpio

Part Number: TMS570LS3137
Other Parts Discussed in Thread: TMS570LC4357, TMS5703137

hello,

I am developing a project in IAR with tms507ls3137 processor. 

I need to control the MIBSPI5NENA pin as GIO. When I change the following code to spiREG3, I can control the spi3NENA pin, but I can't control the spi1NENA, spi2NENA, spi4NENA and spi5NENA pins.

following code:

spiREG5->GCR0 = 1U;
spiREG5->PC0 &= ~(1<<8);
spiREG5->PC1 |= (1<<8);
spiREG5->PC3 |= (1<<8);
spiREG5->PC8 |= (1<<8);
spiREG5->PC4 |= (1<<8);