Jump to content

Search the Community

Showing results for tags 'LaunchPad'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • 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

Calendars

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Location


Interests


Sparkfun


Github

Found 152 results

  1. Hi all! We are using Tiva C series MCUs (TM4C1294XL and TM4C123GXL) for a project in IICDC 2019 but we are facing problems while implementing Controller Area Network protocol (CAN Protocol) using them. I've attached the basic code for sending messages via CAN protocol form one MCU to other but the problem is, it is not doing so as a message sent from one MCU is received by itself and not by other MCU in the network. We've tried using the filters as well but no progress. Any help would be really appreciated. P.S. - Do we require an extra CAN transceiver boosterpack for these modules? dph_CANExamplePolled.ino
  2. Has anyone else experienced something like this? I have been using Energia on Windows for years on various LaunchPads, including 430, 432, and Stellaris (now Tiva). The Windows 10 PCs are a Surface Pro 3, a Toshiba Satellite, and an HP Pavilion. Over the last few months, builds and uploads fail in multiple ways unpredictably. The Serial Monitor often doesn't work, even when the TX pin has the correct signal (verified with an oscilloscope decoder). Often the fix is simply to click the Upload button over and over until it works. I've changed to shorter USB cables and switched from USB 3 to USB 2. Sometimes the problem is fixed by restarting Energia or rebooting the PC. It never stays fixed. I've had the same kinds of issues on older versions of Energia, but the code I'm currently developing won't compile if I go back too far. So I'm sticking with the latest version, 1.8.7E21. I've searched the forum for this, but haven't found anything like it. It is possible I just don't know what to search for, so I would be grateful for pointers. I don't want to go down the rabbit hole chasing one of these specific error messages just yet. I suspect the problem is caused by Windows and Java updates, but I have had no problems with Arduinos (UNO, Mega2600). BTW, I have no problems with Energia 1.8.7E21 on an older desktop running Windows 7.
  3. Hello. I have been trying to create a serial link between the Launchpad (based on tm4c123gh6pm) and my cellphone. The code is very simple for testing purpose. Here is it: /* This is a demo code for testing Bluetooth functionality ->The peripheral used here was a smartphone; and to obtain the values of 'i' on the terminal of the device, the "display mode" setting must be changed to ' HEX' ->The code doesn't work properly on when the pin 10 and 11 are used as RX and TX ->It has been successfully tested to send the values of i to the Rx terminal and receive the characters sent from there. */ int i=0; void setup() { Serial.begin(9600); Serial.print("Welcome "); } char data_from_Blue=0; //String rx_str = ""; void loop() { for(i=0;i<10;i++) { if(Serial.available()>0) { data_from_Blue = Serial.read(); // reading the data received from the bluetooth module/the peripheral (phone here) Serial.println("I received: "); Serial.println(data_from_Blue); //Serial.println(rx_str); //display it on serial monitor i.e,the reading has been received here!! } Serial.write(i); //Print incrementing value of 'i' across the other terminal(i.e, my cellphone) delay(1000); } } The code works fine for Arduino+HC05 and MSP430G2 Lauchpad Kit+HC05. But for TIVA Launchpad mentioned above, the serial monitor simply displays garbled values with '?' within boxes. I have tried almost everything. Please help me.
  4. Simple demo code that uses FR5969 Launchpad to set an AD5160 10k digital potentiometer in 1k increments. Device communication via SPI and control with a serial terminal program. Implemented with registers and interrupts. Link to github repo: https://github.com/microphonon/AD5160
  5. mph

    Bosch Sensortech BME280

    The Bosch BME280 pressure-temperature-humidity sensor is very popular for projects because there are breakout boards available from Adafruit and Sparkfun as well as a large library of code to interface it to Arduino MCUs. Not so much for the MSP430, especially transparent code to understand what is happening at the register level. I have written and tested some demo C-code that hopefully fills that gap. It sacrifices generality and efficiency for compactness and transparency. I use the F5529 Launchpad and communication with the sensor is via SPI using the UCB0 module. I2C is also available for the BME280 but not implemented here. Temperature and relative humidity (no pressure) data is obtained using the forced mode with periodic polling by the MSP430. Sensor and MCU are in low-power sleep modes when not active. Data is streamed to a terminal program that is interfaced to the Launchpad via serial UART. Each BME280 has unique trimming parameters that must be retrieved and properly parsed to convert the raw data. This process is quite complicated, so separate functions were developed to handle them and placed in an include library. My IDE is CCS 6.1.3 with nofloat printf support. This code should work directly in the MSP430x5xx and MSP430x6xx families. Other MSP430 series such as FR and value-line will need to make appropriate module/register modifications. Link to github is here: https://github.com/microphonon/BME280
  6. I am preparing to purchase equipment for a student lab and am heading towards the SimpleLink MSP432 Launchpad (to have wiFi integrated and avoid a wifi boosterpack). To make the lab interesting the EDU Booster pack looks good (switches, joystick, light/temperature, LCD, servo motor controller) but this course traditionally also makes use of stepper motors and keypad, so that leads me to to think that I want to buy the Launchpad plus 3 boosterpacks: EDU + stepper + keypad. Can I use 3 boosterpacks on a single launchpad (all at one time)? Thanks.
  7. Rei Vilo

    Energia FAQ

    Some topics come aver and over again. Here are the most frequent questions. Wouldn't be nice to have all of them in one single place? Listed questions: Netiquette for Newbies What Information to Provide When Asking for Help I²C Check-List Porting an Arduino library to Energia Use Pins Number instead of Pins Names with Energia Add a New Board to Energia LaunchPad and BoosterPack Pins Maps Boards Supporting the Galaxia Library Netiquette for Newbies What Information to Provide When Asking for Help I²C Check-List Porting an Arduino library to Energia
  8. zainmsp

    msp430g2553 with cc1101

    Hi All, I am trying to create a transmitting and receiving node. My setup is as follows My transmitting node #1 is mbed-K64F with cc1101.(working fine sending data) My transmitting node #2 is msp430g2553 with cc1101.(giving me challenges) My receiving node is mbed-lpc1768 with cc1101 (working fine and received data from node #1) my connection for msp430 are as follows: csn is at pin 8 sck is at pin 7 mosi is at pin14 miso is at pin 15 I just declare csn as output, the rest of the pins i assume gets configured when we call spi.begin()? I imported the cc1101 library from mbed and managed to convert and compile it without errors. However I am still struggling to send the message to receiving node. My logic is as follows: initialize SPI library (1 MHZ of frequency,SPI msb datamode and SPI_mode0) initialize registers of cc1101 send data after every 4 seconds I used Serial.println to debug my program and I can see it is calling the spi_send function in usci_spi.cpp file but i cant see any packet in the receiving end. Almost same logic and code is running on k64f, even my print statements are giving me same values of registers,addresses and data. But msp430 is not sending data mbed-k64f is sending data. Anyone got a joy to successfully sending the data with msp430g2553 please help!!! I have also attached my cc1101.h/cpp files. Please feel free to have a look and let me know if I am doing anything wrong. thanks in advance, Zain CC1101.cpp CC1101.h
  9. Hi All, I am new to msp430 world, so far i have done many projects with mbed (LPC1768,KL25Z and K64F). I liked mbed as it is so easy to use, however to make cost efficent and low power products i am now trying to learn msp430. I want to interface msp430g2553 with cc1101 transceivers. I have done the basic communication using mbed(like sending and receiving data). However I need some help with msp430. I want to use msp430 as transmitter first and receive data on mbed-lpc1768. I have converted the mbed library to msp430(changed syntax where required) and managed to compile it with no errors. However when i am calling send function it is not sending data, can anyone tell me how to set frequency to 1MHz. do I need to divide by 16 in set clock more or with 4. Anyone who has done similar project in energia please provide some assistance. thanks in advance, Zain
  10. Rei Vilo

    I²C Check-List

    Check the usual suspects: Is the I²C bus initialised? Wire.begin(); Does the I²C device run at 3.3V? Otherwise, use a logic-level converter. Are pull-ups installed? Try 10, 4.7 or 2.2 kΩ for the SDA and SCL lines. In case the LaunchPad provides multiple I²C ports, is the correct port selected? Try Wire.setModule(0); // or other port number Wire.begin(); Still nothing? Use a logic analyser to trace the signals on the I²C port. (To be continued...)
  11. agaelema

    MSP-EXP432P111

    Hi guys, The new Launchpad MSP-EXP432P111 was released some days ago. I bought one and it arrived today . The board use the XMS432P1111 (pre-production version of MSP432) microcontroller, a Cortex M4 with 48MHz, 2MB of flash, 256KB of SRAM (very impressive), 14bit ADC and many other peripherals, like the LCD driver. Apparently, the LCD is the same of other launchpads (eg.: EXP430FR6989), very interesting to understand how to use the LCD driver and develop some projects. The Out-of-Box demo has two modes: - Blink LED, where you can controll the frequency of blink pressing the button S1 and controll the color by pressing the button S2. - Temperature mode: Show the temperature based in the internal sensor (pressing S2), or based in an external temperature sensor (pressing S1), a LMT70, but it's necessary to put a jumper in R8, powering the sensor. There is a online GUI enabling to control other parameters like special characters in the LCD. The finishing of PCB's is impeccable, as always.
  12. hi, I am new here, I purchased launchpad tm4c123gxl for learning purpose,can anyone help me from where i can start? I have good internet access and laptop. Thanks for help
  13. Hi , I am using MSP430FR4133LP , in energia the GPIO pins are predefined in the pins_energia.h for MSP430FR4133 LP based on the silkscreen on the board. I using this MSP430FR4133 chip for another project and in that i am not using a LCD so i thought that i can also use LCD pins as GPIO. For this purpose i need to add the pins in the pins_energia.h but i am not able to crack it. Can anyone help me with this ....? if i try to use any other pins other than the defined ones (say P2_2) ... it throws an error as " P2_2 not defined in the scope" // Pin names based on the silkscreen // static const uint8_t P1_0 = 4; static const uint8_t P1_1 = 3; static const uint8_t P1_2 = 24; static const uint8_t P1_3 = 13; static const uint8_t P1_4 = 12; static const uint8_t P1_5 = 11; static const uint8_t P1_6 = 18; static const uint8_t P1_7 = 19; //static const uint8_t P2_0 = ; //static const uint8_t P2_1 = ; //static const uint8_t P2_2 = ; <------ What should i do in order to add this pin static const uint8_t P2_3 = 22; static const uint8_t P2_4 = 21; static const uint8_t P2_5 = 8; static const uint8_t P2_6 = 25; static const uint8_t P2_7 = 5; //static const uint8_t P3_0 = ; //static const uint8_t P3_1 = ; //static const uint8_t P3_2 = ; //static const uint8_t P3_3 = ; //static const uint8_t P3_4 = ; //static const uint8_t P3_5 = ; //static const uint8_t P3_6 = ; //static const uint8_t P3_7 = ; static const uint8_t P4_0 = 23; //static const uint8_t P4_1 = ; //static const uint8_t P4_2 = ; //static const uint8_t P4_3 = ; //static const uint8_t P4_4 = ; //static const uint8_t P4_5 = ; //static const uint8_t P4_6 = ; //static const uint8_t P4_7 = ; static const uint8_t P5_0 = 17; static const uint8_t P5_1 = 7; static const uint8_t P5_2 = 15; static const uint8_t P5_3 = 14; //static const uint8_t P5_4 = ; //static const uint8_t P5_5 = ; //static const uint8_t P5_6 = ; //static const uint8_t P5_7 = ; static const uint8_t P8_0 = 6; static const uint8_t P8_1 = 2; static const uint8_t P8_2 = 9; static const uint8_t P8_3 = 10; //static const uint8_t P8_4 = ; //static const uint8_t P8_5 = ; //static const uint8_t P8_6 = ; //static const uint8_t P8_7 = ; //static const uint8_t PJ_0 = ; //static const uint8_t PJ_1 = ; //static const uint8_t PJ_2 = ; //static const uint8_t PJ_3 = ; //static const uint8_t PJ_4 = ; //static const uint8_t PJ_5 = ; //static const uint8_t PJ_6 = ; //static const uint8_t PJ_7 = ; These are the pin definitions that are already in the pins_energia.h based on the silkscreen. If i want to use a pin (say P2.2) what must i do in order to define that pin in the pins_energia.h file ?? thank you in advance.....
  14. Hi, I am trying to implement Modbus RTU slave over TCP/IP using TIVA Tm4c1294 connected launchpad. The code has been successfully tested using Arduino. However, when I use the same code in energia, the launchpad gets pinged, but Modbus RTU does not work . Is there any library, hardware configuration which I need to change while migrating fro Arduino to TIVA? MgsModbus_test_Slave.rar
  15. grantf

    MSP430FR2433 with Energia

    Hi, I am trying to connect my MSP430FR2433 Launchpad to Energia. I do not see how to select this board in the "Tools -> Board" setting, and I do not see how to download the drivers for it in the board manager. Yet on the homepage of energia.nu, it states that support for this board is available. Does anyone have any suggestions on how to get this board to work in Energia? Thank you. -Grant
  16. hi, I am using a MSP430FR4133 launchpad, i am trying to get a float value and send it via sim800. for that i hve to convert the float value to char* or char array. I have tried many conversions but i am not able to get the conversion properly. Even if i get it properly while printing it on the serial. The data is not transmitted in the right format through sim800. for example if i use dtostrf( buff , "%f" , flaotVal); function in serial monitor only "%f" is getting printed. and if i try other type of convertions , while transmitting through sim800 the right side part of the float value gets added to the decimal values . have tried ( itoa(), sprintf(), etc..) for example .. float value = 1.25. and if i tried converting and printing it on serial monitor i am getting it corrrectly as "1.25" . But when i am trying to transmit through sim800 the converted float value is sent as "0.125" instead 1.25 . Can anyone help me with this?.
  17. Hi guys, To train the use of some macros I decided to update/improve a 16x2 lcd library (HD44780) that I adapt many years ago. Possible there are other libraries shared here, but I liked how I managed the configuration of ports and pins using some macros. The use of macros made the library more versatile and easy to adap to new projets without the need to change tons of code lines. The same simples example of use is runnig on MSP430G2553 (old value line launchpad) and MSP430FR2433 (the new value line launchpad). I hope it's useful. https://github.com/agaelema/LCD16x2_MSP43x
  18. Hi Guys Your drawing/jpeg link on page http://energia.nu/pin-maps/guide_cc3200launchpad/ is broken. can someone pls point out the pin numbering for the cc3200 launchpad for me with regards to digitalRead() ? I found this diagram in the cc3200 hardware document. Would one then just use digitalRead(57) for pin P3-3? Secondly, does anyone know what registers to read if you want to read all the bits at once? For example in the arduino you could just read PORTD ? What are the registers for the cc3200 on the launchpad? Many thanks Paul
  19. Hi, The new MSP430FR2433 ValueLine Launchpad is with a promotional price. https://e2e.ti.com/blogs_/b/msp430blog/archive/2017/11/08/introductory-price-of-4-30-for-msp430fr2433-mcu-launchpad-kit?HQS=epd-mcu-msp-vline-fb-blog-LPdiscount-wwe&hootPostID=97a463d63a1e96cbf999f3c7a33c703e It seems to be a good replacement to the old ValueLine G2
  20. See related issue at
  21. Hi All, I am trying to measure some timing properties of a protocol I have written that uses the EasyLink library. I was using micros() before and after I perform a send, which also waits for an acknowledgement. In addition to capturing micros() I am toggling a pin so I can see how long the event takes on the scope, and when the corresponding events happen on the other CC1310. micros tells me the event took ~1400uS, however I measured about 33ms on the scope, I then replaced micros with millis() in my code and I am getting 33ms from that as well. I would really like to be able to measure with sub ms accuracy, but micros just seem to report the incorrect value. Can anyone offer any assistance with how I can get micros working properly with the CC1310 LaunchPad? Regards, -Steve
  22. Hi, Wondering if anyone can confirm if the MSP430 source code listed in this article can indeed be used with Energia (IDE and library) ? Idea being mixing Energia library for AnalogRead and SPI data sending capability. Also, I'd like to use the LP with MSP430G2553 to perform ADC for 6-8 channels, and convey the same to RaspberryPi over SPI using this mechanism. Given the very limited RAM on MSP430G2553, what is the likelihood of being able to squeeze in such functionality along with the SPI communication ? Pointers to any existing projects at achieving similar goals, would be highly appreciated. regards, BD
  23. Chyavan

    msp430fr5994 launchpad

    Is msp430fr5994 launchpad supported by any realese of energia ? I searched in boards section and couldn't find. Is there any patches to make it work ? Or it's not supported ?
  24. maelli01

    Solar power display

    An output power display for my solar system. G2553 Launchpad, Blue 4-digit LED display, RS485 Transceiver SN65HVD12P (a low power, 3.3V version of the standard SN75176), this is all there is. All pins are used, 4 + 7 for the multiplexed LEDs (no resistors: Blue LED, 3.6V supply, output resistance of the pins limit the LED current) 3 pins for UART and send/receive for the SN65. 2 pins for 32768Hz xtal (I had this one soldered in on the LP, so why not use it) The MSP asks the inverter over RS485/Modbus "what is your current output power". After less than half a sec, the inverter aswers with the required value. This repeats every 2 seconds. The inverter is a Fronius Symo, with Datamanager 2 (which I guess is an embedded linux machine, covering LAN, Wifi, Modbus.....). The communication protocol can be downloaded from the Fronius website (after signing in), so no reverse engineering was required. Instead of only power, I could also display line voltage, frequency, total delivered energy.... This is just a working prototype on Launchpad, I will do a PCB later, I also plan to power this directly from the inverter (which has a 12V solar powered output for such things). See the picture, almost 7.5kW :-)
  25. I designed a board using a MSP430G2553IPW28R its the 28 pin tssop package. I read on this forum that you can use the launchpad to program the part I have some code written and can program a 20 pin device but when i connect the wires to my board from the launchpad is cant find the device or its not there. Error connecting to the target: Could not find device (or device not supported) I used CCS and just for the hell of it did the MSP-EXP430G2-LaunchPad User Experience Application example which programs just fine but i get the same error when plugged onto my board. Here is how i connected the part to the launchpad. Yes 20 pin IC removed from launchpad. I am at a loss. My board is powered from its own 3.3v supply and the grounds are common. The ground is always connected between the launchpad and the proto board. for testing i just remove/reconnect the 2 spy-by-wire pins and add/remove the 20 pin g2553 for testing the output. The 28 pin parts are new from mouser and i have 2 boards that i built that do the same thing. Any help would be nice
×