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.

Tiva TM4C123G - SPI1 is not usable

Other Parts Discussed in Thread: CODECOMPOSER

Hi,

I'm still working on evalboard EKS LM4F232 with CodeComposer Studio v5.

The SPI module #1 which is located on the alternate function of port F0..3 is not usable because pin 0 is fixed locked to the NMI function and the alternate function would be the MISO line (SSI1Rx). The lock is protected by an unlock and commit register but in my case it was impossible to unlock it. If I cannot switch to the alternate function the whole SSI1 is not usable because the serial input is missing.

The following instructions according datasheet would normally unlock the NMI function on pin F0:

(*(( volatile uint32_t *)0x40025520)) &= 0xfe;  // GPIOLOCK - unlock pin 0
(*(( volatile uint32_t *)0x40025524)) |= 1;  // GPIOCR - commit pin 0

But both bits are not changeable and therefore the AFSEL, DEN and PUR can also not be changed.

How can I get SSI1 working?