Search the Community
Showing results for tags 'MSP-EXP430FR5969'.
Found 3 results
Hi, I’m trying to get my MSP-EXP430FR5969 (or preferably MSP-EXP430F5529) to work with BOOSTXL-SHARP128 at a few uA when it is not selected or being written to, i.e. when it’s idle. My MSP430s consume only a fraction of a uA in lowest power mode, but as soon as I add myScreen.begin() to setup(), it all goes crazy. In my sketch (below), I have set all ports as outputs to ensure there are no floating inputs. This reduces current consumption from several hundred uA to ~160 uA. I then connected my BOOSTXL-SHARP128 to my MSP-EXP430FR5969 via jumper wires to LCD_DISP, LCD_CD, SPI_CLK, SPI_MOSI, and gnd. This is enough to enable me to write to the display (ignore the green LED - I disabled this later). I tied MISO to gnd, since it is an input and isn’t used – this reduces the current consumption further to ~140 uA. I’m guessing P1_7 was re-initialised somewhere in one of the function calls to be an input, even though I initialised it as an output in setup()? Interestingly, my code doesn’t write anything to the display when the module is plugged directly onto the MSP430, and the current consumption also shoots up to a couple of mA! Am I correct in thinking that even after I have initialised the ports as outputs (using PnDIR) and set the outputs to HIGH (using PnOUT), sketch functions can still use those ports as outputs, i.e. the output ports can still be switched between HIGH and LOW by code in loop()? I was expecting to get the current consumption (measured on J9) down to just a few microamps. Is there anything I’m missing? Thanks in advance for your help (and for responses to previous questions!) Kris
curtis63 posted a topic in Energia - MSPI wanted to measure energy usage vi the Code Composer Studio's EnergyTrace feature. Documentation says I needed to get an MSP-EXP430FR5969. So I ordered one from Mouser and then noticed that the documentation on the Energia site said that revision 1.2 of the board wasn't suppported by Energia but that version 2.0 was supported. So, is there any way to update the board from 1.2 to 2.0 apart from just ordering an updated one? Thanks for your help, Curtis
The MCP3008 is an easily used 10bit, 8 channel, Serial Peripheral Interface (SPI) Analog to Digital Converter. I created an Energia library that can be found here and used to read any of the eight pins with a single call. Conversion is done for voltages between 0 and 3.3 V, including on the CC3200, and results in a integer reading between 0 and 1023. This library is for single ended operation only and uses hardware SPI. An example is included that demonstrates reading from all 8 channels. Tested with Energia 0101E0016 on the following LaunchPads * CC3200-LAUNCHXL Rev 4.1 (80 MHz) EMT * CC3200-LAUNCHXL Rev 4.1 (80 MHz) * MSP-EXP432P401R (48 MHz) EMT * MSP430F5529 Rev 1.5 (25 MHz) * MSP-EXP430FR5969 Rev 2.0 (16 MHz) * MSP-EXP430G2553 Rev 1.5 (16 MHz)