Search the Community
Showing results for tags 'msp430G2553'.
-
?Hello, I am trying to upload a "Blink" program to my MSP-EXP430G2. I have no problems uploading code successfully through Code Composer Studio. But if I try to update the same code through Energia, it won't work. The error message is: usbutil: unable to find a device matching 0451:f432 An error occurred while uploading the sketch I have checked that the port number and board are correctly selected. Could anyone offer any help troubleshooting this? I want to use Energia over CCS, mainly so I can quickly and easily get a read-out of the serial port. But if anyone knows of an ea
-
Ok, so I've changed over to an MSP430G2553IRHB32R Controller. This is in the QFN 32 pin package. According to it, P1.6 is for SCL I2C and P1.7 is for SDA I2C. On the 20 pin board, they are pins 14 and 15. On the 28 pin board they are pins 22 and 23. On the 32 pin board they are pins 21 and 22. So, I'm trying to use the simple I2C Scanner and get nothing. I have 2 I2C devices attached, but cannot see either of them. There have been many posts about inserting a Wire.write(1); command and copying updated files into the system. I'm using the latest Energia 18 on a Windows 10 ma
-
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: 30
- 2 replies
-
- MSP430G2553
- Energia
-
(and 6 more)
Tagged with:
-
Hi everyone! I'm new here and I'm pretty new with MSP430 as well. I have been working on a project that measure vibration using accelerometer (ADXL362) and send the information by RF using nRF24L01. I had successful doing this using ADLX345, but I could not do it with ADXL362. The nRF2401 it's working well. Anybody can help me? Follow the code: #include <Enrf24.h> #include <nRF24L01.h> #include <string.h> #include <SPI.h> Enrf24 radio(P2_0, P2_1, P2_2); // P2.0=CE, P2.1=CSN, P2.2=IRQ const uint8_t txaddr[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0x01
-
Edit 09.12.2016: I added Arial_16x24.h and Arial_24x40 (really a 24x36, but I had to keep a multiple of 8), digits only, created with GLCD Font Creator (I had to edit the result slightly manually). See images below. So I can confirm that adding any further fonts created with GLCD Font Creator works (I run it on Linux on wine BTW) and is only limited by how much fits into the SSD1306_OLED_5x8_11x16_16x24_24x36_fonts.zip
- 9 replies
-
- OLED
- MSP430G2553
-
(and 1 more)
Tagged with:
-
After making the wearable MSP430 for Halloween this year I was requested to make more for a children's dance group. I have a question, but first some background. This is the latest version: Everything works fine. I use an adapter with pogo pins to program it as shown in the photo. There are three LEDs on the PCB, a push button switch for the user, and more accessible pins than the previous version. Parts are TSSOP and 0805 SMD. Snap fasteners and stainless thread can be used to connect it to LEDs on the costume. A CR2032 coin cell is used to power it (coin cell holder is on the backsi
-
on MSP430G2553 mounted on launchpad I have a problem with converting an integer to a String: uint8_t x=10; uint8_t y=10; String xx = String(x,DEC); String yy = String(y,DEC); Serial.println (xx); Serial.println (yy); with Energia Vers 0101E0012 the result is 10 for xx and 10 for yy but i will to use Energia V17 to use LMP4 mode . the result is garbage for the two converted value --> xxx (three characters) then CR then xxx(garbage three characters) the other problem with Energia V 18 , i can not reprogram the chip (on Windows 9) error is : unable to find a devic
-
on MSP430G2553 mounted on launchpad I have a problem with converting an integer to a String: uint8_t x=10; uint8_t y=10; String xx = String(x,DEC); String yy = String(y,DEC); Serial.println (xx); Serial.println (yy); with Energia Vers 0101E0012 the result is 10 for xx and 10 for yy but i will to use Energia V17 to use LMP4 mode . the result is garbage for the two converted value --> xxx (three characters) then CR then xxx(garbage three characters) the other problem with Energia V 18 , i can not reprogram the chip (on Windows 9) error is : unable to find a devic
-
Good morning, I'm using the latest Energia 18 build with Windows 10. I'm plugged into an MSP430 Launchpad with an MSP430G2553 chip on the board. The following code hangs on the Wire.endTransmission() statement.. Can somebody throw me a bone here and tell me how to fix this? int findAddress(int fromAddress, int toAddress) { int address = 0; for (int a = fromAddress; a < toAddress; a++) { Serial.print(a); Serial.print(" - beginTransmission.. "); Wire.beginTransmission(a); // delay(3); // Wire.write(1); Serial.print(" e
-
Nick Gammon published an interesting post on using SPI on 16 MHz Arduinos to run WS2812 LEDs (aka neopixels) at: http://gammon.com.au/forum/?id=13357. He also provides a link with a lot of information about the NRZ protocol used by the WS2812 and tolerances: https://wp.josh.com/2014/05/13/ws2812-neopixels-are-not-so-finicky-once-you-get-to-know-them/. The tolerances are actually quite a bit looser than what I previously believed. So, I set out to do something similar with Energia and LaunchPads running at different speeds. Spoiler alert: It works. The previously linked articles provid
-
I would like to be able to program some MSP430G2553's with my MSP430G2553 Launchpad. Anyway one board is 25 pin and the other is 28 pin. Energia seems to only support the Launchpads for MSP430. How do I add the following boards to the List? MSP430G2553IRHB32R (25 pin) MSP430G2553IPW28 (28 pin)
- 3 replies
-
- MSP430G2553
- Board Support
-
(and 1 more)
Tagged with:
-
I am using the latest version: energia-0101E0017. I just reloaded it from Energia's website this morning. It is their December 2015 version. I am using the latest CCS version 6.1.3. I installed a fresh version of that a couple days ago and have applied all the updates I could find. Using the very popular I2C_Scan tool, I get bad results. I either get all addresses telling me there's a device there, or if I do a write(0); between begin and end transmission, I get no devices... See brief code snip below: void findAddress(int fromAddress, int toAddress) { for (int a = fromAddres
-
Hello - here is my example sketch that i did for another project - after i got it finished - i realized that i should share it because i could not find complete example like this on my own previously which included using the analog input to measure position of the arm - maybe it saves someone else a few minutes L298N_Motor_Example_12in_actuator_public.ino
-
- motor driver
- HDA12-2
-
(and 3 more)
Tagged with:
-
This is a recap of a little adventure in the hopes that it helps someone else out there. This application is on an MSP430G2553 MCU. CSS is used as the IDE and the Energia libraries are in play (a good tooling combination, highly recommend J). The app spends most of its time in LPM3. It wakes up periodically to do certain tasks and also wakes up when traffic comes in on the UART RX channel. The ISR for the RX channel detects the arrival of a command and acts on the command during the ISR. Part of servicing a command is sending a response, which is transmitted via the UART TX channel
-
For the AT commands from energia's serial monitor it appears as some characters missing!!! Any solutions? Below is my output: AT+CREG? +CREG: 0,1 OK AT+CREG=? +CREG: (0-2) O AT+CFUN=? +CFUN: (0,1,4),(-) K
- 5 replies
-
- msp430g2553
- sim800
-
(and 5 more)
Tagged with:
-
Hello everyone; As you can see bitshifting a byte 16 bits and storing in a long doesn't seem to work, while shifting storing and shifting again works perfectly. Is this behaviour normal? Using energia 0101e0017 on win7 with msp430g2553 launchpad. Also i'm not 100% sure but i think bitshifting 16 bits worked fine on a tm4c123gxl launchpad because i ran into this while converting a code that was written for tm4c to msp.
-
I have a custom board that is driven with an MSP4302553 chip and can drive a Piezo Transducer which resonates at 25khz. I am limited to using a single rechargeable Lithium battery which is 3.3v. In order to get the 117dB that I want out of the Piezo Transducer, I need to generate a square wave with a 25khz frequency and 10volts across the 2 Piezo pins. I found a Push Pull library which allows me to get a -3.3v-3.3v range, or a total of 6.6v across the 2 pins on my Piezo. This gives me about 80dB. I need to boost that voltage by just a little bit after the PWM pins, without losing
-
Here are the files for my PCB Exposer/Printer, it is the complete package including mechanical design files. The printer itself. Example - a power control PCB for Raspberry Pi - 40 x 40 mm. Code includes driver for MCP4725 DAC, buffered serial port driver, stepper motor control and command parsing for the MSP430G2553 used as the main controller. Code and design files: PCB Exposer - controller code for MSP430G2553.zip PCB Exposer - desktop application.zip PCB Exposer - mechanical design files in Vectric format.zip PCB Exposer - schematics and PCBs.zip Desktop appl
- 5 replies
-
- PCB
- MSP430G2553
-
(and 2 more)
Tagged with:
-
So I'm working on a fingerprint scanner project with this repo written for arduino for the scanner I'm using. I am trying to make it work with an MSP430G2553 instead of the Arduino Uno. When I try using this library in Energia, it can't find the scanner despite being wired on the launchpad the same way that it is wired on the Arduino (External 5V source, Arduino pin 2 --> MSP430 pin 1.1, Arduino pin 3 --> MSP430 pin 1.2). The code compiles and the serial monitor outputs the test looking for the scanner, but it has yet to be able to find it. If anyone could give me any help with this, it
- 15 replies
-
- msp430g2553
- launchpad
-
(and 6 more)
Tagged with:
-
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
- 1 reply
-
- ADC
- MSP430G2553
-
(and 7 more)
Tagged with:
-
As a part of my teaching work, I wanted to demonstrate connecting Raspberry Pi-2 (as SPI Master) to MSP430 LP with MSP430G2553 (as SPI Slave), as an alternative to Arduino-Uno as a SPI Slave. It was aimed at utilizing the ADC's of either of these micro-controller boards, as Raspberry Pi-2 does not have ADC modules. The working of Arduino Uno as the SPI Slave device was smooth and painless, but I spent many hours getting the MSP430G2553 working as a SPI SLave. Ultimately, I hit upon a hack (if there was one) and MSP430G2553 started working as SPI Slave! However, I do not understand why this hac
- 6 replies
-
- MSP430G2553
- SPI
-
(and 1 more)
Tagged with:
-
Hello all! I am currently working on a project that uses two NRF24L01 modules to communicate between two MSP430G2553 chips. The goal is to send a 14 character string of numbers and letters between the two devices. I have been trying to get code working with Code Composer Studio for a few weeks now, but have had no success at all. I found several posts on this forum from others who have tried similar things and this post in particular, http://forum.43oh.com/topic/2050-nrf24l01-registerscommands-and-functionswork-in-progress/page-2 with a link to a library created by Spirilis, however I
- 9 replies
-
- MSP430G2553
- NRF24L01
-
(and 2 more)
Tagged with:
-
There have been a few situations where I've had HardwareSerial::write() lock up on me and end up in an infinite while loop. Could some changes be made to any and all possibly infinite while(); loops? I think it would just take some sort of counter that indicates how many iterations through the while(); loop have happened. Then if some upper limit is reached, exit with a fail. Let's make it bullet proof as possible.
-
Good morning everybody, I'm Curtis, Fairly new to the world of MSP430, but VERY HAPPY that this forum exists. Energia has made my life much easier. I was about to make a hole in my wall by repeatedly bashing my head against it, but Energia removed a bunch of the minutia and provides a great abstraction layer and way of programming the MSP4230G2553 controller. See ya 'round, Curtis
- 5 replies
-
- MSP430G2553
- Launchpad
-
(and 2 more)
Tagged with:
-
Hi, I am new to the forum, and hope I am doing this right. If this question is in the wrong spot please let me know. I have two MSP430G2 launchpads and a CC110L AIR module booster pack. My goal is to make a simple pushbutton toggle setup. (ie push the button on one board, and toggle a GPIO on the other board.) Eventually, I plan to turn this into a key fob with custom PCBs. Low power consumption would be really good too. I thought this would be a relatively easy project, but I am stuck. I can't get the boards to communicate at all. I got the settings by choosing from the SMART
- 4 replies
-
- msp430g2553
- A110LR09A
-
(and 1 more)
Tagged with: