Search the Community

Showing results for tags 'programming'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • News
    • Announcements
    • Suggestions
    • New users say Hi!
  • Spotlight!
    • Sponsor Spotlight
    • Sponsor Giveaways
  • Energia
    • Energia - MSP
    • Energia - TivaC/CC3XXX
    • Energia - C2000
    • Energia Libraries
  • MSP Technical Forums
    • General
    • Compilers and IDEs
    • Development Kits
    • Programmers and Debuggers
    • Code vault
    • Projects
    • Booster Packs
    • Energia
  • Tiva-C, Hercules, CCXXXX ARM Technical Forums
    • General
    • SensorTag
    • Tiva-C, Hercules, CC3XXX Launchpad Booster Packs
    • Code Vault
    • Projects
    • Compilers and IDEs
    • Development Kits and Custom Boards
  • Beagle ARM Cortex A8 Technical Forums
    • General
    • Code Snippets and Scripts
    • Cases, Capes and Plugin Boards
    • Projects
  • General Electronics Forum
    • General Electronics
    • Other Microcontrollers
  • Connect
    • Embedded Systems/Test Equipment Deals
    • Buy, Trade and Sell
    • The 43oh Store
    • Community Projects
    • Fireside Chat
  • C2000 Technical Forums
    • General
    • Development Kits
    • Code Vault
    • Projects
    • BoosterPacks


  • Community Calendar

Found 10 results

  1. The CC1310 board option in Energia assumes that I am using the CC1310 Launchpad. The launchpad uses the CC1310F128RGZ, but I actually am using the CC1310F64RHBT. This means that the board is assuming it has more flash and RAM than it actually does. I want to edit the boards.txt file to match with the specs of my chip but I cannot find the correct numbers for my chip. There is also an issue with the pin mapping, because the F128RGZ has 48 pins while the F64RHBT has 32. Here the boards.txt for the CC1310 launchpad that needs to be adapted for the CC1310F64RHBT: menu.cpu=Processor LAUNCHXL_CC1310.vid.0=0x2341 w/ cc13xx EMT (48MHz) LAUNCHXL_CC1310.upload.maximum_size=16384 LAUNCHXL_CC1310.upload.maximum_ram_size=2560 LAUNCHXL_CC1310.upload.tool=dslite LAUNCHXL_CC1310.upload.protocol=dslite LAUNCHXL_CC1310.upload.maximum_size=131072 LAUNCHXL_CC1310.upload.maximum_data_size=8192 If anyone could help me adapt my boards.txt file or let me know where I can get these numbers, let me know. I have tried inputting 64kb for flash and the other appropriate values, but it didn't work because I assume the values have to line up perfectly with the chip's memory sectors and the memory map. Thanks, Cameron
  2. I'm trying to use a Launchpad 430 to program a board that has an MSP430G2553IRHB32R. I am doing this on a Windows 10 machine. I've removed the jumpers on the Launchpad and connected VCC and Ground to the other board. I've also connected RST and TEST pins. I created a simple blinky sketch which runs just fine with a stand alone Launchpad 430. However, when I attempt to program my custom board with the same code, I get the following error. MSP430_GetNumberOfUsbIfs MSP430_GetNameOfUsbIf Found FET: HID0003:COM5 MSP430_Initialize: HID0003:COM5 Firmware version is 20409001 MSP430_VCC: 3000 mV MSP430_OpenDevice tilib: MSP430_OpenDevice: Could not find device (or device not supported) (error = 4) tilib: device initialization failed the selected serial port tilib: device initialization failed does not exist or your board is not connected I have selected the MSP-EXP430G2553LP board and COM5. I cannot seem to get it to program my other board. I've tried several different USB cables. Used 2 different computers and 2 different Launchpads. I even attempted to program a different custom board that I had been able to program before. I'm using the latest version 18 of energia. Can somebody point me in the right direction as to how to solve this problem and be able to program my custom board? After that, does anybody know what I need to do to get the board.txt and pins file set up to work correctly with my 32 pin MSP430G2553... chip? Thanks for the help, Curtis
  3. Hi, I'm new to MSP430, I'm using a MSP430G2553 in a project and need help with an in depth understanding of programming the ADC10 inputs of the MCU. I'm using a potentiometer in order to light one of 3 LEDs. For example, LED1 lights up when input voltage is 1V or less, LED2 lights up between 1V and 2V and LED3 lights up when the input voltage is greater than or equal to 2V. I have attached my code below but I am not clear on how to read, convert and store a voltage so that I can use the IF statements to light the respective LEDs. #include <msp430g2553.h> void indicator_LED(); int main(void) { unsigned int i; WDTCTL = WDTPW | WDTHOLD; // Stop watchdog timer P1DIR = 0x00; P2DIR = 0xff; P1OUT = 0x00; P2OUT = 0x00; while(1) // keep looping { ADC10CTL1 = CONSEQ_2 + INCH_0; // Repeat single channel, A0 ADC10CTL0 = ADC10SHT_2 + MSC + ADC10ON + ADC10IE; // Sample & Hold Time + ADC10 ON + Interrupt Enable ADC10DTC1 = 0x0A; // 10 conversions ADC10AE0 |= 0x01; // P1.0 ADC option select ADC10CTL0 |= ENC + ADC10SC; // Sampling and conversion start __low_power_mode_0(); //__bis_SR_register (CPUOFF + GIE);// LPM0, ADC10_ISR will force exit if (ADC10MEM <= 0x228 && ADC10MEM > 0x1D6) { P2OUT = P2OUT | BIT1; for(i=0;i<=1;i++); } else if (ADC10MEM <= 0x1D6) { P2OUT = P2OUT | BIT2; for(i=0;i<=1;i++); } else if (ADC10MEM > 0x228) { P2OUT = P2OUT | BIT0; for(i=0;i<=1;i++); } else { P2OUT = ~P2OUT; for(i=0;i<=1;i++); } } }
  4. I have planned to use cc430f5133 for my project.Please tell me the cheapest programmer available in india for programming this IC.
  5. Hello! This is my first post, I'm a new board member. I have searched the forum for examples relating to my question and haven't found anything that's quite like what I'm looking for, so here goes. I am trying to build a system where a switch can be flipped on one board and it lights up an LED on another board. I have used the WirelessControl example program to verify that my boards are working and they do. I would like to just modify WirelessControl because it's a relatively simple program and it's already doing what I need the boards to do. The WirelessControl example program requires the pushing of P1.3 in order to light up the red led on the opposite board. What I would like to do is instead of a button needing to be pushed, I'd like to wire up a switch that can just be flipped on. Once the switch is flipped it sends a constant TX signal and lights up the LED on the opposite board. Once the switch is flipped back to off, the corresponding red led should turn off. My question is which pins can I connect a switch to in order to accomplish this. And I would like to wire up a different LED on the other board so that the LED can be installed in a location away from the actual board. Programming questions: how to change the code in WirelessControl to accept a different input as the TX signal and how to configure the program on the other board to light up a different LED in response to RX. Thanks for all your help with this! Current hardware: MSP430 Launchpad with MSP430G2553 Anaren 430Boost-CC110L AIR module BoosterPack
  6. Hello! I recently bought a MetaWatch FRAME, with the intention of messing around with it as an inexpensive, portable MSP development platform. Meta open-sourced the watch's firmware and *used* to sell JTAG programming clips for the watch. Now, however, they've discontinued both my model of watch and its programming clips, and I'm out some cash on a less-than-fully-functional smartwatch. The watch uses an MSP430F5438A microcontroller and is programmable using the Spy-Bi-Wire protocol, according to this SparkFun teardown. I found the sticky post about programming MSPs with Launchpads, but I was wondering if anyone had tried programming a F5438A (or a complete MetaWatch, for that matter) with one. I'm new to the MSP chips, so if anyone had any suggestions I'd greatly appreciate it. Thanks, John
  7. Temboo (I work there!) has just released a powerful new addition to our Internet of Things programming platform, enabling you to build production-ready IoT applications with your MSP430 in minutes. Please check it out and let me know if you have any questions.
  8. Hi all I am new to TI environment, before this all of my projects were based on Arduino. I have developed one circuit with 5969 launchpad its working fine. Now I want to make it my own custom pcb for my application. I wanted to know by keeping two test pins for Spy Bi Wire on my pcb can I program my micro controller with help of my launch pad? And/Or which is best practice for ISP programming MSP430 micro controllers?
  9. Hi all, just introducing myself! I was introduced to the msp340 in a computer programming class I am currently finishing up and I can say it has been eye opening. We have gone from the hardware level to assembly programing to higher level C programming. Coming from the arduino its cool to learn just what happens behind the scenes of the compiler/ programmer and realize just how inefficient some programs can be though they look basic in the higher level languages. Anyway, thats my rant, I'm looking forward to posting a recent project of mine here soon. Until then, have a wonderful day!
  10. Hello, i bought my msp430 about 6~ months ago, i bought it because i liked the price 4.30$ is really good for a dev board, and now im looking at arduinos, of course i dont want to spent 25-30$ on a board and have been reading about buying just the chip and some other components , slap it on a breadboard and using it that way but the problem is that the atmega328 and pretty much any chip needs to be burned with a bootloader, i read that it could be done from another arduino, but can i do it from an msp430?