Driver for CC3000 Wi-Fi module
Dependencies: NVIC_set_all_priorities
Dependents: CC3000_Simple_Socket Wi-Go_IOT_Demo
You are viewing an older revision! See the latest version
Homepage
CC3000 Wi-Fi module library¶
Info¶
This is the low level driver for TI's SimpleLink CC3000 device.
Port from Avnet's Wi-Go KEIL code (based on TI's CC3000 code).
Special thanks to Jim Carver from Avnet for providing the Wi-Go board and for his assistance.
Differences with TI's original code¶
The code functionality stays exactly the same.
In order to make it easier to use the code, following changes were made :
- Addition of a
GlobalAssigns.h
file containing defines for all low level I/O and conditional compiler controls.
- The SPI and HCI code are joined into one file.
- The include list has been rearranged - Only
#include "wlan.h"
is needed in the user API.
- Part of the CC3000's user eeprom memory is used to store additional info (52 bytes in NVMEM_USER_FILE_1):
- 1 byte for the First time config parameter (Useful when connecting).
- 2 bytes for the PatchProgrammer version.
- 2 bytes for the Service Pack version (used in the PatchProgrammer code).
- 3 bytes for the Driver Version (used in the PatchProgrammer code).
- 3 bytes for the Firmware Version (used in the PatchProgrammer code).
- 1 byte for CIK validation.
- 40 bytes for the CIK data (Client Interface Key - used with the exosite).
Using the Library¶
A user API is needed to access the CC3000 functions.
The PatchProgrammer code is an example of how the user API is implemented.
API documentation¶
Due to a little problem with the links on the mbed site, the API documentation is not directly accessible (will be solved in a next release).
Currently, it is only accessible by adding modules.html
to the API doc link: http://mbed.org/users/frankvnk/code/CC3000_Hostdriver/docs/tip/modules.html