Part Number: CC3220SF-LAUNCHXL
Other Parts Discussed in Thread: CC3220SF
Based on TI out_of_box example code (TI-RTOS / CCS), GPIO toggle is added for timing measurement.
void * mainThread( void *arg )
{
int32_t RetVal ;
pthread_attr_t pAttrs;
pthread_attr_t pAttrs_spawn;
struct sched_param priParam;
struct timespec ts = {0};
Board_initGPIO();
/* Reset Timing Measurement */
GPIO_write(Board_LED0, Board_LED_OFF);
GPIO_write(Board_LED0, Board_LED_ON);
GPIO_write(Board_LED0, Board_LED_OFF);
I measured three pins in CC3220SF launchpad, from top to bottom, Reset Swicth, CC3220 nReset, LED0 with timing below:
It takes 1.1s to toggle the GPIO after nReset.
From data sheet, it takes 3+25+17.3+4096*0.06 = 248.5ms to start first app code in worst case. (I guess firmware size should be less than 4MB now)
My Question
May I know that 1.1s is best case of CC3220? how to optimize it? what's it doing after nReset?



