I'm seeing my program fail and getting stuck in the FaultISR when trying to run the following command on a Tiva TM4C129ENCPDT processor:
SSIConfigSetExpClk(SYSCTL_PERIPH_SSI0,sysclock,SSI_FRF_MOTO_MODE_0,SSI_MODE_MASTER,2000000,16);
I'd appreciate some suggestions on how to troubleshoot this?
It should be on SSI0, 25MHz, CPOL/CPHA = 0/0, Master, 2 MHz, and 16 bit transfer.
xPSR register is 0x61000003 - I believe this indicates a hard fault based on last 8 bits (0x03).
NVIC Fault Status register is 0x00000400 - I don't know what this indicates presently.
At Stack Pointer (address 0x20000430), the first 8 registers (R0, R1, R2, R3, R12, LR, PC, xPSR to my understanding) are: F0001C00 017D7840 00000000 00000000 2000026C 00000CDB 000011B8 61000000