Jump to content
43oh

developer_bt

Members
  • Content Count

    21
  • Joined

  • Last visited

Everything posted by developer_bt

  1. I tried with strong types, uint8_t about the values​​, and uint16_t and uint32_t for addresses but without success.
  2. I noticed a problem with the EEPROM library TM4C1294 Connected LaunchPad. I tried this example but without success: /* Example 31.1 - Arduino internal EEPROM demonstration http://tronixstuff.com/tutorials > chapter 31 | CC by-sa-nc */ #include <EEPROM.h> int zz; int EEsize = 1024; // size in bytes of your board's EEPROM void setup(){ Serial.begin(9600); randomSeed(analogRead(0)); } void loop(){ Serial.println("Writing random numbers..."); for (int i = 0; i < EEsize; i++){ zz=random(255); EEPROM.write(i, zz); } Serial.println(); for (int
  3. Thank you, Yes will not be able to use the two simultaneously. Already ordered one and will test it. The experience I will share here
  4. Hello everyone! Are BOOSTXL-IOBKOUT is compatible with TM4C1294 Connected LaunchPad? Does anyone have experience with this BoosterPack, Can I use two of these with TM4C1294 Connected LaunchPad?
  5. I managed to get back to normal with the latest LM Flash Programmer The procedure is as follows: - Select the appropriate lanchpad - Go to other utilities - disconnect the USB, - click unlock, - confirm with yes - on next MsgBox hold reset, connect - click ok, while still holding reset - release reset - power cycle board (and restart Flash tool?) - after that the programming works
  6. I have a problem with Tiva C Series EK-TM4C1294XL LanchPad. .Totally is blocked: ( Only the green LED1 illuminates with low-intensity! I wanted to incorporate a greater value for WDT timer but I made a mistake and enter lower. I wanted to reset every 10 seconds. And I enter WatchdogReloadSet (WATCHDOG0_BASE, SysCtlClockGet () / 10000). Instead of WatchdogReloadSet (WATCHDOG0_BASE, SysCtlClockGet () * 10000). Now microcontroller is continuously in reset and can not be programmed with ICDI. Following message appears: Unable to find any ICDI devices. How to solve this problem? Co
  7. That would be great! Hopefully soon Energia will get support for the new lanchpad
  8. Hello, This is a awesome! It is interesting to see this ported library for MSP430. Do you plan this library to be used for new lanchpad EK-TM4C1294XL?
  9. I found the problem! It is about configuring the system clock which is used to generate delays for functions: delay() and delayMicroseconds(). The change should be made in the core library wiring.c. You can use the change in the previous post but for a 80Mhz may simply make only the following changes: change wireing.c, (energia_dir)\hardware\lm4f\cores\lm4f\wiring.c // //SysTick is used for delay() and delayMicroseconds() // //ROM_SysTickPeriodSet(0x00FFFFFF); ROM_SysTickPeriodSet(ROM_SysCtlClockGet() / 100); ROM_SysTickEnable(); I hope to someone would be of hel
  10. Hello @@Rei Vilo! I have a logic analyzer, tomorrow or over the weekend will do testing and posting results. To inform you that I managed to knock off frequency of 40Mhz! Now I have a more stable readings, (delayMicroseconds(2); and if (counter > 6) were used). To reduce the frequency more of the following link : http://forum.stellarisiti.com/topic/1582-change-system-clock-stellaris-howto/ Reducing the frequency is as follows: First make a backup of the original files. 1) change board.txt (energia_dir)\hardware\lm4f\boards.txt #############################################
  11. This library I tested with Arduino, msp430g2553 and MSP430F5529 launchpad and it works great. Most likely the problem is the speed of the CPU, TivaC running on 80Mhz. Do not use specific peripherals, so the problem is likely to program execution speed. How can I reduce the frequency of 16Mhz?
  12. I really surprising why it only happens with TivaC / Stellaris Launchpad, while normally works with msp430g2553 and MSP430F5529 launchpad. Do you have any idea what could be the problem?
  13. Thank you very much icserny! I tried your method. The results for delayMicroseconds(3); and if (counter > 10) are as follows: 6 6 6 6 6 6 6 17 17 6 17 17 17 6 7 6 6 6 6 6 6 6 6 6 18 17 6 18 18 7 18 6 18 6 6 17 6 7 18 17 40 1, B8, 0, DA, 93 =? 193 RH% 44.0 % oC 21.8 *C 6 7 6 6 6 6 6 17 17 6 18 17 17 6 6 6 6 6 6 6 6 6 6 5 18 18 6 18 18 6 18 6 18 6 6 17 6 6 18 17 40 1, B8, 0, DA, 93 =? 193 RH% 44.0 % oC 21.8 *C 6 6 6 6 6 6 6 17 17 6 17 17 17 6 6 6 6 6 7 6 6 6 6 6 17 17 6 17 17 6 18 6 18 6 6 17 6 6 18 18 40 1, B8, 0, DA, 93 =? 193 RH% 44.0 % oC 21.8 *C 6 7 6 6 6 6 6 17 17 17
  14. Hello, Why when using a Stellaris / TivaC lanchpad appears oscillation in the value of the humidity? ?o work with Stellaris / TivaC I made the following changes: // Core library - MCU-based #include "Energia.h" while (digitalRead(_pin) == laststate) { counter++; delayMicroseconds(2); //change! if (counter == 255) { break; } } if ((i >= 4) && (i%2 == 0)) { // shove each bit into the storage bytes data[j/8] <<= 1; if (counter > 12) //change! data[j/8] |= 1; j++; } } Code is the following: #include "Energia.h" // Include application,
  15. Hello Spirilis, I did test with the logic analyzer, so when you have time look at results. Testing is done for Arduino RX and Stellaris RX examples. Files of Saleae software are found in .zip attachment. Saleae logic result.zip
  16. Yes the module is powered by the 3.3V line Arduinoto. Do not look to what could be the problem. However the problem is somewhere around IRQ because transmission works great.
  17. I made the changes as you said but again does not work. /* Initialization */ void Enrf24::begin(uint32_t datarate, uint8_t channel) { pinMode(_cePin, OUTPUT); digitalWrite(_cePin, LOW); pinMode(_csnPin, OUTPUT); digitalWrite(_csnPin, HIGH); //pinMode(_irqPin, INPUT); pinMode(_irqPin, INPUT_PULLUP); digitalWrite(_irqPin, LOW); // No pullups; the transceiver provides this! Maybe the problem is that the Arduino is powered with 5V while nRF24L01+ with 3.3?
  18. Thanks! I made a test with Arduino and MSP430 lanchpad! Arduino works in the role of transmitter but does not work in the role of receiver. Here are the results of testing: Arduino_TX ------> MSP430_RX MSP430_TX ------>ARDUINO_RX Very rarely happens when switching on the console to appear next result. Arduino _TX 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 Enrf24 radio(8, 7, 4); const uint8_t txaddr[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0x01 }; const
  19. I tried this example which I found at the following link: http://arduino-info.wikispaces.com/nRF24L01-Mirf-Examples , but without success. /** * An Mirf example which copies back the data it recives. * * Pins: * Hardware SPI: * MISO -> 12 * MOSI -> 11 * SCK -> 13 * * Configurable: * CE -> 8 * CSN -> 7 * */ #include <SPI.h> #include <Mirf.h> #include <nRF24L01.h> #include <MirfHardwareSpiDriver.h> void setup() { Serial.begin(9600); Mirf.init(); // name the receiving channel - must match tranmitter setting! Mirf.setRADDR((byte
  20. Thank Spirlis! I will try to enable communication with the Arduino UNO and Mirf library. I noticed that your library is more similar to Mirf library. Do you already have an example of the Arduino Mirf by which I can do testing?
  21. Hello, Is it possible this library be used with Arduino? For example: Arduino <--------> MSP430 Lanchpad or Arduino <--------> Stellaris Lanchpad. What is Arduino compatible library: Mirf or RF24?
×
×
  • Create New...