This thread is dedicated to questions for the Internet of the Backyard challenge; Texas Instruments' staff will be monitoring it regularly.
Thanks!
This thread is dedicated to questions for the Internet of the Backyard challenge; Texas Instruments' staff will be monitoring it regularly.
Thanks!
Hi, TI!
I got stuck with a problem permanently storing programm on LAUNCHXL.
I can build the project, debug it. Wi-Fi connect LED blinks and in serial console I can see text coming.
When I run Uniflash and select oob.bin file to upload, it is uploaded. There are some other files that are present /sys/macadd.bin But after I reset the board and remove SOP2 jumper the board does not seem to run (no LED is blinking)
Janis.
Problem solved.
Lost half a day time on Uniflash.
I tried to add a new file to the project.
Needed to modify bin file used under sys/mcuimg.bin
In principle it is logical. That one just does not upload a progrsm file somewhere but to a already defined place.
Now can flash my programm and it executes from flash.
you can upload directly to the launchpad from CCS, does it work this way ?
I have not found how to upload programm permanently from the CCS. It remains only untill a reset.
Hi Janis,
it is correct, CCS can only upload the binary to the SRAM. But for real application, you need to flash the binary to the external flash on the Launchpad using the UniFlash. Later during boot, this image will be again copied by the bootloader to the SRAM to be executed.
Hi!
I have a question about energy saving mode.
In my application the board could sleep for 5 min and then wake up to send data.
I am trying to put CC3200 in hibernate mode (Examples Sensor_Profile and Hib) to reach the advertisized 1 year running time from 2xAA.
If I measure current across jumper J12 it is 0.2 mA (decreases to 20uA with extra 100k pull resistors soldered to the serial flash chip).
However the current drawn from 2xAA battery connector in hibernate mode is 0.64 mA with J13 removed (and unsoldered PWR and RESET LEDs).
There is boost regulator 3.3V chip U8. I suspect it consuming this extra current. (Or I2C chips?)
What is the purpose of boost DC/DC 3V3 U8? Is it supplied with a preproduction CHIP having a bug on the LAUNCHXL needing external DC/DC.
Coil L4 belonging to ANA_2 pins on the demo board is not populated.
With 0.6 mA could expect ca 3 months from AA cells but 20 uA would be great to have if possible.
Greetings,
Janis.
what is the part num of the boost regulator, if it is the same family as the ones used in the Battery Booster pack, then the same fix could be possible
See my review, it details the fix http://www.element14.com/community/roadTestReviews/1712
hope it helps
Regards
Peter
Hello!
I was struglling with CC3200 analog input ADC example. It was not working. Sometimes giving only erratic values, sometimes only zero ADC values. Only the timer bits increased as they should. Found a forum topic about this bug:
http://e2e.ti.com/support/wireless_connectivity/f/968/t/365450.aspx
http://e2e.ti.com/support/wireless_connectivity/f/968/p/354092/1243186.aspx#1243186
Need a line in while (forewer) loop uiIndex=0;
ADC on PIN_57 is not allowed by example. Why? It giving value around 1090 regardless if connected to GND or not.
ADC on pins PIN_58 and PIN_59 do not have resistors "dnp" on P3 header. (Actually resistors are on P1 header so one can connect signals there).
There is another strange thing. It ADC input is floating the voltage on it is 0.5 V. If pin_60 is tied to GND via 100k then voltage is 0.4 V.
Is there some pull-up on the pin that has to be additionally disabled?
I made a voltage divider using 100k and 1Meg. 0.1 uF cap at ADC input was necessary to prevent pickup.
I have changed example to a function that returns just 1 value read from CC3200 ADC. A delay was added between enabling ADC and readout allowing the input voltage to settle down. Without such delay the value was erratic.
----------------------------------------------------------------
float readADC(unsigned long uiAdcInputPin)
{ unsigned int uiChannel;
unsigned long ulSample;
//uiAdcInputPin=PIN_60;
PinTypeADC(uiAdcInputPin, 0xFF);
switch(uiAdcInputPin)
{
case PIN_58: {uiChannel = ADC_CH_1;}break;
case PIN_59: {uiChannel = ADC_CH_2;}break;
case PIN_60: {uiChannel = ADC_CH_3;}break;
default: break;
}
MAP_ADCChannelEnable(ADC_BASE, uiChannel);
MAP_ADCEnable(ADC_BASE);
MAP_UtilsDelay(800000);
if(MAP_ADCFIFOLvlGet(ADC_BASE, uiChannel))
{
ulSample = MAP_ADCFIFORead(ADC_BASE, uiChannel);
ulSample = (ulSample & 0x3ffc)>>2;
}
// UART_PRINT(" %d \n\r", ulSample);
return ulSample;
}
----------------------------------------------------------------
With CCS Uniflash what is the difference between the delete button and the erase tickbox.
I was expecting that the delete button deletes a file from my configuration list (i.e. opposite to the add file function) but I see that when I click on delete it also attempts to delete the file from the CC3200 as well, which I thought was the erase tick box function. As such how does one go about amending a configuration file (e.g. I was attempting to modify the oob ucf file and only include the files I was using) without deleting the file already flashed on CC3200.