Quantcast
Channel: MSP430 Technical Forums
Viewing all articles
Browse latest Browse all 2077

MSP430 capabilities

$
0
0

(Specifically MSP430FR5739)

 

Hii All,

 

Newb question here.

 

I have a project i'm working on which I have currently designed around the Parallax Propeller with which i'm familiar.

For this application it is very overkill and uses a ton of power (~30mA at the freq im running it at), but i'm familiar with it and its very fast/flexible to develop for.

 

This project is battery operated and at a point in its use will be powered by a supercap for some seconds. Obviously if I can reduce consumption in any area I should! The prop is ~60% of the consumption so reducing this to just a few % of total consumption would double the time the supercargo can hold it up. On top of that i can save some board space by removing an external EEPROM, ADC and crystal (?), which I am truly pressed for.

 

Before i get carried away, I am just wondering if an MSP device would be capable of the following, I have never used one but am pretty keen to give it a go IF the MSP will work for my application (using the right tools for the job and all).

If not, I guess ill use it for the next project :)

 

Every 2.5ms (loop freq is 400Hz) I need to do the following:

 

-Read 3 i2c sensors, combined 36 bytes data plus overhead (addr, cmd, ack etc)

-Read 5x ADC inputs

-Perform some fixed point math. Say 10 mult/div and 2 Sin/Cos plus a few dozen addition/subtraction

-Write 256 bytes to SPI Dataflash

-Send 64 bytes over UART (RN-42 bluetooth)

-Perform some basic if/then logic, mostly if statements (about 40 of them).

-Toggle a few outputs

 

My main points of concern are the math and secondly the i2c/SPI routines and the time they will take...

 

Now this might be well within the capabilities of the MSP430, in which case just laugh at me and say 'what a stupid question', but i've always been taught there are no stupid questions ;)

 

I also need to write to SD (FAT16, human readable txt file), but this happens after the main task has been performed so is not time critical and all the other tasks will have stopped.

 

Viewing all articles
Browse latest Browse all 2077

Trending Articles