November 30th, 2012, 04:12 AM
Can anyone help me with this programmer.
Write a program in C for MSP430F149 chip to execute 4 different functions depending on the logic high signal received on 4 pins of Port 2 also making use of P2 interrupt flag registers so that I can run another module of code in parallel, and this block of code should take priority over everything else that's happening in parallel.
December 13th, 2012, 12:04 PM
This chip is a TI system on a chip for embedded system control.
Note that embedded Cs are specific to their platforms, so it is unlikely you will actually get an answer, in the form of code, to this question in a general C forum.
The description of your problemis complex enough that you should be building it in several stages.
Get the input control to work with out the parallel operations.
Separately get the interrupt driven part to work and then work on merging them.
You should have a test system to install it on. You can get it from TI in the launchpad package for under 5 dollars. You get a programming and test module and two CPUs. Software to manage the whole thing is downloadable. So is sample code.
Search for ti 430 Launchpad