Other Parts Discussed in Thread: UNIFLASH, , CC3200
Tool/software: Code Composer Studio
Hi,
I am new to the TI, simple link, its tool chain as well as the wifi enabled ioT, am looking at getting an application started. I have been through the device reference manual, simplelink academy, Uniflash tool usage etc. I did use the httpget example to get contents of txt file off a http server I hosted successfully using the CC3220SF-LaunchXL demo board and am keen to pursue the end application solution using this device and tool-chain. Need advise on a few questions.
I am looking at using the CC3220SF-LaunchXL to prototype for a headless device.
The reason for this chip is that it offers separate M4 MCU offloading the simple link wifi stack as I understand from block diagram uses another MCU.
The prototype device needs connectivity to an iOS/Andriod app, It does not need any data storage on the web, only a couple bytes of status with their date and time stamps, that needs to be updated both by the device and the app. The device is battery powered and needs to optimize on power usage.
The hardware resources required are as follows:
a. 2 DMA fed PWMs outputs with a PWM frequency of about 400kHz.
b. 2 regular pwms.
c. 2 ADC channels feeding DMA,
d. 2 GPIO's configured as inputs to wake up application mcu out of HIB mode.
e. 1 I2C channel i.e. SDA SCL
Also, I would like to keep the debugging serial interface and a couple of LEDs but am ready to part with other peripheral configurations. BTW is the SPI needed for the EEPROM that saves the SSID's? In that case it will have to remain.
I downloaded the new 3.10 SDK to open the httpget using the syscfg_preview, however, when I choose CCS compiler, project, it does not open the common.syscfg correctly. I found that the gcc compiler project does open the .syscfg file.
Question1. In the common.syscfg, most of the resources are already allocated and there is no scope of adding any hardware resources per my requirement, I am not clear on the existing assignments and whether they are required for the core application i.e. httpget to function. How do I figure what resources can I re-assign to achieve my requirement above. Or should I resort to the CC3200 and use an external host mcu?
Question2. I am thinking of using the httpget example with an idea that I could use httpget and httppost to get and set data on a hosted http server by both the device and the iOS/Andriod app. Is hosting http server the correct/optimal connectivity option? A server feels like an overkill for few byte exchange. Can use this device as a server itself? Serial Wi-Fi example? In this case, how can the user configure it to connect to an AP? i.e. how do I change the serial wi-fi example to perform provisioning i.e. act as and AP and connect as a station once provisioned? Is there a third option? besides the httpget/ Serial Wi-fi? Of course some basic security should be enough. Latency of couple of seconds is not an issue.
Kindly advise.
SM