Jump to content
43oh

Search the Community

Showing results for tags 'g2553'.

  • 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

  1. Hi there, my current project is to build a controller for a sensorless BLDC motor using a MSP430G2553. I want to realize trapezoidal control with Back-EMF/zero-crossing detection. I plan to detect zero-crossing with the Comparator(CA2/3/4 vs. CA1) and generate PWM using Timer1. Timer0 will be used for things like 30 BLMC_.zip
  2. Hey guys, I'm having some problems with my G2553 Launchpad. For some time now, the UART functionality has not functioned. I'm now sending the character "a" through the HW UART (Jumpers are positioned correctly) and what I get on my computer is completely different. I tried this in Windows 10, W7, macOS Mojave, even through the physical P1.1 and P1.2 ports to a Raspberry Pi and the result is the same. https://imgur.com/a/yd90MIw I also tried receiving data from a GPS module via UART and the data I received was unusable (the length of data was as expected, but the characters were
  3. Assuming the MSP430 is powered by 3.3V, can I apply a 3.7V signal on a digital pin? Can I apply a 2.5V input? Will it still read rising and falling edges on the pin if the voltage on the pin is more or less than the supply voltage?
  4. Hello All, I'm an electronics engineering student and I know little about programming.I was using arduino and I want to use TI MCU's. So for that reason I'm recreating my arduino projects on energia (tried code composer studio but it is too complicated for me). Some of my projects worked well on energia and i didn't make any changes of my codes it was wonderful but my end term project didn't compiled because of the library that i'm using so I'm trying to port a library from arduino to energia. The library that i'm trying to port is based on the SoftwareSerial library (formerly NewSoftSer
  5. I don't know why but my energia is running very slow. All the other apps are running at good speed. I am using windows 10 64-bit version. I am using Energia V17. Pictures from my task manager are attached here, please take a look at it. Thax and peace.
  6. Dear developers, I am simply using Serial.println(); command, but I get some weird characters in the serial port display window. Code : #include <Wire.h> // HIH6130 I2C address is 0x27(39) #define Addr 0x27 int tzero = 196; int tspan = 17; int hzero = 196; int hspan = 17; void setup() { Wire.setModule(1); Wire.begin(); pinMode(P1_3,OUTPUT); pinMode(P1_2,OUTPUT); pinMode(P1_6,OUTPUT); Serial.begin(9600); Serial.println("OK"); delay(300); } void loop() { unsigned int data[4]; // Start I2C Transmission Wire.beginTransmission(Addr); // Select data registe
  7. 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 se
  8. I have a G2553 set up on a breadboard, and am using a USB-to-UART adapter for BSL flashing. TI provides BSLDEMO2.exe on the Windows side to do the flashing, but I've been unable to get it to work. If I use the special signalling pattern on /RST and Test, I get a "synchromization failed" error, and if I boot directly into the cold start vector of BSL, I get a "communications error". So I just wondered if anyone here has actually done this successfully? The two ends talk to each other, but it always errors out.
  9. Hi, my name is Fabian an im recently working on an MSP430 project with the Launchpad MSP-EXP430G2 and Energia 0101E0017. I have an TEG Harvester and want to run the MSP that sends data via a NRF24l01 module. Everything works great, current is really low in working and in sleeping mode. But now the problem: When i apply power to the chip (3,3V) it draws significant current for about 2 seconds. Then it starts working normal and the current drops and stays low as long as you don't remove the supply and start again. This is really bad for energy harvesting applications, because
  10. Hi, I'm trying to drive 15 ws2812b leds using a g2553 sitting on a Launchpad I'm finding the following behaviour a bit confusing and am wondering if anyone can provide an explanation... The code below is borrowed from RobG's post (http://forum.43oh.com/topic/2680-group-buy-10-o-rgb-smd-led-with-built-in-controller/page-4#entry23841 ) If I try to run at 16MHz the strip does not behave/work as expected BCSCTL1 = CALBC1_16MHZ; DCOCTL = CALDCO_16MHZ; However, if I set DCOCTL to CALDCO_1MHZ and keep BCSCTL1 at CALBC1_16MHZ (see code below) , the strip works fine... Is the clo
  11. Hey forum! I always wanted to make a synthesizer , so i chose the msp430 launchpad, because it's one of the most inappropriate chip i can use for it :grin: When i started to make it i didn't have real goal, i just wanted to make a sound, so this project is kind if all over the place but i have learned a lot doing it so it was totally worth it. The DAC used is a TI TLC5615, it's not the best choice, but i only had this in my parts bin. Probably any other SPI DAC could be used with minimal modification, or even PWM. (I don't sound good with PWM IMO.) The TLC5615 needs 5 volts, but
  12. Hey all, I have attempted to take this project, http://forum.43oh.com/topic/1999-sd-media-player-with-fat16/, which was written for a G2353, and port it to a G2553. The main differences being: 1. USI on the G2353 vs. USCI on the G2553 2. Timer0_A3 on the G2353 has 3 control/compare registers, I needed to change the timer to Timer1_A3 on the G2553 since thats where it has 3 control/compare registers. 3. I also changed the pin defines to match the G2553. 4. Also the original project uses an SD card, while i am attempting to use a MicroSD card breakout board (should work the same as bo
  13. Hi everyone! This is my second time on the forum. The first time i was here it was to ask for help with interrupts and an LED display. 43oh was very helpful and I accomplished my goal. Today I am here to ask for help again. Goal: Implement the code previously written into the chip only and drive it without the development board. (breadboard mode) I did some research and most post/websites told me that all i need is 3.3V and a 47k resistor going from VCC to the RST pin on the chip and that my program would start working... I tried this and it did not. reference:http://crossplatform
  14. I am working on the MSP430G2553 using I2C and Serial libraries. I am playing right now to try to understand the usage of the libraries. I have an I2C slave that I am trying to control how much data gets returned when a read is executed. Using the serial interface I can increase the size that is sent over the I2C but I can't reduce the size even though the variable passed to Wire.write shows it has reduced. Slave code: #include <Wire.h> #define MY_ADDR 2 #define ERR_RQST_MSB 0xF0 ///< First byte sent when request hasn't been preceded by a value #define ERR_RQST_LSB
  15. What I want to do is: - toggle a GPIO at a rate variable from 1Hz to 5.5Hz; - toggle a GPIO at a rate that is 32 times faster than the other. The rate will be controlled by an external potentiometer. Possible with a G2553?
  16. Hello, I'm very new to uCs, so please bear with me and my inevitable incorrect use of terminology (corrections appreciated!). I've been doing a lot of reading, and wrote a little program to TX/RX characters from PuTTY over UART. I think maybe I have some inappropriate UART settings, because the very first TX always prints garbage, even on reset. Would someone mind please taking a look for me? I'll just post the UART setup routine, and the print routine unless posting the whole code would be more useful. I've also attached a PuTTY screenshot as an example of the "garbage" I mean, a
  17. Hi everyone! I stumbled on to this forum whilst searching for information about the msp430 micro controller, a component which i was tasked to use in building this project, the WASPS (wireless automatic slim pressure sensor) system. Basically the way it works is that Ive attached pressure sensors around a boxing head hear which is then attached to an msp430g2553 (no crystals) which is then connected via wires to an XBee 2mW PCB Antenna transmitter module. The Receiver, which is connected to the computer will print out text on the screen (terminal), i.e. '1 punch detected' everytime a signal
  18. Hello everyone. I am more of a hardware dude, so software always makes me stay up all nights while trying to understand why it doesn't work and why DOES it work. Anyway, below is the code I am using. It works, kind of, but there is a problem. If I decrease delay, resolution goes down pretty bad, with 300ms it is 100RPM. If I Increase, of course it gets slow, and that is not ok in my application. As I am a total noob, I hope someone here might give me advice, what can I possibly do. Regards, Arch. volatile unsigned int rpmcount; float rpm; float timeold; const int carbswitch = P2_2; //s
  19. Hi When trying to run following code, I can send the first integer "1" but if I continue after that, it just doesnt send anything back. However, with an Arduino UNO this code works 100%. How can I fix that? I hope somebody can try that for me, so I can confirm that it's the hardware/library and not the code. void setup() { Serial.begin(9600); } void loop() { if( Serial.available() > 0 ) { int inc = Serial.parseInt(); if(inc == 1) { int temp = analogRead(0); int pressure = analogRead(1); String t_str = String(temp); String p_str =
  20. When programming recently, I found that I had some trouble controlling a motor at the same time as several servo. The servos would go all crazy, and the motor wouldn't work. I guessed that this was because the timers were interfering, or not enough timers, or similar. Digging into the servo library, and the analogWrite function, I found that they're both trying to use Timer A. Thus, I modified the analogWrite function. In file energia/hardware/msp430/cores/msp430/wiring_analog.c , I commented out lines 110 to 123 (inclusive). Below is the code commented out. case T0A1:
  21. Hi, I am new to the whole world of microprocessors and just playing around with my Launchpad v1.5 with the MSP430G2553 for a while. I got the UW UART up and running so far, using putty and the virtual "MSP430 Application UART" com port. The jumpers on J3 are set to HW UART. But I need some help understanding how the HW UART and the UART on P1.1 and P1.2 belong together or don't. I don't know if they are the same or something different. I am confused: What exactly changes when setting the jumpers on J3 to SW UART (virtual com port is still there, but why does my software not wor
  22. Hi everybody, Hopefully someone will be able to help. The aim of this project is to send an image from my laptop over a serial port to the MSP430G2553 where the data will be processed and then the image will be shown on my RGB LED display. At present I'm looking at methods of converting an image into an RGB array. I found that using GIMP, a file can be exported as a ".c" source code file which converts the image into an array. - Although the syntax is unlike any I have seen before. Anyways, i am using a program I found on the web to do the sending of the data over the serial po
  23. I finally have an LCD display to connect to my MSP430 Launchpad but I'm not sure which pins to connect. I decided to use a serial inteface because it will leave more pins open on my Launchpad for other inputs and outputs. Here is the pin description but it doesn't really tell me what CS, SDO, SDI, and SCL mean. As far as the pins on the Launchpad http://www.ti.com/lit/ds/symlink/msp430g2553.pdf (Pages 6-8) I'm not really sure which ones to use for CS, SDO, SDI, and SCL. Could it just be any pins with digital read and digital write functionality? If so, I assume it would be best to use the
  24. Hi people! Basically I'm writing a function to control a 16x16 RGB LED matrix with serial communication. The function I'm writing requires an array of size 16x16 ( hueBuffer[16][16] ) and of type 'short' since the max value of hue is 359. However, I keep getting an error: "program will not fit into available memory. run placement with alignment fails for section "DATA_GROUP" size 0x23d" but there is plenty of memory on the G2553. I need the values of hue to go up to 360 so i cant use unsigned chars. Anyone know of a solution to this problem? I'll post the code if you wa
  25. Hello all, This is my project for my design class at the university I am currently attending. It is the first circuit/PCB I have made that is not just a simple circuit on a breadboard. I'm happy to say it worked on the first try and thanks to Username and his reflow oven I was able to solder all of the surface mount components. I'm sure I'll be saying this again in the future, but thank you RobG for the inspiration for this project! :thumbup: Parts: MSP430G2553 TLC5971 Piranha RGB LEDs
×
×
  • Create New...