Jump to content

All Activity

This stream auto-updates     

  1. Today
  2. terjeio

    SPI doesn't seem to be working properly

    Scope sampling rate too low?
  3. ak96

    SPI doesn't seem to be working properly

    It's the MSP430G2553.
  4. Rei Vilo

    SPI doesn't seem to be working properly

    Which MCU?
  5. I am using this code to communicate to the Nokia 5110 LCD display: https://gist.github.com/DmitryMyadzelets/83b6e1384a1ee35a7f5f Looking at the waveforms on an oscilloscope, I saw that there are only 2 to 3 clock cycles per write. For instance, the attached screenshot is when I write 0x44. The top waveform is the clock, the middle is chip select, and the bottom is MOSI. That doesn't seem correct at all. Shouldn't there be 8 clock cycles for transmitting 8 bits?
  6. Yesterday
  7. Hello! I am currently moving a project from MSP430G2553 MCU to newer MSPFR2433. I have MSP-EXP430FR2433 board and Energia-1.6.10E18 IDE Software. From the beginning I saw very strange thing - big difference in DELAY and SLEEP intervals, but only on MSP-EXP430FR2433 board. For example, even simplest elementary code for BLINK run on MSP-EXP430FR2433: #define LED RED_LED void setup() { pinMode(LED, OUTPUT); } void loop() { digitalWrite(LED, HIGH); // turn the LED on (HIGH is the voltage level) sleep(4000); // wait for 4 seconds digitalWrite(LED, LOW); // turn the LED off by making the voltage LOW delay(1000); // wait for a second } On this board interval for ON (sleep command) visually is almost equal to OFF (delay command) interval (!). So SLEEP command is running about 4 times faster, than DELAY. While same code on MSP-EXP430G2 with MSP430G2553 and MSP-EXP430FR5969 boards is working fine. What is the reason ? It looks, like Energia library for MSP430FR2433 has some issues...Is it possible to fix it ? I understand, that MSP430G2xxx and MSP430FR2xxx have differences, but some basic functions should be running the same...isn't it ?
  8. Last week
  9. Trying to work with SPPDemo (MSP430F5438A+ CC2564B) according to the steps described at the link below: http://processors.wiki.ti.com/index.php/CC256x_TI_Bluetooth_Stack_SPPDemo_App I was able to open the server. But on the client side, I can't see the device list with DisplayInquiryList Command. I tried Inquiry command before it to initialize the process. Both the pictures of server and client are added.
  10. Rei Vilo

    Update multiple time for work

    Three suggestions: Try adding a delay() after Serial.begin(). Try slower speeds. Try another USB cable and port.
  11. Good Afternoon, I am using the launchpad MSP430F5529 + Boosterpack CC3100 and the software Energia version 1.6.10E18 with the OS - Windows 10. I am having problem with the update. I must update multiple time for work my serial print. I would like to know the reason for the problem. I am using in a code a lot complex but when I use in a code more simple like a "Blink" I have the same problem. I already look the "device manager" of my PC like the figure that I attachment("COM12") and already try used both selection of debugger (dslite - or mspdebug) and the problem keeps. I am use this simple blick bellow for test and I have the same problem. I would like a answer please.
  12. hai, am working with Energia Tiva C Series TM4C123G i need to MQTT library for quectel MC60 or MC10 how to communicate the Tiva C to Quectel MC60 MQTT library Please send the MQTT Library support to Quectel
  13. you can not use Lora library with the MSP430G2553. Ram is to small !!!!! only 512 bytes Arduino 2Kbytes SRAM
  14. Earlier
  15. I was trying to port all the panStamp NRG project done for Arduino IDE to Energia-1.6.10E18. I initially wanted to port it as a separate hardware under .energia15/packages/hardware/ so I simply copied the project from ./arduino15/packages/panstamp_nrg/hardware/msp430/1.0.7/ to .energia15/packages/energia/hardware/panstamp_nrg/1.0.7/ The problem is that the boards listed in panstamp_nrg/1.0.7/boards.txt are not displayed under Energia->Tools->Board. Is adding new hardware cores disabled for Energia? Adding new variants under msp430/1.0.3/ works perfect. Thanks for your time.
  16. Rei Vilo

    MSP432 Hardware UART(2)(3)

    See Provide Other UART, SPI and I²C Ports on LaunchPads and MSP432 Additional Ports
  17. neznaika

    MSP432 Hardware UART(2)(3)

    Hello, I could not find complete answer so posting this question. Is it possible to use MSP432 hardware serial (2..3) in Energia? Is there any specific reason it is not implemented or special syntax has to be used? Thanks in advance
  18. Fmilburn

    SIM800L using TM4C123GXL and Energia

    I am not sure if Energia supports it on the TM4C123 but try using hardware serial - eg Serial1 or Serial2 instead of software serial http://energia.nu/reference/serial/
  19. Hello everyone! I am using the SIM800L module to send SMS through a TivaC TM4C123GXL board, but its clock is 80MHz, and the library only accepts 20, 16 or 8 MHz. In Arduino it worked perfectly, this code found on a website. How do I reduce the TM4C123 clock in Power software? Is there another solution? Thanks in advance! The code: #include <SoftwareSerial.h> SoftwareSerial sim(3, 4); int _timeout; String _buffer; String number = ""; //here I inserted my number phone void setup() { delay(4000); //delay for 7 seconds to make sure the modules get the signal Serial.begin(9600); _buffer.reserve(50); Serial.println("Sistem Started..."); sim.begin(9600); delay(1000); } void loop() { SendMessage(); delay(10000); } void SendMessage() { //Serial.println ("Sending Message"); sim.println("AT+CMGF=1"); //Sets the GSM Module in Text Mode delay(1000); //Serial.println ("Set SMS Number"); sim.println("AT+CMGS=\"" + number + "\"\r"); //Mobile phone number to send message delay(1000); String SMS = "Testing GSM module"; sim.println(SMS); delay(100); sim.println((char)26);// ASCII code of CTRL+Z delay(1000); _buffer = _readSerial(); } String _readSerial() { _timeout = 0; while (!sim.available() && _timeout < 12000 ) { delay(13); _timeout++; } if (sim.available()) { return sim.readString(); } } The error: #error This version of SoftwareSerial supports only 20, 16 and 8MHz processors
  20. Hemavathi

    [Energia Library] LM4F MPU6050 Library

    I didn't get any output with msp430f5529.. What should be changed in the program?
  21. psp1004umd

    Store values inside µc

    Hello , i would like to store only 3 values (from 0 to 254)
  22. Hemavathi

    Mouse

    I used energia to read the accelerometer adxl335 reading.. After that how can I interface with tools like catia,creo??
  23. Hemavathi

    Mouse

    I am trying to design 3D Space mouse with functions such as tilt,pan,zoom with msp430f5529 and accelerometer What accelerometer would be better to use ??
  24. Rickta59

    Store values inside µc

    The msp430g2231 only has a total of 2048 bytes of flash. If you use Energia, you are going to suck up half that flash just getting it to compile an empty sketch. The EEPROM on an atmega328p has 1024 bytes of eeprom. What do you want to store in EEPROM?
  25. psp1004umd

    Store values inside µc

    Hello everyone , i was wondering if we can store some values inside an msp430g2231(or msp430g2231) i know how to do that on an arduino : EEPROM But i can't find anything on an MSP using energia :/
  26. In the standard Button example in Energia (Examples->02.Digital->Button), it works fine when I upload it to the MSP432P401R. But if I add a delay to the loop that is greater than 250ms, then the LED that's supposed to turn back on when the button is released, never turns back on. If the delay is less than 250ms, then the sketch works as expected. Why do you think this happens? const int buttonPin = PUSH2; // the number of the pushbutton pin const int ledPin = GREEN_LED; // the number of the LED pin // variables will change: int buttonState = 0; // variable for reading the pushbutton status void setup() { // initialize the LED pin as an output: pinMode(ledPin, OUTPUT); // initialize the pushbutton pin as an input: pinMode(buttonPin, INPUT_PULLUP); } void loop(){ // read the state of the pushbutton value: buttonState = digitalRead(buttonPin); // check if the pushbutton is pressed. // if it is, the buttonState is HIGH: if (buttonState == HIGH) { // turn LED on: digitalWrite(ledPin, HIGH); } else { // turn LED off: digitalWrite(ledPin, LOW); } delay(500); //BUG: when this is here, then the LED never turns back on }
  27. buerni

    MSP430 Serial Monitor not working

    Thank you for your response! I've just seen that the core on my LaunchPad is a G2553, so i turned the J3 Jumpers horizontal as you have mentioned. I also added a delay, it still does not work. I can you provide you some pictures and screenshot if that helps.
  28. energia

    MSP430 Serial Monitor not working

    You might have one of those LaunchPads that comes out of the box configured to use software uart. On a Rev 1.5 LaunchPad, J3's RX and TX jumpers need to be set to the horizontal position to work with Serial. Also make sure that you match the baudrate set in the Sketch in the Serial monitor. In your test Sketch, you might want to add a small delay (e.g. delay(200)) at the end of the loop to not flood the Serial monitor. Please see the pinmap:
  29. Hello guys, I just got into the world of MSP but am facing a disturbing problem since hours: The Serial Monitor stays clear no matter what I am doing. I own a MSP430G2452IN20 Launchpad Rev 1.5, all J3-Jumpers are vertical. I did try both USB 2.0 and USB 3.0. I did try alternative Serial Monitors like PuTTY or the terminal in CCS 6. I did reinstall the EZ-430 UART drivers. I tried every COM that is listed. The Baud rate is set to 9600 in both script and serial Monitor. The script I tried is following: void setup() { Serial.begin(9600); } void loop() { Serial.println("Hello"); } The board core in Energia is updated to version 1.0.3 and the right board is selected. I hope you have some more solutions, I am going to collapse soon! Sincerely, buerni
  1. Load more activity
×