Hi,
I think it might be a silly question to ask "How to port CC3120 host driver?". Since it's my first time to use TI's SimpleLink Wi-Fi solution, I don't wish to go to the run way.
The host processor of our device is one SPARC V8 MCU running on simple RTOS, and the MCU connects to the CC3120 chip through the SPI interface. By checking the swru455e document, chapter 16 mentions the simple steps for the porting process. I had also downloaded the "simplelink_sdk_wifi_plugin_1_60_00_07" package for reference.
For the first 6 steps, I think I could make it by modifying the user.h, cc_pal.c, and cc_pal.h files under the source/ti/drivers/net/wifi/porting folder to fit into our platform. The sync objects and locking objects mentioned in step 7 should be supported by the semaphore and mutex of the simple RTOS we use. The Timestamp functions mentioned in step 8 might also be implemented by the RTOS's timer function. The event handler routines mentioned in 16.9 should be implemented in my host applications, and I have to take care of this.
Since I only studies the CC3120's Programmer guide and searched some related threads in the forum, I am wondering whether I do miss anythings. Please give me some comments on how to port the host driver correctly.
By the way, what kind of source codes provided in the "simplelink_sdk_wifi_plugin_1_60_00_07" package should be included in my project to complete the host driver function? Are all the codes under the source/ti folder? Or the codes under the source/ti/drivers folder?
Thanks.
Todd