Currently, I use TM4C1231H6PM mcu + cc3000 for application.
I use SSI1 as the communication interface between mcu and cc3000.
For this purpose, I have to unlock NMI on GPIO PF0.
I use the sample code to unlock PF0:
#define GPIO_LOCK_KEY_DD 0x4C4F434B
//unlock PF0
HWREG(GPIO_PORTF_BASE + GPIO_O_LOCK) = GPIO_LOCK_KEY_DD;
HWREG(GPIO_PORTF_BASE + GPIO_O_CR) |= 0x01;
HWREG(GPIO_PORTF_BASE + GPIO_O_LOCK) = 0;
At the first bootup, it works.
But I always get the failed in the following re-boot.
I attach JTAG to check the failed point and I find it's always blocked in FaultISR loop.
When system runs at
HWREG(GPIO_PORTF_BASE + GPIO_O_CR) |= 0x01;
It will jump to FaultISR loop.
Anyone meet this issue before?
thanks
Gavin