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.

CC3120MOD: The way to Work the CC3120MOD on Non-OS environments

Guru 24520 points
Part Number: CC3120MOD
Other Parts Discussed in Thread: CC3120,

Hi TI Experts,

We have already checked the Porting the Host Driver on swru455d.pdf, but my customer could not work it even though following the steps.

Please let me confirm the following question.
[Question.1]
Would you please teach me the method/porting way to work the CC3120 on Non-OS environment?

[Question.2]
According to the "116.7 Implement OS Adaptation Layer" on swru455d.pdf, customer did not require the step(Sync Objects , Locking Objects) when Non-OS environment. Is my understanding correct?
But when called the sl_Start() function, the "Sync Objects" was used. So, how customer treate this section?

Also I found the following post with the similar question, but it seems that there is not on final answer from TIer. Please teach me the way to treate it.
e2e.ti.com/.../620115

If you have any questions, please let me know.

Best regards.
Kaka

  • Hi Kaka,

    1. You will need to go through your project and replace any functionality that requires an OS with Non-OS functions. There are some "nortos" examples on the CC3120 SDK that you could use for guidance. C:\ti\simplelink_sdk_wifi_plugin_1_55_00_42\examples\nortos

    2. You are correct, these aren't needed since they are used by OS related functions. The examples mentioned in (1) should provide some insight into how to handle sl_Start() and other sl_ function calls. If you have more specific concerns on this, please feel free to post your questions.

    Hope this helps,
    Kevin
  • Hi Kevin,

    Please let me confirm the following question.
    [Question]
    Would you please teach me the directory and files which customer should port to their original code?

    I think that they need to port the following source codes.
    C:\ti\simplelink_sdk_wifi_plugin_1_55_00_42\source\ti\drivers\net\wifi\porting
    C:\ti\simplelink_sdk_wifi_plugin_1_55_00_42\source\ti\drivers\net\wifi\bsd/*
    C:\ti\simplelink_sdk_wifi_plugin_1_55_00_42\source\ti\drivers\net\wifi\source
    Inculding the following
    directory: C:\ti\simplelink_sdk_wifi_plugin_1_55_00_42\source\ti\drivers\net\wifi
    Is there any other additional file to their project?

    Best regards.
    Kaka
  • Kaka,

    The device drivers are not specific to RTOS or non-RTOS implementations. Your customer should pull whatever source files/includes they intend on using. This really depends on the project and what they need within their project.

    Are they trying to take a RTOS project for the CC3120MOD and just make it non-RTOS?

    Best,
    Kevin
  • Hi Kevin,

    Thank you for your comments,
    My customer would like to use CC3120MOD in Non-OS environment, but they have met some error on ""Sync Objects".
    So, they have selected the freeRTOS and they tired to make the similar environments as MSP432 freeRTOS projects.

    Best regards.
    Kaka
  • Kaka,

    OK, if they are still wanting to use Non-OS and need support with those errors feel free to post on here or start a new thread.

    Hope their development goes well!

    Best,
    Kevin