• Content count

  • Joined

  • Last visited

  • Days Won


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

400 profile views
  1. 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.
  2. LE I'm almost "thrilled" by the amount of details people asking for help is giving. We all have crystal bowls at home.
  3. 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 =; // receive a byte as character Serial.print(c); // print the character } Serial.println(); // delay(500); }
  4. Sorry, wrong button pressed.
  5. 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 :)).
  6. It was something, but I just forgot it.
  7. OK.
  8. 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).
  9. 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?
  10. Hi, how do you know it isn't working?
  11. On my linux machine, the "extra" boards are installed under /home/liviu/.energia15/packages/energia/hardware/... No idea how it looks under Windows/mac.
  12. 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 ...
  13. Have you read the answer @Rickta59 gave you on your (other) thread? I mean the part:
  14. Have you tried to write something in the file in Linux? In the movie you are just showing us the file is empty.
  15. Have you read the first post in the topic? Is your card maybe hard locked? May you in Linux/Windows delete the file/create a new file on the card?