Jump to content

Search the Community

Showing results for tags 'newbie'.

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


There are no results to display.

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Website URL





Found 10 results

  1. Hello, My name is Katy Radcliff basically from Illinois. I am new here to this forum and to this field as well. Came here to grab some good learning and practical stuff. Regards, Katy
  2. I'm new here, and I already posted my question in the technical area about cdc-acm issues and Linux
  3. Hi All Just started with the MSP430s and thought I would say hello. Its a bit of a learning curve coming over from the arduinos. Just having problem after problem at the moment dont know if its me or the board or my PC or a combination of the above lol. Any away I thought I would join the forums. Andy
  4. 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
  5. Hello All! This is my first post on this forum. So kindly excuse me if i do any faux pas! I am planning to shift to MSP430 after using arduino for long time. I have written a small code to read ADC value and when i press a button adc value gets stored in a variable. Now want I want is to make available this value even after microcontroller restarts. Can anyone tell me how to store variable in Non volatile FRAM? I am using MSP430FR5969 launchpad. I have looked into following examples but they are of not helping me. I am using Energia to program my launchpad. http://forum.43oh.com/topic/4148-reduce-startup-time-on-msp430fr5739/ http://e2e.ti.com/support/microcontrollers/msp430/f/166/t/258443 http://processors.wiki.ti.com/index.php/Creating_MSP430_FRAM_Variables_Using_CCS#Example_Test_Code
  6. Hi All, I'm excited to meet more of the makers in this forum. I've been playing with TI Launchpads for a couple of years now. Since my background is in wireless and AI, I've been connecting bluetooth and wi-fi radios to these things with some Android/iPhone applications. I've developed an open source virtual machine that enables programming via a simple pin oriented interpreted language(similar to wiring) from your smartphone and have started rolling out some application specific kits around this. You can checkout my projects on my blog. I'm joining this forum because I've been thinking about a new bluetooth motor control boosterpack and wanted to see what the interest level on this might be. BR, Leo
  7. Hi, Quite new to this forum and the Stellaris launchpad. I've faced a problem and not found any answers after hours of searching. I feel pretty stupid about this one, since it should be very basic. I've set up gcc on my linux desktop and have been able to run several examples and tested some of my own code without any problems. I want to do some temperature readings using a DS18B20 temperature sensor. I soldered a temperature sensor to PE4. The problem I face is that everything seems to hang once I set PE4 as GPIO input. I've stripped down my code to make it easier to debug, please have a look. #include "inc/hw_gpio.h" #include "inc/hw_memmap.h" #include "inc/hw_sysctl.h" #include "inc/hw_types.h" #include "driverlib/gpio.h" #include "driverlib/rom.h" #include "driverlib/sysctl.h" #include "utils/uartstdio.h" #define BLINK #define LED_RED GPIO_PIN_1 #define LED_BLUE GPIO_PIN_2 #define LED_GREEN GPIO_PIN_3 #define DELAY_MS(ms) {ROM_SysCtlDelay(ms * (ROM_SysCtlClockGet() / 3000));} #define DELAY_US(us) {ROM_SysCtlDelay(us * ((ROM_SysCtlClockGet() / 3000)/1000));} static char uart_input_buffer[128]; int main() { ROM_SysCtlClockSet(SYSCTL_SYSDIV_4|SYSCTL_USE_PLL|SYSCTL_XTAL_16MHZ|SYSCTL_OSC_MAIN); ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOF); ROM_GPIOPinTypeGPIOOutput(GPIO_PORTF_BASE, LED_RED|LED_BLUE|LED_GREEN); ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOA); ROM_GPIOPinConfigure(GPIO_PA0_U0RX); ROM_GPIOPinConfigure(GPIO_PA1_U0TX); ROM_GPIOPinTypeUART(GPIO_PORTA_BASE, GPIO_PIN_0 | GPIO_PIN_1); UARTStdioInit(0); UARTEchoSet(false); ROM_GPIOPinTypeGPIOInput(GPIO_PORTE_BASE, GPIO_PIN_4); ROM_IntMasterEnable(); UARTprintf("Welcome.\n"); UARTprintf(". . . . . . . . . . . . . . ."); for (; { #ifdef BLINK ROM_GPIOPinWrite(GPIO_PORTF_BASE, LED_RED|LED_GREEN|LED_BLUE, LED_BLUE|LED_RED); DELAY_MS(1000); ROM_GPIOPinWrite(GPIO_PORTF_BASE, LED_RED|LED_GREEN|LED_BLUE, LED_RED); DELAY_MS(1000); ROM_GPIOPinWrite(GPIO_PORTF_BASE, LED_RED|LED_GREEN|LED_BLUE, LED_GREEN); DELAY_MS(1000); #else ROM_GPIOPinWrite(GPIO_PORTF_BASE, LED_RED|LED_GREEN|LED_BLUE, 0); #endif } } The system seems to hang when I run this code. There is no output on the uart and the light is not blinking. If I remove the following line ROM_GPIOPinTypeGPIOInput(GPIO_PORTE_BASE, GPIO_PIN_4); everything is as expected. It looks like the same happens if I try to use any pin on port E or B, while port A and F works as expected. Any idea why this is not working? Thanks!
  8. Hello 430h family. I'm from ?stanbul/Turkey. I've just graduated from Electrical and Electronics Engineering at June and now I am a M. Sc student at Electronics and Telecommunications Engineering. At my bachelors degree, I've never interested in microprocessors or anything like that, I've just got a microprocessors lesson at bachelors but that's all, no application, no projects etc. But at my M. Sc class, I've got " Embedded Systems " lesson to learn that kinda things. And our lecturer said if you don't make an embedded systems project you SHALL NOT PASS So I think, for noobs like me, MSP430 Launchpad is ready to launch missile and easy to learn and implement something. Am I right or wrong? And I need your project advices coz I need to propose it to lecturer until 2 October. And I need to complete project until mid. December. Phew very whiny introduction. Batuhan
  9. So finally coded up my lm4970 project. And using a interrupt on switch p1.3, and tried to get LPM. Well, it didn't work. If I remove LPM, it works, but with a huge issue where it keeps looping, but still works. So the only problem is my main code, not the usi/i2c/lm4970 code. What I expect it to do: Initialize everything (Works)Go Into While LoopSwitch on State Variable Run given Case, Break out of Switch Enable Interrupts and Go to Sleep ( LPM4 + GIE )Sleep until Interrupt Interrupt Disables GIE and LPM4, Increases State Variable Exit Interrupt, reach end of While Loop, back to Switch Switch on State Variable, repeat Doesn't do that. If I remove the LPM4_Bits, so only GIE is set and disabled, the code works (I need to debounce in the interrupt, planning on using watchdog or simple delay). But since it never goes to sleep, the while loop keeps running, causing other issues. How can I fix this. In this given case, I could just have the switch/case in the interrupt, but I plan on doing some manual control that would not work well in it. Code below: #include "common.h" #include "i2c.h" #include "lm4970.h" // PB is P1.3 Pushbutton on Launchpad int lm4970_state = 0; // lm4970 State void cpu_init(void) { WDTCTL = WDTPW + WDTHOLD; // Stop WatchDog Timer BCSCTL1 = CALBC1_1MHZ; // Set range to 1mhz Calibrated Range DCOCTL = CALDCO_1MHZ; // Set DCO to 1mhz Calibrated DCO // SMCLK = DCO = 1MHz } void pushbutton_init(void) { P1SEL &= ~PB; // Set PB as GPIO (Part 1) P1SEL2 &= ~PB; // Set PB as GPIO (Part 2) P1DIR &= ~PB; // Set PB as Input P1REN |= PB; // Set PB Pull-Up/Pull-Down Mode P1OUT |= PB; // Set PB Pull-Up P1IES |= PB; // P1.3 Interrupt set for High to Low P1IFG &= ~PB; // P1.3 Interrupt Flag Cleared P1IE |= PB; // P1.3 Interrupt Enabled } // Port 1 interrupt service routine #pragma vector = PORT1_VECTOR __interrupt void Port_1_ISR (void) { // Clear Low Power Mode and Disable Interrupts to Allow MSP to handle commands before returning to sleep _BIC_SR(LPM4_bits + GIE); // _BIC_SR(GIE); lm4970_state++; // Increase LM4970 state by 1 if (lm4970_state > 9) lm4970_state = 0; P1IFG &= ~PB; // P1.3 IFG cleared } int main(void) { cpu_init(); i2c_init(); pushbutton_init(); lm4970_init(); // Setup Complete, now check state, run function, then go to sleep with interrupts while(1) { switch ( lm4970_state ) { case 0: // Off lm4970_shutdown(); break; case 1: // Regular Audio Sync lm4970_audio_sync(); break; case 2: // Randomized Audio Sync lm4970_random(); break; case 3: // Blue *snipped* case 9: // White lm4970_led_color(lm4970_state - 2); break; case 10: // Future Options, Like Color Fade Mode default: // Reset State, Turn Off lm4970_state = 0; lm4970_shutdown(); break; } _BIS_SR(LPM4_bits + GIE); // Low Power Mode x, Enable Interrupts // _BIS_SR(GIE); // Enable Interrupts } }
  10. Hello everyone. I always loved electronics ever since i was 14, i bought a msp430 launchpad 2 days ago on amazon (yes i over paid almost 3x TI prices) I am really looking forward to get this and have a few nice plans for this. I wanted to ask if there are any members here would like to help me with a few things, i am very new to electronic design and i only ever done scripting and programming only :-/. If anyone can help me with some basic questions i have please send me a Private Message/Inbox I hope you all have a wonderful day!
  • Create New...