Part Number: CC2640R2F
Tool/software: Code Composer Studio
Hi ,
I have integrated the sensor controller program to custom CCS Project as per document says in SCIF output directory ( i.e., scif_how_to_use.html). The following issues I'm facing
1. In sensor controller Studio, I just turn it on RED LED . there I mapped DIOD_3 which is the RED LED in my custom board. I have integrated in CCS and I built it. but it is not working.
2. I don't know what else things have to do for to work SC in CCS and make work in my custom board.
3. And one question, how to make the sensor controller to sleep? can you please provide one example?
I have explained here what I did in Sensor Controller Studio for configuring RED LED and steps I have done for integrating the SC code to CCS...
In SCS,
I just configured like and generated code and IO mapping explained
IO mapping IOID_3 for debug pin is used as RED led in my custom board. in CCS i commented out the RED LED pin in PIN init function in board.h file and board.c file.
In CCS,
// Initialize the SCIF operating system abstraction layer scifOsalInit(); scifOsalRegisterCtrlReadyCallback(scCtrlReadyCallback); scifOsalRegisterTaskAlertCallback(scTaskAlertCallback); // Initialize the SCIF driver scifInit(&scifDriverSetup);
and
scifStartTasksNbl(1 << SCIF_GPIOTRIGGER_TASK_ID);
These are things I have done in CCS for integration.
In Launch pad, IOID_3 pin set to high when i ran this CODE. but in my custom board it is not working.
Thanks in Advance