Jump to content

LiviuM

Members
  • Content count

    85
  • Joined

  • Last visited

  • Days Won

    13

LiviuM last won the day on June 15

LiviuM had the most liked content!

About LiviuM

  • Rank
    Level 1

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

470 profile views
  1. MSPDebug can't connect to MSP-EXP430G2 under Linux

    Just burned the Blink example in my MSP430G2231LP Launchpad using Energia 1.6.10E18 under openSuse Leap 42.1 Trying to open interface 1 on 022 Initializing FET... FET protocol version is 30066536 Set Vcc: 3000 mV Configured for Spy-Bi-Wire Sending reset... Device ID: 0xf201 Code start address: 0xf800 Code size : 2048 byte = 2 kb RAM start address: 0x200 RAM end address: 0x27f RAM size : 128 byte = 0 kb Device: MSP430F2012/G2231 Number of breakpoints: 2 fet: FET returned NAK warning: device does not support power profiling Chip ID data: f2 01 02 Erasing... Programming... Writing 810 bytes at f800... Writing 32 bytes at ffe0... Done, 842 bytes total
  2. MSPDebug can't connect to MSP-EXP430G2 under Linux

    Hi, On the CCS Linux wiki page are few more details about supported processors. Cheers, Liviu
  3. CCS7 Requirements

    There are instructions in Internet on how to fix Windows Updates - you should download and install some files per hand. Searching after "broken Windows Updates" should help to find them.
  4. I2C on TM4c1294 doesn't work

    LE I'm almost "thrilled" by the amount of details people asking for help is giving. We all have crystal bowls at home.
  5. I2C on TM4c1294 doesn't work

    Just tried to read some data from a DS1307 using my TivaC and the (slightly changed - use the i2c1 module) master_reader example from the wire library. The DS answers (ACK) to the addressing (0x68) and gives back some data. No idea if the data is correct, but the logic analyzer can decode it. Hardware connections: DS Launchpad Vdd -> +5V Gnd -> Gnd SDA -> SDA1 (PN_4, Launchpad pin 50), 10KOhm -> +3V3 SCL -> SCL1 (PN_5, Launchpad pin 49), 10KOhm -> +3V3 The working code: #include <Wire.h> void setup() { Serial.begin(115200); // start serial for output delay(200); Serial.println("Serial interface OK"); Wire.setModule(1); Wire.begin(); // join i2c bus (address optional for master) } void loop() { Serial.println("ask some data"); delay(500); Wire.requestFrom(0x68, 5,false); // request 6 bytes from slave device #2 while(Wire.available()) // slave may send less than requested { char c = Wire.read(); // receive a byte as character Serial.print(c); // print the character } Serial.println(); // delay(500); }
  6. UART Communication between Arduino and MSP430F5529

    Sorry, wrong button pressed.
  7. UART Communication between Arduino and MSP430F5529

  8. UART Communication between Arduino and MSP430F5529

    Nice, I wasn't expected it to work with two parallel TX signals. Sorry for the false hints (and not telling you that you have wrong connections :)).
  9. UART Communication between Arduino and MSP430F5529

    It was something, but I just forgot it.
  10. UART Communication between Arduino and MSP430F5529

    OK.
  11. UART Communication between Arduino and MSP430F5529

    Arduino -> PC & MSP: one output TX (arduino) "speaking" to two inputs (RX PC & RX MSP) Arduino <- PC & MSP: two outputs (TX PC & TX MSP) trying to drive in the same time different logic levels on the same line (RX Arduino).
  12. UART Communication between Arduino and MSP430F5529

    How? Your Arduino is connected to the MSP board. Is it connected to the PC in the same time? I don't think you can share the U(S)ART link in this way. When you check it with the oscilloscope, is the MSP board connected to the Arduino/PC, or alone?
  13. UART Communication between Arduino and MSP430F5529

    Hi, how do you know it isn't working?
  14. TM4C129 Connected Launchpad SPI Working?

    On my linux machine, the "extra" boards are installed under /home/liviu/.energia15/packages/energia/hardware/... No idea how it looks under Windows/mac.
  15. TM4C129 Connected Launchpad SPI Working?

    Hi, it seems, the Arduino's SPI library has an SPISettings class and Energia's SPI library not. Some older version of the mfr522 library (version=1.1.8, for example) don't use the SPISettings class and compiles for TivaC. class SPISettings { public: SPISettings(uint32_t clock, uint8_t bitOrder, uint8_t dataMode) { if (__builtin_constant_p(clock)) { init_AlwaysInline(clock, bitOrder, dataMode); } else { init_MightInline(clock, bitOrder, dataMode); } } SPISettings() { init_AlwaysInline(4000000, MSBFIRST, SPI_MODE0); } private: void init_MightInline(uint32_t clock, uint8_t bitOrder, uint8_t dataMode) { init_AlwaysInline(clock, bitOrder, dataMode); } void init_AlwaysInline(uint32_t clock, uint8_t bitOrder, uint8_t dataMode) __attribute__((__always_inline__)) { // Clock settings are defined as follows. Note that this shows SPI2X ...
×