Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by ilpaso

  1. Gdo0 changes the logic state perfectly. I think the cpu doesn't see the edge on falling down gdo0 line. maybe could be an spi problem. I've no idea how solve the problem.
  2. I've tried the workaround but it does't work. It kicks the loop out after 50 milliseconds but returns in the loop the next attempt. Bye
  3. Hi zeke, thank you for your nice workaround and moral support. I'll try it but I think you've confused: - || and && ; - >= 10 and <=10; - the delay is (10*5)=50 milliSeconds. does not matter In the WirelessControl example for AIR430Boost ETSI library there is this note: /** * The radio transmitter and receiver cannot be operated at the same time. * Wait until transmit completes before turning on the receiver. Please note * that the radio is considered busy when it is transmitting. * * WARNING: If busy is not checked between two successive rad
  4. Increasing the timeout the module works better but the problem is not solved.
  5. Hi energia, thank you for your reply. Sorry but I forgot to write the Energia release: 0101E0013 with AIR430BoostEuropeETSI library downloaded from github: https://github.com/energia/Energia/commit/55cbbdb792fd092813c5b79a610690f52c12c5d1. I think this is the library release you attached in the post. I'll try this evening to increase the timeout to 1000. I've tested the code with a delay(500) (the last delay in the loop cycle) and it works a bit better. I've seen the function "boolean A110x2500Radio::busy()" in the library. It tests gDataTransmitting variable. Is this variable linked
  6. Hello everyone! I meet a problem using Air Boosterpack on launchpad MSP430F5529. I'm trying to make a small sensor network, a star network. 1 gateway and 2 sensors. The gateway sends a SYNC command to broadcast address. Each sensor listens for a random time if someone is trasmitting, if not it sends a RTS (Request To Send) command to gateway. The gateway sends back a CTS (Clear To Send). Once the sensor receives the CTS it will send back the data to the gateway. Before each Rx or Tx operation I've put a "while(Radio.busy())" as written in all examples. Very often gateway or sensor freeze
  7. Hi, is there a way to use this library with MSP430F5529? I know there is another library (http://forum.43oh.com/topic/5070-energia-library-etherenclib-for-enc28j60/) but I'd like to use the DHCP feature. Thank you
  8. Hi, I'd like tu use the RobG's ethernet boosterpack with this Ethernet library on MSP430F5529. Has anyone a good start point with w5500? I'm not able to install the library following the instructions here: https://github.com/javakys/Energia_Ethernet_Library_Included Thank you
  9. Hi, I'm looking for an Energia library to use with msp430F5529 (or MSP430G2553) and ethernet boosterpack from RobG: http://forum.43oh.com/topic/4490-ethernet-booster-pack-v3/ I've tried this one (http://forum.43oh.com/topic/4154-energia-library-ethernet-using-wiz820io/) but the compiler returns a lot of errors. I've found the code at this post (http://forum.43oh.com/topic/4490-ethernet-booster-pack-v3/?p=46637) but I'm not able to run it in Energia. Second question: why is not easy to use the Ethernet library from Arduino? Thank you
  10. Thank you for the answers. I'll re-route the the pins. The problem is understand what change in the code in order to use a different SPI port. For example: 4_0 CS 4_1 MOSI 4_2 MISO 4_3 SCK Please see the msp pinout: http://energia.nu/img/LaunchPadMSP430F5529.jpg I'll try the code discussed here: https://github.com/energia/Energia/issues/298 (thank you @nickn) Thank you.
  11. Hi, I'd like to connect the anaren AIR boosterpack to the launchpad msp430f5529 but not on the standard SPI port. what should I change in the code in order to use a different port? For example: 4_0 CS 4_1 MOSI 4_2 MISO 4_3 SCK thank you
  12. My setup is in poor man style! I'll try to set Xin and Xout as INPUT_PULLDOWN. Thank you
  13. Hi grahamf72 with your example and the following code for setup method the current is between 3.5uA / 4.0uA. That is fantastic! I don't understand if something is wrong or the problem is my low cost meter. My Vcc is 3.3V. What is your test Vcc value in order to read a 0.1uA in LPM4? Xout and Xin pins are floating on launchpad. Is this correct for very low power layout? void setup() { pinMode(P1_1,INPUT_PULLDOWN); pinMode(P1_2,INPUT_PULLDOWN); pinMode(P1_3,INPUT_PULLDOWN); pinMode(P1_4,INPUT_PULLDOWN); pinMode(P1_5,INPUT_PULLDOWN); pinMode(P1_6,INPUT_PULLDOWN);
  14. thank you grahamf72! The code is clear! Maybe in my examples something was wrong. I'll try your code this evening and I'll reply with the result.
  15. Hi, I'm newbie in low power mode. I've seen a lot of examples but I'm not able to see a low current in LMP4 mode. The lowest current I can see is about 90uA. Is there a minimal working sketch in order to run LPM4 mode and wake up the microcontroller with an external interrupt and switch on a led? My hardware is launchpad V1.5 with Msp430G2553. Both red an green leds are off. I've removed all the jumpers (Vcc and uart, NOT rst and test) and my power supply is a battery at 3.5V. Thank you for your help and sorry for this newbie question.
  16. I've used a LDO with a higher input voltage with same problem. I've removed the voltage regulator with an input of 3.5V with same problem.
  17. Hi, After some months of launchpad experiences I'm developing my first stand alone board. On the board there are these smd components for now. MSP430G2553 Tsop28pins Voltage regulator at 3,3V Anaren RF module. A led with 150ohm resistor. I think I've a problem with the sturtup and reset. There are 2 decoupling ceramics capacitors for the voltage regulator (about 4,7uF) There is a 100nF capacitor connected ad VCC and GND 10mm far from the microcontroller. There is a 47K resistor between Vcc and the RESET pin. Often if I connect the battery (nominal 3.7V) the circuit works
  18. thanks Semicolo it works well and it is easier to read!
  19. Hi all, @semicolo: Thanks a lot for the code. but if the the voltage is < 3V i think it can't read the value because it needs a 1.5V reference. The code in the first post is quite ok. I think I need only to reset an ADC register in order to restart in a clean state. But I don't know what I've to reset.
  20. Thank you for the replies. It works in Energia but the first time the function uses the 1.5V reference cycle and the second it uses the 2.5V reference cycle and so on. I'll try with analogRead (11) this evening.
  21. hi, I've a msp430g2253 board powered by a battery. I'd like to read the voltage of the battery. I've found a function online (http://blog.elevendroids.com/2013/06/code-recipe-reading-msp430-power-supply-voltage-level/). uint16_t Msp430_GetSupplyVoltage(void) { uint16_t raw_value; // first attempt - measure Vcc/2 with 1.5V reference (Vcc < 3V ) ADC10CTL0 = SREF_1 | REFON | ADC10SHT_2 | ADC10SR | ADC10ON; ADC10CTL1 = INCH_11 | SHS_0 | ADC10DIV_0 | ADC10SSEL_0; // start conversion and wait for it ADC10CTL0 |= ENC | ADC10SC; while (ADC10CTL1 & ADC10BUSY) ; // stop conversion and
  22. Thank you very much for your fantastic work! I would like to contribute more but I need more experience. :!!!: bye ilpaso
  23. Hi Rei Vilo, Now it works with 4.7K pull-up risistors and the arduino sketch provided by Sparkfun (https://www.sparkfun.com/products/10530). It also works with your library "software I2C" in pins P2_3 and P2_4. I've only a problem: The magnetometer sends 6 bytes and this is the code: Wire.requestFrom(address, 6); if(6<=Wire.available()){ x = Wire.receive()<<8; //X msb x |= Wire.receive(); //X lsb z = Wire.receive()<<8; //Z msb z |= Wire.receive(); //Z lsb y = Wire.receive()<<8; //Y msb y |= Wire.receive(); //Y lsb } If I use the I2C so
  24. Hi Rei Vilo, thank you for your reply! I've already read these threads. These are my feedbacks. 1) With external pull-up (10K) resistors it doesn't work. 2) I changed the twi.c file and it doesn't work. It's strange because each of these threads has a different solution. Regards ilpaso
  25. Hi, I'm new with Energia but not with Arduino. I'm not able to communicate with HMC5883L throw I2C. The board is launchpad with msp430g2553 microcontroller. I read some threads about this issue but I didn't find a solution. #include <Wire.h>#define address 0x1E //0011110b, I2C 7bit address of HMC5883void setup(){ Serial.begin(9600); // start serial for output Wire.begin(); // join i2c bus (address optional for master) //Put the HMC5883 IC into the correct operating mode Wire.beginTransmission(address); //open communication with HMC5883 //Write CRA (00)
  • Create New...