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.
Hi,
I got CC3120BOOST board for WPA_ENT service.
My host MCU is STmciro MCU.
I don't want to modify CC3120 internal F/W at all.
But, I cannot find host driver to port to stm32F MCU.
If I want to use AT command, do I have to update CC3120BOOST F/W?
BR
Paul
In swra704.pdf, 2.1
In the SimpleLink Wi-Fi CC32xx SDK, this porting layer is implemented for ***** the on-chip ARM M4 application microcontroller ****. The porting layer distributed in the and SimpleLink SDK Wi-Fi Plugin is implemented ***** for other microcontrollers in the SimpleLink platform family *****.
1. "SimpleLink Wi-Fi CC32xx SDK" is for application running on CC3120 on-chip ARM core?
2. What "SimpleLink platform family." means?
What package do I have to port to stm32 MCU?
BR
Paul
See the porting guide to STM32 (https://www.ti.com/lit/pdf/SWRA704).
AT command was developed as an MCU application on CC32xx (i.e. the MCU device and not the CC31xx NWP only) to provide access to external host over UART. The application in this case is a proxy the transfer AT Commands to SL (NWP) API and vice versa.
I understand about AT command, I need CC32XX....
My question is from reading swra704...
I have to port SimpleLink SDK Wi-Fi Plugin to stm32... right?
BR
Paul
if you are using CC31xx (i.e. not through the AT-Commands) - Then the you'll need to port the driver according to the instructions in swra704.
Hi,
I'm porting WiFi plugin to stm32 now.
I do not use OS, non-OS.
In case of non-OS, do I have to port "2.5 OS Abstraction: FreeRTOS part" in swra704?
Sone source in simplelink_sdk_wifi_plugin_4_20_00_10 use OS abstraction object.
I do not define SL_PLATFORM_MULTI_THREADED.
And I ask again, do I have to port "simplelink_sdk_wifi_plugin_4_20_00_10" only? no need cc32xx_SDK?
BR
Paul
You can look at the simplelink driver build configuration for "norots" (and on the nortos example from the plugin). I believe there are other differences in the pre-defined symbols.
If you point to the exact code that causes the issues - I should be able to help.
I would recommend that once you understand the porting steps you would replace the driver with the one from CC32xx SDK 7.10 which is the latest one (the porting itself should be mostly the same as the 4.20 release).
Hi,
In C:\ti\simplelink_sdk_wifi_plugin_4_20_00_10\examples\nortos\MSP_EXP432P4111\demos\trigger_mode/main_nonrtos.c
mainThread is defined in "trigger_mode.c" (in c:/ti/simplelink_sdk_wifi_plugin_4_20_00_10/examples/nortos/MSP_EXP432P4111/demos/trigger_mode/trigger_mode.c).
Sorry.
My editor always link rtos mainThread
So, I missed it.
----
In the example, nortos trigger_mode.c call "ClockP_setTimeout".
And, ClockP_setTimeout () is defined in ClockPTimer_nortos.c
ClockPTimer_nortos.c includes "timerP.h"
But "timerP.h" is included in "C:\ti\simplelink_cc32xx_sdk_7_10_00_13\kernel\freertos\dpl" folder.
I don't use RTOS.
Do I have to port step by step like this?
BR
Paul
I think you shouldn't try to port the dpl part (such as ClockP...). This was not designed for this,
Instead you should provide STM32-NORTOS implementation to the services as listed in simplelink/user.h: e.g. sl_SyncObjWait,
You can use the DPL sources as a reference.
Hi,
My host MCU use UART interface instead of SPI to CC3120 module.
First response received from device is ba,dc,cd,ab,08,00,14,00
I checked this data by a tool.
Device to host sync word is AB CD DC BA according to user's guide.
High low nibble is swaped.
Is it right?
BR
Paul
Are you reading the response byte by byte (from memory or from the SPI) or as a 32B word?
BTW. not related to the issue - I just saw that you are using the CC3120 for WPA_ENT. Are you aware if the CC3120 limitations? It only supports TLS1.0 for the EAP connections. It typically makes an issue as most enterprise networks requires TLS1.2 today.
Hi,
I use UART for interface CC3120.
STM32 UART DMA driver is set to byte transfer. And I I read byte to byte from memory.
------
Yes, right. I select this CC3120 module for WPA_ENT.
Thanks you for information about TLS version you support today.
When will you support TLS1.2?
--------
Anyway I am monitoring on the line MCU and CC3120.
This is the capture image on the physical UART line from CC3120 module by using terminal program.
BR
Paul
yes, the monitored data seems ok.
CC3120 will not be able to support TLS1.2 (it is a ROM device and it is limited by the patches memory).