Tool/software:
Hello,
I set my sys clock freq as 80MHz and don't know why SysCtlDelay(10000000); is delaying 750ms instead of 375ms.
I used logic analyzer to test the SPIWritePacket function, and as you can see below, the delay is 750ms, not 375ms.
This is my code for testing SPIWritePacket() and and SysCtlDelay(10000000).
My code for setting the Sys Freq is SysCtlClockSet(SYSCTL_SYSDIV_2_5 | SYSCTL_USE_PLL | SYSCTL_OSC_MAIN | SYSCTL_XTAL_16MHZ);