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.

CC1310: where to initialize the sensorcontroller

Part Number: CC1310


Hello. Is there any difference where the sensorcontroller needs to be initialized? before the start of tirtos or after there was already a start  BIOS_start(); ?

example code:

// Start SensorControler
// Initialize the SCIF operating system abstraction layer
scifOsalInit();
scifOsalRegisterCtrlReadyCallback( scCtrlReadyCallback );
scifOsalRegisterTaskAlertCallback( scTaskAlertCallback );

// Initialize the SCIF driver
scifInit( &scifDriverSetup );

// Enable RTC ticks, with N Hz tick interval
scifStartRtcTicksNow( 0x00010000 / 5 );

scifStartTasksNbl( BV( SCIF_LED_DRV_TASK_ID ) );

  • When you generate code using Sensor Controller Studio the file "scif_how_to_use.html" is generated which explains in detail how to integrate the sensor controller with the application code. You can also take a look at the examples included in Sensor Controller Studio.