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.

BOOSTXL-CC3135: About simplelink host driver porting to STM32 platform

Part Number: BOOSTXL-CC3135
Other Parts Discussed in Thread: CC31XXEMUBOOST, CC3100


Hi Ti,

My goal is to port the simplelink host driver to a STM32 environment running non-OS, in a single threaded mode.

I am using as below.

Harware : STM32F4 Discovery board + BOOSTXL-CC3135 and CC31XXEMUBOOST

Software : simplelink_sdk_wifi_plugin_4_20_00_10

Now my case is very similar to the 2 threads below.

The two threads are related to each other.

https://e2e.ti.com/support/wireless-connectivity/wifi/f/968/p/690115/2543517#2543517

https://e2e.ti.com/support/wireless-connectivity/wifi/f/968/t/748675?tisearch=e2e-sitesearch&keymatch=_SlNonOsMainLoopTask

I also had the same problem with sync and lock.

Likewise, I used the sync/lock function of the CC3100 SDK (nonos.c).

Although it works, it is very unstable.

For example )

When the MCU's clock or SPI clock changes, it goes into infinite wait.(_SlNonOsHandleSpawnTask)

When I set a breakpoint on ISR, it works, but without the breakpoint, stuck in an infinite wait.(_SlNonOsHandleSpawnTask)

I've attached test code for quick resolusion.

Ti source is located in "Driver" folder.

May I ask you to review it?

Thanks

TI_SL_EX.zip

  • Hi Hochul Yoo,

    Do you have the latest servicepack do you have flashed? Are you seeing a sync loss error or other fatal event?

    What do you mean when the MCU or SPI clock changes? Is the clock configuration changing during runtime?

    Best regards,

    Sarah