Jump to content

jimpx225

Members
  • Content Count

    13
  • Joined

  • Last visited

About jimpx225

  • Rank
    Member

Contact Methods

  • Website URL
    http://www.remotecaresolutions.co.uk

Profile Information

  • Location
    bradford
  1. Thanks for the help , I have added a sleep(1000000); into the loop to put the MSP in to low current mode because if i add any form of LPM3 the tick ISR stops, do you think this is ok.
  2. Are some you could answer one of my next question. how to setup a 2 or 4 hr Alarm. I guess you let me know when you have updated the doc.
  3. moving on on my project i have dropped to power down to 7.6uA now i have a problem with the RTC_B PrintOncePerSec , if I add the LPM3 any ware in the code it stops the interrupt. I have done some test and if i let the RTC count upto 10 then LPM3 the RTC stops after 10sec. I have an Interrupt wake up from the push button which works fine so I am guessing the LPM3 is stopping the RTC. #include <RTC_B.h> int cnt =0; void setup() { WDTCTL=WDTPW+WDTHOLD; P1OUT = 0; P1DIR = 0xFF; P2OUT = 0; P2DIR = 0xFF; P3OUT = 0; P3DIR = 0xFF; P4OUT = 0; P4DIR = 0xFF; PJOUT = 0; PJDIR = 0xFFFF; pinMode(P1_0,OUTPUT); rtc.begin(); rtc.attachPeriodicInterrupt(1, flagTick); // Runs flagTick() once per second } volatile boolean tick = false; void loop() { if (tick) { tick = false; cnt = cnt +1; } else{ _BIS_SR(LPM3_bits | GIE); <<<< this stops the RTC tick } if (cnt ==5){ digitalWrite(P1_0,HIGH); } if (cnt ==7 ){ digitalWrite(P1_0,LOW); cnt=0; <<< I tried LPM3 in here same problem } } void flagTick() { tick = true; }
  4. big step forward.. i have found this code which i have added in and bingo 0.4ua. what is it doing? P1OUT = 0; P1DIR = 0xFF; P2OUT = 0; P2DIR = 0xFF; P3OUT = 0; P3DIR = 0xFF; P4OUT = 0; P4DIR = 0xFF; PJOUT = 0; PJDIR = 0xFFFF;
  5. thanks for the reply do you have any sample code that works so i can check to see if something else is drawing current.
  6. I have two version one home made and a launchpad and both have the same results, The meter is on the VCC line to the MSP. I am thinking there needs to be something extra in the code for a FR5969 as all the usual LPM3 and stopping the watchdog doesn
  7. Hi Robert I am using the MSP430FR5969 and can't seam to get the current down below 270uA is there something extra needed ?
  8. I have been round and round this this problem has anyone achieved this ? If anyone has achieved 0.4uA please could you share the code as i can only get in down to 220uA. I can get the G2553 down to 60uA but not the FR5969. I am using energia but have CCS setup as well.
  9. I have stopped all the floating GPIO but still can't get below 600uA. I have just added a BareMinimum sketch with and still nowere near 0.4uA . I have tryed it on a launchpad MSP430FR5969 and also the same MSP on its own pcb and i am getting the same results . I have tried the RTC_B and the AlarmOnceandhour sketch is taking 2mA? if I run the same sketch on a G2553 it runs at 66uA so i am wondering if its enegia? } void loop() { _BIS_SR(LPM3_bits | GIE); }
  10. I am trying to get the power down to the levels on the data sheet uA . I have stopped the watchdog timer and set LPM3 but still the power level is around 800uA -1mA the MSP430 is on its own PCB. Is there something I am missing or could someone post me a sketch that shut the MSP rigth down to standby current .
  11. I have been working with the fr5969 and have migrated it over to a bare metal msp430fr5969 soldered onto a board. And have some questions. 1. I have loaded a sketch which uploaded ok but the program doesn't seam to start, am I missing something. 2. Low power modes , if I use RTC_B the program the power is aroun 400nA and the program is still running but if I use LPM3 and stop the watchdog timer power is 25uA and if the program starts it can us upto 23mA , can someone shed some light on this and is the RTC_B with Interrupt the rigth way to go for low power application. 3. Do all vcc/vss need connecting to the power supply to get the I/O to work. Thanks for any help.
  12. I have been working with the fr5969 and have migrated it over to a bare metal msp430fr5969 soldered onto a board. And have some questions. 1. I have loaded a sketch which uploaded ok but the program doesn't seam to start, am I missing something. 2. Low power modes , if I use RTC_B the program the power is aroun 400nA and the program is still running but if I use LPM3 and stop the watchdog timer power is 25uA and if the program starts it can us upto 23mA , can someone shed some light on this and is the RTC_B with Interrupt the rigth way to go for low power application. 3. Do all vcc/vss need connecting to the power supply to get the I/O to work. Thanks for any help.
×
×
  • Create New...